![]() |
PropertyGrid Control and CommandBars Bar |
Post Reply ![]() |
Author | |
mrlinx ![]() Newbie ![]() Joined: 28 April 2006 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 11 May 2006 at 7:11am |
hi.
I'm having a problem I believe it's new in version 10 (VB6). The problem is the dialogbar in CommandBars with a propertygrid as child. With a simple dialog bar, and the propertygrid as clield, if I mouse click on the Property grid... the grid goes away, as if wasnt a dialogbar anymore. at form load the propertygrid is in the right place (at dialog bar) but after a click it disapears and shows in the original place (place where I left it in the vb6 form designer) with Visible = true. You can use this simple sample to test. 2006-05-11_070618_sample.rar ![]() Code: Option Explicit Dim DialogBar As DialogBar Private Sub Form_Load() CommandBarsGlobalSettings.App = App CommandBars.DeleteAll Set DialogBar = CommandBars.AddDialogBar("TaskPanel", xtpBarRight) DialogBar.ChildHandle = PropertyGrid1.hWnd End Sub |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Please put PropertyGrid to PictureBox and attach PictureBox to DialogBar. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mrlinx ![]() Newbie ![]() Joined: 28 April 2006 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
oleg, thanks.
|
|
![]() |
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 |