New topic: 

Textbox input screening

<http://forums.realsoftware.com/viewtopic.php?t=44035>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        Bruce Walker          Post subject: Textbox input 
screeningPosted: Wed May 16, 2012 2:12 pm                         
Joined: Wed May 16, 2012 1:40 pm
Posts: 2                I have not programmed in over twenty years so my 
thinking tends to be very old fashioned.  I am using text boxes to get user 
input but I need to weed out unwanted key presses.  In the old days I used a 
get statement and did it on the fly.  I am trying to do the same thing in the 
text box but it keeps moving the curser to the far left.  I want it to stay at 
the end of the entry.  Sorry but the documentation does not help much since I 
don't know where to look.   
                             Top                amitavak          Post subject: 
Re: Textbox input screeningPosted: Wed May 16, 2012 2:34 pm                     
            
Joined: Mon Jan 02, 2012 1:51 am
Posts: 197                In the "KeyDown" event of Textbox you can return true 
for those keys you do not want to show.      
_________________
Amitava
Real Studio 2011 Release 4
Windows 7 (32 bit)  
                             Top                Bruce Walker          Post 
subject: Re: Textbox input screeningPosted: Wed May 16, 2012 3:47 pm            
             
Joined: Wed May 16, 2012 1:40 pm
Posts: 2                Thank.  I assure you I will have more questions.   
                             Top                markwalsh          Post 
subject: Re: Textbox input screeningPosted: Wed May 16, 2012 3:57 pm            
             
Joined: Wed May 20, 2009 4:43 pm
Posts: 795                amitavak wrote:In the "KeyDown" event of Textbox you 
can return true for those keys you do not want to show.
Don't forget to also allow keys such as 'Tab', 'Enter', 'Delete' etc.      
_________________
RB 2009r4 Windows XP  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to