Jump to content

GUICtrlCreateTabitem cannot be disabled?


HighGuy
 Share

Recommended Posts

Hi,

I want to disable a tab item in the GUI with:

$tTab = GUICtrlCreateTabitem("Tab1")

GUICtrlSetState($tTab , $GUI_DISABLE)

Can anyone confirm that this does not work at the moment or am I'm doing something wrong?

BTW: I'm using the newest unstable Version (dated 01-Dec-2004)

Link to comment
Share on other sites

I have tried it previously, and failed. Maybe a note in the help file if it not able to GuiCtrlSetState with tabs?

If statements can can used at program startup, to test a condition, as to whether a particular GUICtrlCreateTabitem may show. I use this method. Have found no solution for hiding or showing TabItems during runtime.

Link to comment
Share on other sites

You can disable items on the tab, but the tab itself.... uhhh... never seen it... don't know if it is supported...

Lar.

<{POST_SNAPBACK}>

disable of a tabitem is not implemented. We should return 0 in this case.

In fact GuiCtrlSetState is setting the state when it can but does not return 0 in other case. I will try to improve this return errors :idiot:

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...