TabControl and grouped OptionButtons |
Post Reply |
Author | |
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
Posted: 10 January 2007 at 8:31am |
I like to put several OptionButton groups on a TabControl/TabControlPage. If I don't group my OptionButtons, then it looks fine, but it doesn't work correct. Other example from Windows 2k how I like to use TabControl with grouped OptionButtons:
-VB6 SP6 on Win2k SP4
-TabControl 10.4 with TabControlPages -WinXP.Luna.cjstyles file from CodeJock samples What am I doing wrong? How does this work? |
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
Hello,
I think that is better to group options buttons in a picture box instead of a non visible frame (because a frame has not a hwnd property).
For me it solve the problem.
Hope it will help.
|
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
Remark: The frames of my samples are not invisible, I just set the BorderStyle property to 0=none. Even if I use a PictureBox, it doesn't look good. Look at the new screenshot. SourceCode: SkinFramework1.ApplyWindow Me.hWnd Visible Frames are very important to group the controls on a TabControlPage. Look at the Windows 2000 folder options screenshot above. In the sample SkinMDISample on frmProperties I looks like it works. But there's a cheat: The OptionButtons are drawn on the TabControlPage itself and not on the frame. With this method you can not have multiple independent OptionButton groups on one TabControlPage. Is there a solution? |
|
tknijff
Newbie Joined: 11 February 2005 Location: Netherlands Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
I don't want to install and deploy more controls as needed. And a question is, if SkinFramework can adapt a new styles (e.g. WinVista) on the Innovasys FramePlus control. I would prefer a solution with CodeJock controls.
Is this not possible with the CodeJock TabControl and SkinFramework?
If it's not possible now, will this it be possible in further releases?
|
|
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 |