Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Nov 14, 2019 7:33 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: AcceleratorKey event of the Label
PostPosted: Thu Mar 15, 2012 9:27 am 
Offline

Joined: Mon Jan 16, 2012 8:08 am
Posts: 161
Location: India
Hi All,
I got about all the events of the label control except AccelatorKey() events.I took the help of the Language reference .So anybody tell me how i will use that one means when the event will be call .Please tell me the Solution.


Thanks
Bimal


Top
 Profile  
Reply with quote  
 Post subject: Re: AcceleratorKey event of the Label
PostPosted: Thu Mar 15, 2012 10:13 am 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
I'm not sure what you mean ?
On some platforms you can assign an accelerator key to a label & when that accelerator key is pressed this event is raised
If you dont care about that then don't use the event
http://docs.realsoftware.com/index.php/ ... leratorKey

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
 Post subject: Re: AcceleratorKey event of the Label
PostPosted: Thu Mar 15, 2012 12:48 pm 
Offline
User avatar

Joined: Mon Jan 02, 2012 1:51 am
Posts: 382
Location: India
Bimal wrote:
I got about all the events of the label control except AccelatorKey() events.I took the help of the Language reference .So anybody tell me how i will use that one means when the event will be call .Please tell me the Solution.


Add "&" in label text. Then letter after "&" become AccelatorKey for the label. If you access the label using AccelatorKey(Alt + letter after "&"). then that evevt will fire.

hope this help!! :)

_________________
Amitava Karan
Real Studio 2012 Release 1
Windows 7 (32 bit)
Mac OS X Version 10.7


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group