Set Visible False to popup |
Post Reply |
Author | |
osimbr
Newbie Joined: 20 January 2010 Location: Brazil Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 20 January 2010 at 6:50am |
Hi,
My name is Renan Elias, and I'm a software developer from Paiva Piovesan, Brazil. We are developing a new function in our system that will disable some commandbars controls. In the commandbar, there are some popup menus and, if we set visible false to all control children of parents, when we click in the popup, show an ugly box without anything. I'm sending a picture attached to this message to show the problema. How can I set visible false in the popup if there are no visible childs? OBS: I'm using VB6 and event "commandbar_update" to set visible true or false. tks. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
if there are no child items, then why not hide the entire menu? If not, the you would need to change the control type until items are added.
|
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Definitely.
I would say use the commandbar_actions feature. And Mario is right, if you have no child items just use a control other than the popup menu style. |
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
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 |