New topic: 

What relationship is Tab Stops and Accept Tabs Properties

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

         Page 1 of 1
   [ 7 posts ]                 Previous topic | Next topic          Author  
Message        tseyfarth          Post subject: What relationship is Tab Stops 
and Accept Tabs PropertiesPosted: Fri Dec 14, 2012 1:22 am                      
   
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 795                Hello all, 
What relationship do Tab Stops and Accept Tabs Properties have with Key Down/Up 
events?

I was trying to find out why my arrow keys stopped working tonite.  I realized 
that I had de-selected these properties.  In a last ditch effort, I enabled 
them and found that having these not enabled, caused the failure of key down 
events to be ignored.  

Can anyone explain the relationship between keydown/up and tabs?
2012R1.2
Win7

Thank you, 
Tim   
                             Top                Paul Lefebvre          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 8:50 am                       Site Admin                
Joined: Fri Sep 30, 2005 9:35 am
Posts: 868
Location: South Portland, Maine                AcceptTabs is a property of 
TextField, TextArea, Canvas and ContainerControl. When True, if the user types 
a tab then the tab will get sent to the control (and KeyDown event handler) 
instead of moving focus to the next control on the window.

TabStop, when True, indicates whether the control will get focus when the user 
press tab to move between the controls on the window. When False, the control 
is skipped.      
_________________
Paul Lefebvre
Developer Evangelist
Real Software, Inc.

The Real Studio Developer Conference is back: April 23rd-26th, 2013 in Orlando, 
FL.  
                             Top                tseyfarth          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 12:25 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 795                Hello Paul.
So the name "Accept Tabs" is a bit of a misnomer since it is necessary to all 
keyboard activity.

Tim   
                             Top                Paul Lefebvre          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 12:30 pm                       Site Admin                
Joined: Fri Sep 30, 2005 9:35 am
Posts: 868
Location: South Portland, Maine                tseyfarth wrote:So the name 
"Accept Tabs" is a bit of a misnomer since it is necessary to all keyboard 
activity.
I don't follow. What do you mean?      
_________________
Paul Lefebvre
Developer Evangelist
Real Software, Inc.

The Real Studio Developer Conference is back: April 23rd-26th, 2013 in Orlando, 
FL.  
                             Top                tseyfarth          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 12:49 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 795                My problem initially was that the keys (up, down, 
left, right, and all alpha keys) would not work with Accept Tabs being off.

Quote:AcceptTabs is a property of TextField, TextArea, Canvas and 
ContainerControl. When True, if the user types a tab then the tab will get sent 
to the control (and KeyDown event handler) 

I did not expect that "AcceptTabs" would have an effect on keys other than Tab.
Tim   
                             Top                Paul Lefebvre          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 1:33 pm                       Site Admin                
Joined: Fri Sep 30, 2005 9:35 am
Posts: 868
Location: South Portland, Maine                tseyfarth wrote:My problem 
initially was that the keys (up, down, left, right, and all alpha keys) would 
not work with Accept Tabs being off.

Quote:AcceptTabs is a property of TextField, TextArea, Canvas and 
ContainerControl. When True, if the user types a tab then the tab will get sent 
to the control (and KeyDown event handler) 

I did not expect that "AcceptTabs" would have an effect on keys other than Tab.
It doesn't. AcceptTabs is False by default for controls like TextField and 
TextArea and you can certainly type in them and use the arrow keys.

Do you have a sample project you can share that demonstrates the problem you 
are seeing?      
_________________
Paul Lefebvre
Developer Evangelist
Real Software, Inc.

The Real Studio Developer Conference is back: April 23rd-26th, 2013 in Orlando, 
FL.  
                             Top                tseyfarth          Post 
subject: Re: What relationship is Tab Stops and Accept Tabs PropertiePosted: 
Fri Dec 14, 2012 1:43 pm                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 795                Hi Paul,

No I do not have a sample project.  The one I am working with, is too large to 
do the trick for you.  If I get time I will try to create one.

FYI, 2012 R1.2
Win 7 Home Premium

Tim   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 7 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