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
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