|
-
October 17th, 2001, 09:38 AM
#1
How can I make this message box work...
Hi,
In my game, I have 2 text boxes called "Pound" and "Pence". When the game finishes and the user clicks a button called "Collect", I want a message box to come up and display the amount of money in the text boxes. How can you do this?
Any Info, Thanks
Mark
-
October 17th, 2001, 09:53 AM
#2
Re: How can I make this message box work...
If you want textboxes, you may do a form to show in modal state
ie:
form2.Show, vbModal
else, you can display the amount in formatted text:
msgbox "Total amountA =" & chr(9) & varTotalA & vbcrlf & _
"Total amountB =" & chr(9) & varTotalB
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
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
|