![]() |
a little problem about TabControl |
Post Reply
|
| Author | |
leojay
Groupie
Joined: 07 March 2005 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Topic: a little problem about TabControlPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2005 at 3:00am |
|
I can reproduce as well weird... |
|
![]() |
|
leojay
Groupie
Joined: 07 March 2005 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2005 at 3:29am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2005 at 1:33am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2005 at 3:34am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2005 at 9:20pm |
|
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 |