AntiVirusGuy Posted November 14, 2005 Posted November 14, 2005 I am writing a student registartion program My program checks for the presance of our required software and if the software is found the coresponding button is disables so only the steps they need are enabled. At the very end when there are no more steps I want to enable a finish button. The first registartion we had all buttons enabled and they disapeared in order. This time around most students should be compliant so each student may have a little different requirements. Any ideas how to do this so nobody can skip to the end (they will) I am greatful to all who help on this forum $1button = GUICtrlCreateButton ("1. Set network ID",50,100,200,40,$BS_LEFT) $2button = GUICtrlCreateButton ("2. Remove old antivirus",50,150,200,40,$BS_LEFT) $3button = GUICtrlCreateButton ("3. Install NOD32 Antivirus",50,200,200,40,$BS_LEFT) $4button = GUICtrlCreateButton ("4. Install and run CCleaner",50,250,200,40,$BS_LEFT) $5button = GUICtrlCreateButton ("5. Full virus scan",50,300,200,40,$BS_LEFT) $6button = GUICtrlCreateButton ("6. Install Spy Sweeper",50,350,200,40,$BS_LEFT) $7button = GUICtrlCreateButton ("7. Reboot your computer",50,400,200,40,$BS_LEFT) GUICtrlSetState($2button,$GUI_DISABLE) GUICtrlSetState($3button,$GUI_DISABLE) GUICtrlSetState($4button,$GUI_DISABLE) GUICtrlSetState($5button,$GUI_DISABLE) GUICtrlSetState($6button,$GUI_DISABLE) GUICtrlSetState($7button,$GUI_DISABLE)
Valuater Posted November 15, 2005 Posted November 15, 2005 please dont repeat the same question.... just "bump" the old one if needed 8)
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