Sign in to follow this  
Followers 0
HighGuy

GUICtrlCreateTabitem cannot be disabled?

3 posts in this topic

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)

Share this post


Link to post
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.

Share this post


Link to post
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:

Share this post


Link to post
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
Sign in to follow this  
Followers 0