![]() |
a little problem about TabControl |
Post Reply ![]() |
Author | |
leojay ![]() Groupie ![]() Joined: 07 March 2005 Status: Offline Points: 27 |
![]() ![]() ![]() ![]() ![]() Posted: 21 April 2005 at 2:30am |
I showed a property form, which has a TabContrl, in Main form. why? attached file is a project that demonstrated the problem: |
|
![]() |
|
gshawn ![]() Senior Member ![]() Joined: 04 October 2004 Status: Offline Points: 227 |
![]() ![]() ![]() ![]() ![]() |
I can reproduce as well weird... |
|
![]() |
|
leojay ![]() Groupie ![]() Joined: 07 March 2005 Status: Offline Points: 27 |
![]() ![]() ![]() ![]() ![]() |
if i delete all InsertItem statements of the TabControl. shouldn't i add page into the TabControl? |
|
![]() |
|
leojay ![]() Groupie ![]() Joined: 07 March 2005 Status: Offline Points: 27 |
![]() ![]() ![]() ![]() ![]() |
I found a temporary solution for this problem. calling a frmMain.Show to take the Main Form to foreground after unload the frmProperty can avoid this problem for the moment. but it's not a good idea, the Main Form flicked obviously. Does anybody has a better idea? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Actually, for TabControl we recommend to use Controls from same form as children. As advantage it enables Tab Order of form. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
leojay ![]() Groupie ![]() Joined: 07 March 2005 Status: Offline Points: 27 |
![]() ![]() ![]() ![]() ![]() |
thanks, but your sample project in samples\Common\TabManager used different forms as child forms. a misleading sample... |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |