AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with DDL not showing up(Solved)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Mkbailey755



Joined: 20 Aug 2007
Posts: 178

PostPosted: Tue Jul 15, 2008 3:07 am    Post subject: Help with DDL not showing up(Solved) Reply with quote

I have a simple DDL that ask for the application after selecting the application one of six different DDL appear Problems 1-6 after selecting the problem the solution to the problem appears the first part works I select the Application and it shows me errors 1-6 but when I try to select errors 1-6 it wont stay highlighted DDL goes blank any help will be appreciated.
Code:
#NoEnv
Gui, Add, DateTime, x206 y7 w100 h30,
Gui, Add, DropDownList, x16 y40 w110 h400 Choose1 gDDL_Application vLabel, Application||WinXP|Vista|Mac Os|I.E|Firefox|Other
Gui, Add, DropDownList, x16 y70 w110 h400 gDDL_Problem vProblem Choose1, Problem,
Gui, Add, DropDownList, x16 y100 w110 h400 gDDL_Solution vSoltion Choose1, Solution
Gui, Add, DropDownList, x16 y150 w110 h200 , Memory Size||128|256|512|768|1024|1280|1536|2048|Other
Gui, Add, DropDownList, x16 y180 w110 h200 , CPU Size||1.0|1.2|1.4|1.8|2.0|2.4|2.6|2.8|3.0|Other
Gui, Add, Radio, x156 y180 w110 h30 vDualCore, Dual Core
Gui, Add, Edit, x16 y210 w300 h160 , ,
Gui, Add, Button, x16 y400 w300 h30 ,Create Notes
Gui, Show, x144 y306 h450 w343, Notes System
Return

DDL_Application:
Gui, Submit, NoHide
If IsLabel(Label)
   GoSub, %Label%
Return

Vista:
GuiControl, , Problem, |Problem||Problem1|Problem2|Problem3|Problem4|Problem6|Vista
Return

WinXP:
GuiControl, , Problem, |Problem||Problem1|Problem2|Problem3|Problem4|Problem6|XP
Return

MacOs:
GuiControl, , Problem, |Problem||Problem1|Problem2|Problem3|Problem4|Problem6|Mac Os
Return

I.E:
GuiControl, , Problem, |Problem||Problem1|Problem2|Problem3|Problem4|Problem6|I.E
Return

Firefox:
GuiControl, , Problem, |Problem||Problem1|Problem2|Problem3|Problem4|Problem6|Firefox
Return

Other:
GuiControl, ,Other,|Other||Other
Return

DDL_Problem:
Gui, Submit, NoHide
If IsLabel(Label)
   GoSub, %Problem%
Return


Problem1:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

Problem2:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

Problem3:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

Problem4:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

Problem5:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

Problem6:
GuiControl, , Solution, |Solution||Solution1|Solution2|Solution3|Solution4|Solution5|Solution6|
return

DDL_Solution:
Gui, Submit, NoHide
If IsLabel(Label)


Return
GuiClose:
ExitApp
 

Code corrected now how to go about putting the info in the notes section
Like
"Windows XP
Problem 1
solution 1
Cpu Memory Size Dual Core Yes/NO"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group