wonder Posted February 28, 2006 Share Posted February 28, 2006 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. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 28, 2006 Share Posted February 28, 2006 (edited) Far as I know, there is no way to disable tabsIs this your script?If so there may be other work arounds.For example: http://www.autoitscript.com/forum/index.ph...ndpost&p=152691 Edited February 28, 2006 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. Link to comment Share on other sites More sharing options...
MadBoy Posted February 28, 2006 Share Posted February 28, 2006 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) Link to comment Share on other sites More sharing options...
MadBoy Posted February 28, 2006 Share Posted February 28, 2006 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) Link to comment Share on other sites More sharing options...
wonder Posted March 1, 2006 Author Share Posted March 1, 2006 I didn't use the window of the program, i've created a gui. Thanks anyway. Link to comment Share on other sites More sharing options...
GaryFrost Posted March 1, 2006 Share Posted March 1, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now