problems treeview with shortcut bar |
Post Reply |
Author | |
Ruben
Newbie Joined: 23 March 2009 Location: Spain Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 23 March 2009 at 10:46am |
Hello, i'm programming an acucobol application adding a shortcut bar and into client area of the shortcut bar including a treeview. My problem is everything via code and if i try to display the object treeview into shortcutbar client area, the control doesn't appear, or if this appear the other one dissapear. I've tried to associate the treeview to the shortcut bar thru 'hWnd' property of ShortucBar control, but an error occurs: 'Only read property' when in online help indicates that property is of read/write access.
So.. how can i include a treeview control into a shortcut bar client area using just code?
Lot of thanks and gracias! :-)
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: AcuCubol GT 8.1 |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
I get this problem.... although when I add the shortcut bar and associate the hWnd at the time of adding, it's ok. If I try to re-assign the hWnd, nothing shows.
Is this a bug? |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi,
When you say that the treeview disappears, is it visible until clicked? I find attaching PictureBox controls using the hWnd property with the treeview control inside the PictureBox works best each time for adding controls to many of the Codejock controls i.e. DockingPane, ShortcutBar, TaskPanel etc. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Hopefully that could be why he's trying to do it design-time via the hWnd.
I think this is a bug even though CJ haven't replied as I can't see why the hWnd assignment doesn't work on a pane apart from when you create it... |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
juma
Groupie Joined: 06 March 2011 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
try putting that treeview in a panel, a different form, or a picture control and link with hwnd property.
|
|
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 |