|
-
October 22nd, 2001, 09:07 AM
#1
Command buttons
I just started to learn vb and I writting a small programme, my question is if I creat a cmd button to display info in a txt box when pressed with a dollar amount ie: cmd button caption is "fish and chips" with a dollar amount is $5.50 how can I make that appear int he txt box...... thanks Linetoe
-
October 22nd, 2001, 09:11 AM
#2
Re: Command buttons
private Sub cmdFishAndChips_Click()
txtTotal.text = "$5.50"
End Sub
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|