New topic: 

End Button (editfield.selend?)

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

       Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic         Author  
Message       crazymacsoftware.com           Post subject: End Button 
(editfield.selend?)Posted: Thu Aug 20, 2009 5:01 pm                             
  
Joined: Sat Jun 20, 2009 7:08 pm
Posts: 24              Hello,

I got the Home button in my program working
I used... 
Code:VocalAssist.spktxt.selstart = 0

Now I want to create a End button I have asked this before; but was unable to 
find the answer in the forums

I assume I should use something like this...

Code:VocalAssist.spktxt.selend=#

But to get it to select all what # goes in there? 9999?
or do I need to do something else to get it to move the cursor to the end
also another thing I don't want the text selected I just want to move the 
cursor to the end.

Brian     
_________________
----
Brian Heibert
CrazyMac Software
http://www.crazymacsoftware.com
[email protected]  
                            Top                pony           Post subject: Re: 
End Button (editfield.selend?)Posted: Thu Aug 20, 2009 5:07 pm                  
             
Joined: Sat Nov 11, 2006 2:43 pm
Posts: 167
Location: DFW area, Texas, USA              How about using
Code:VocalAssist.spktxt.selstart = Len (VocalAssist.spktxt.text)   
                            Top               crazymacsoftware.com           
Post subject: Re: End Button (editfield.selend?)Posted: Thu Aug 20, 2009 5:18 
pm                               
Joined: Sat Jun 20, 2009 7:08 pm
Posts: 24              Thankyou that worked.     
_________________
----
Brian Heibert
CrazyMac Software
http://www.crazymacsoftware.com
[email protected]  
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 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