Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » how to move the focus from one tab page to another one
how to move the focus from one tab page to another one [message #2985] Tue, 02 May 2006 19:15 Go to previous message
forlano is currently offline  forlano
Messages: 1195
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I've 4 beautyfull tab pages (tab1,..., tab4). In corrispondence of an action performed in tab1, I desire that tab2 be displayed... and maybe the focus should be on button btnAuto of tab2... but this last task is not necessary.
How to do it? To show tab2 I tried:
ActiveFocus(tab2);  
...
ActiveFocus(tab2.btnAuto); 
...
tab2.btnAuto.SetFocus(); 
...
tab2.btnAuto.GetFocusCtrl(); 

none of them work. Any idea?

Luigi

PS: if nobody will answer to my old post regarding how to get the current directory of the application, I'll use a dirty... very dirty way to get it. Smile
 
Read Message
Read Message
Read Message
Next Topic: Problems with the visualization of tabctrl in 608-dev1
Goto Forum:
  


Current Time: Thu Jul 25 15:41:42 CEST 2024

Total time taken to generate the page: 0.01878 seconds