linetoe
October 22nd, 2001, 09:07 AM
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
Clearcode
October 22nd, 2001, 09:11 AM
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.