home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,160 of 10,840   
   Hal Rosser to Amanda   
   Re: text box calculation   
   22 Jan 05 01:17:12   
   
   From: hmrosser@bellsouth.net   
      
   check out the keypress event   
   you'll see "keyascii" is given as an arg   
   keyascii is a number representing the ascii code of the key pressed.   
   that should get you started   
      
   "Amanda"  wrote in message   
   news:41f131ce_2@mk-nntp-2.news.uk.tiscali.com...   
   > Help,   
   >   
   >  I am new to visual basic programming and I was wondering how to allow a   
   > textbox   
   > to do a calculation by pressing enter   
   >   
   > ie I want to type the following into a textbox  25.2 * 2  press enter on   
   the   
   > keyboard   
   > and the textbox to display 50.4   Any Ideas ???????   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca