Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Set Visible False to popup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Set Visible False to popup

 Post Reply Post Reply
Author
Message
osimbr View Drop Down
Newbie
Newbie


Joined: 20 January 2010
Location: Brazil
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote osimbr Quote  Post ReplyReply Direct Link To This Post Topic: Set Visible False to popup
    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.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2010 at 12:38pm
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.
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2010 at 5:30pm
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.184 seconds.