Jump to content

Hiding Comboboxes?


Burgs
 Share

Recommended Posts

Hello,

Can somebody explain how it is possible to 'hide' a Combox Control using the "GUICtrlSetState" command? I have tried to do so with Comboboxes created using both "_GUICtrlComboBoxEX_Create" and "_GUICtrlComboBox_Create" without success...why do these seem to act differently from other controls? Thanks in advance...

example:

Global $MainGUI = GUICreate("Example", 425, 540)
GUISetState(@SW_SHOW)
$_textsize1 = _GUICtrlComboBoxEX_Create($MainGUI, "", 75, 300, 40, 300)
_GUICtrlComboBoxEx_AddString($_textsize1, "6")
_GUICtrlComboBoxEx_AddString($_textsize1, "7")
_GUICtrlComboBoxEx_AddString($_textsize1, "7.5")
GUICtrlSetState($_textsize1, $GUI_HIDE)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...