Sign in to follow this  
Followers 0
wonder

SystabControl321

6 posts in this topic

Hi All,

I am trying to let users use a window with multiple tabs, where users can fill in there loginid an pass.

Is there a way to disable certain tabs??

Thanks for any help.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Far as I know, there is no way to disable tabs

Is this your script?

If so there may be other work arounds.

For example: http://www.autoitscript.com/forum/index.ph...ndpost&p=152691

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Dunno if that's what you mean?

$tab=GUICtrlCreateTab (10,5, 585,450)
$tab0=GUICtrlCreateTabitem ( "Programs")
$tab1=GUICtrlCreateTabitem ( "Logins")
$tab2=GUICtrlCreateTabitem ( "Crap")
$tab3=GUICtrlCreateTabitem ( "Other")
GUICtrlSetState($tab2,$GUI_DISABLE)

3rd tab should be disabled, as in you're not able to click on it and see what's underneath. Then for example if user on tab1 enters correct login / pass u can use $GUI_SHOW to enable tab2 again.

Cheers,


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites

Hrmms, just read the topic again. If you want to do anything to your SystabControl321 you can use program called "resource hacker" and edit sysdm.cpl. You can basically change anything there but dunno anything about Windows License and keep in mind that file will be replaced if changed by WPF. There are few ways around it.

Hope that helps you,


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites

I didn't use the window of the program, i've created a gui.

Thanks anyway.

Share this post


Link to post
Share on other sites

Dunno if that's what you mean?

$tab=GUICtrlCreateTab (10,5, 585,450)
$tab0=GUICtrlCreateTabitem ( "Programs")
$tab1=GUICtrlCreateTabitem ( "Logins")
$tab2=GUICtrlCreateTabitem ( "Crap")
$tab3=GUICtrlCreateTabitem ( "Other")
GUICtrlSetState($tab2,$GUI_DISABLE)

3rd tab should be disabled, as in you're not able to click on it and see what's underneath. Then for example if user on tab1 enters correct login / pass u can use $GUI_SHOW to enable tab2 again.

Cheers,

Have you actually tried this, doesn't work for me, and haven't found anyone else it works for either.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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