Cooler Posted April 15, 2019 Share Posted April 15, 2019 Hi, I'm here trying to select a process in drop down. The selected option should redirects to an excel sheet. There it'll take input of picture names. With these pictures names, it should copy the respective pictures from separate folder and finally it should paste on the desired window. I'm able to do upto the drop down. The button command is not working. When I click button, It should close drop down popup and starts pasting pictures on the composer. Kindly give me your suggestion. This is my code. expandcollapse popup#include <GUIConstantsEx.au3> #include <Misc.au3> #include <Excel.au3> #include <GDIPlus.au3> #include <WinAPI.au3> WinActivate("X Composer") ; activating software composer(name sake) HotKeySet("{ESC}",bye) ; hot key to force stop script Func bye() Exit EndFunc $pictoPath = "C:\Desktop\Pictures Library" $hndl = WinGetHandle("X Composer") $className = _WinAPI_GetClassName($hndl) $endian = StringRight($className,16) WinActivate("X Composer") ;Get the Top Position of the WorksSheet $cPos = ControlGetPos("X Composer","","Afx:0000000140000000:2b:0000000000010005:" & $endian & "1") $w = $cPos[2] $h = $w*0.615 ConsoleWrite("Width:" & $w & @CRLF) ConsoleWrite("Height:" & $h & @CRLF) $xPos = $cPos[0] $yPos = $cPos[1] + ($cPos[3]-$h)/2 Local $hGUI = GuiCreate("Pictogram Sequencing", 500, 200) $cmb1 = GUICtrlCreateCombo("Select a Process", 10, 10, 200, 60) GUICtrlSetData($cmb1, "DRILLING|INSTALLATION|DEBURRING|GROUNDING|REVETING|WELDING", "Select a day") $cmb2 = GUICtrlCreateCombo("Select a Sub Process", 250, 10, 200, 60) GUISetState(@SW_SHOW) $Button1 = GUICtrlCreateButton("Select", 60, 100, 65, 17) ;Local $idButton = GUICtrlCreateButton( "Select", 10, 200, 195, 20 ) ;Local $idLabel = GUICtrlCreateLabel( "", 215, 200, 195, 20, $SS_ETCHEDFRAME ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $cmb1 Switch GUICtrlRead($cmb1) Case "DRILLING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL 1|DRILL 2|DRILL 3", "Select a Sub Process") Case "INSTALLATION" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PART INSTALLATION|CARPET INSTALLATION|CABINET INSTALLATION|DIVAN INSTALLATION", "Select a Sub Process") Case "DEBURRING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL DEBUR|PART DEBUR|WELD DEBUR", "Select a Sub Process") Case "GROUNDING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|GROUNDING INSPECTION|PART GROUNDING", "Select a Sub Process") Case "REVETING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PARTS REVETING|SURFACE REVETING|STRUCTURE REVETING", "Select a Sub Process") Case "WELDING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|MIG WELDING|TIG WELDING|ARC WELDING", "Select a Sub Process") Case $Button1 ExpandGUI() EndSwitch EndSwitch WEnd Func ExpandGUI() ;Get the Process List from Excel $oBook = _Excel_BookAttach("C:\Desktop\Input.xlsx") $Count = $oBook.Sheets($cmb1).UsedRange.Rows.Count $process = _Excel_RangeRead($oBook,Default,"A2:A" & $count) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) ;MsgBox($MB_SYSTEMMODAL, " ", $imgH) ;ConsoleWrite($i&$imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 $currXPos = ($xPos+80/(968/$w)) MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") _GDIPlus_Startup() $currYPos = $yPos-20/(1103/$h) MouseMove($xPos+80/(968/$w),$currYPos) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $currYPos = $currYPos + $h*0.157 MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") For $i = 1 to 5 ;Ubound($Data)-1 WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[$i] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[$i-2] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $diff = ($imgH-476)*0.4/(1103/$h) + 10/(1103/$h) ConsoleWrite($imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 + $diff MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") Next ;If check for 4 to decide on the X POS For $i = 4 to Ubound($Data)-1 Next _GDIPlus_Shutdown() EndFunc Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 15, 2019 Moderators Share Posted April 15, 2019 (edited) Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team Edited April 15, 2019 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Cooler Posted April 16, 2019 Author Share Posted April 16, 2019 yep, ok👍 Link to comment Share on other sites More sharing options...
Cooler Posted April 16, 2019 Author Share Posted April 16, 2019 Hi, I'm here trying to select a process in drop down. The selected option should redirects to an excel sheet. There it'll take input of picture names. With these pictures names, it should copy the respective pictures from separate folder and finally it should paste on the desired window. I'm able to do up to the drop down. The button command is not working. When I click button, It should close drop down popup and starts pasting pictures on the composer. Kindly give me your suggestion. This is my code. expandcollapse popup#include <GUIConstantsEx.au3> #include <Misc.au3> #include <Excel.au3> #include <GDIPlus.au3> #include <WinAPI.au3> WinActivate("X Composer") ; activating software composer(name sake) HotKeySet("{ESC}",bye) ; hot key to force stop script Func bye() Exit EndFunc $pictoPath = "C:\Desktop\Pictures Library" $hndl = WinGetHandle("X Composer") $className = _WinAPI_GetClassName($hndl) $endian = StringRight($className,16) WinActivate("X Composer") ;Get the Top Position of the WorksSheet $cPos = ControlGetPos("X Composer","","Afx:0000000140000000:2b:0000000000010005:" & $endian & "1") $w = $cPos[2] $h = $w*0.615 ConsoleWrite("Width:" & $w & @CRLF) ConsoleWrite("Height:" & $h & @CRLF) $xPos = $cPos[0] $yPos = $cPos[1] + ($cPos[3]-$h)/2 Local $hGUI = GuiCreate("Pictogram Sequencing", 500, 200) $cmb1 = GUICtrlCreateCombo("Select a Process", 10, 10, 200, 60) GUICtrlSetData($cmb1, "DRILLING|INSTALLATION|DEBURRING|GROUNDING|REVETING|WELDING", "Select a day") $cmb2 = GUICtrlCreateCombo("Select a Sub Process", 250, 10, 200, 60) GUISetState(@SW_SHOW) $Button1 = GUICtrlCreateButton("Select", 60, 100, 65, 17) ;Local $idButton = GUICtrlCreateButton( "Select", 10, 200, 195, 20 ) ;Local $idLabel = GUICtrlCreateLabel( "", 215, 200, 195, 20, $SS_ETCHEDFRAME ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $cmb1 Switch GUICtrlRead($cmb1) Case "DRILLING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL 1|DRILL 2|DRILL 3", "Select a Sub Process") Case "INSTALLATION" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PART INSTALLATION|CARPET INSTALLATION|CABINET INSTALLATION|DIVAN INSTALLATION", "Select a Sub Process") Case "DEBURRING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL DEBUR|PART DEBUR|WELD DEBUR", "Select a Sub Process") Case "GROUNDING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|GROUNDING INSPECTION|PART GROUNDING", "Select a Sub Process") Case "REVETING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PARTS REVETING|SURFACE REVETING|STRUCTURE REVETING", "Select a Sub Process") Case "WELDING" GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|MIG WELDING|TIG WELDING|ARC WELDING", "Select a Sub Process") Case $Button1 ExpandGUI() EndSwitch EndSwitch WEnd Func ExpandGUI() ;Get the Process List from Excel $oBook = _Excel_BookAttach("C:\Desktop\Input.xlsx") $Count = $oBook.Sheets($cmb1).UsedRange.Rows.Count $process = _Excel_RangeRead($oBook,Default,"A2:A" & $count) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) ;MsgBox($MB_SYSTEMMODAL, " ", $imgH) ;ConsoleWrite($i&$imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 $currXPos = ($xPos+80/(968/$w)) MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") _GDIPlus_Startup() $currYPos = $yPos-20/(1103/$h) MouseMove($xPos+80/(968/$w),$currYPos) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $currYPos = $currYPos + $h*0.157 MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") For $i = 1 to 5 ;Ubound($Data)-1 WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[$i] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[$i-2] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $diff = ($imgH-476)*0.4/(1103/$h) + 10/(1103/$h) ConsoleWrite($imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 + $diff MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") Next ;If check for 4 to decide on the X POS For $i = 4 to Ubound($Data)-1 Next _GDIPlus_Shutdown() EndFunc Link to comment Share on other sites More sharing options...
Cooler Posted April 16, 2019 Author Share Posted April 16, 2019 How to go to the desired worksheet in excel. I tried with [_Excel_BookList]. But while selecting button1 (Select) from the dropdown window, it should go to the desired worksheet(Eg., DRILLING, WELDING, GROUNDING etc.,) in excel as shown in figure below. I'm not getting. Give me suggestion friends...! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 16, 2019 Moderators Share Posted April 16, 2019 Please stick to one thread per topic, and please wait 24 hours before bumping your threads. Spam posting is not going to get your question answered any more quickly. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
abberration Posted April 16, 2019 Share Posted April 16, 2019 I think I see what you want to do. I don't know if this code will work perfectly because I don't have your pictures or excel file, but I fixed your switch cases and now it calls the function. expandcollapse popup#include <GUIConstantsEx.au3> #include <Misc.au3> #include <Excel.au3> #include <GDIPlus.au3> #include <WinAPI.au3> WinActivate("X Composer") ; activating software composer(name sake) HotKeySet("{ESC}",bye) ; hot key to force stop script Func bye() Exit EndFunc $pictoPath = "C:\Desktop\Pictures Library" $hndl = WinGetHandle("X Composer") $className = _WinAPI_GetClassName($hndl) $endian = StringRight($className,16) WinActivate("X Composer") ;Get the Top Position of the WorksSheet $cPos = ControlGetPos("X Composer","","Afx:0000000140000000:2b:0000000000010005:" & $endian & "1") $w = $cPos[2] $h = $w*0.615 ConsoleWrite("Width:" & $w & @CRLF) ConsoleWrite("Height:" & $h & @CRLF) $xPos = $cPos[0] $yPos = $cPos[1] + ($cPos[3]-$h)/2 Local $hGUI = GuiCreate("Pictogram Sequencing", 500, 200) $cmb1 = GUICtrlCreateCombo("Select a Process", 10, 10, 200, 60) GUICtrlSetData($cmb1, "DRILLING|INSTALLATION|DEBURRING|GROUNDING|REVETING|WELDING", "Select a day") $cmb2 = GUICtrlCreateCombo("Select a Sub Process", 250, 10, 200, 60) GUISetState(@SW_SHOW) $Button1 = GUICtrlCreateButton("Select", 60, 100, 65, 17) ;Local $idButton = GUICtrlCreateButton( "Select", 10, 200, 195, 20 ) ;Local $idLabel = GUICtrlCreateLabel( "", 215, 200, 195, 20, $SS_ETCHEDFRAME ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $cmb1 $cRead = GUICtrlRead($cmb1) If $cRead = "DRILLING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL 1|DRILL 2|DRILL 3", "Select a Sub Process") Elseif $cRead = "INSTALLATION" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PART INSTALLATION|CARPET INSTALLATION|CABINET INSTALLATION|DIVAN INSTALLATION", "Select a Sub Process") ElseIf $cRead = "DEBURRING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL DEBUR|PART DEBUR|WELD DEBUR", "Select a Sub Process") ElseIf $cRead = "GROUNDING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|GROUNDING INSPECTION|PART GROUNDING", "Select a Sub Process") ElseIf $cRead = "REVETING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PARTS REVETING|SURFACE REVETING|STRUCTURE REVETING", "Select a Sub Process") ElseIf $cRead = "WELDING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|MIG WELDING|TIG WELDING|ARC WELDING", "Select a Sub Process") EndIf Case $Button1 ExpandGUI() EndSwitch WEnd Func ExpandGUI() ;Get the Process List from Excel $oBook = _Excel_BookAttach("C:\Desktop\Input.xlsx") $Count = $oBook.Sheets($cmb1).UsedRange.Rows.Count $process = _Excel_RangeRead($oBook,Default,"A2:A" & $count) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) ;MsgBox($MB_SYSTEMMODAL, " ", $imgH) ;ConsoleWrite($i&$imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 $currXPos = ($xPos+80/(968/$w)) MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") _GDIPlus_Startup() $currYPos = $yPos-20/(1103/$h) MouseMove($xPos+80/(968/$w),$currYPos) WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[0] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[0] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $currYPos = $currYPos + $h*0.157 MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") For $i = 1 to 5 ;Ubound($Data)-1 WinActivate("X Composer") _ClipPutFile($pictoPath & "\" & $process[$i] & ".jpg") $hImage = _GDIPlus_ImageLoadFromFile($pictoPath & "\" & $process[$i-2] & ".jpg") $imgH = _GDIPlus_ImageGetHeight($hImage) $diff = ($imgH-476)*0.4/(1103/$h) + 10/(1103/$h) ConsoleWrite($imgH & "-" & $diff & @CRLF) $currYPos = $currYPos + $h*0.157 + $diff MouseMove($xPos+80/(968/$w),$currYPos) Send("^v") Next ;If check for 4 to decide on the X POS For $i = 4 to Ubound($Data)-1 Next _GDIPlus_Shutdown() EndFunc Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
abberration Posted April 16, 2019 Share Posted April 16, 2019 To switch to a different sheet: #include <Excel.au3> Local $oExcel = _Excel_Open() Local $sWorkbook = @DesktopDir & "\test.xlsx" Local $oWorkbook = _Excel_BookOpen($oExcel, $sWorkbook) $oExcel.Sheets("welding").Select Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
Cooler Posted April 17, 2019 Author Share Posted April 17, 2019 Hi abberration, now switch case is doing good. thank you. Instead of opening excel sheet i want to make it with _Excel_BookAttach. Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted April 17, 2019 Share Posted April 17, 2019 4 minutes ago, Cooler said: Instead of opening excel sheet i want to make it with _Excel_BookAttach. So you tried it? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Cooler Posted April 17, 2019 Author Share Posted April 17, 2019 Yep, I tried this. its working. $oBook = _Excel_BookAttach(@DesktopDir & "\Data\Input.xlsx") $oBook.Sheets($cRead).Select $Count = $oBook.Sheets($cRead).UsedRange.Rows.Count $process = _Excel_RangeRead($oBook,Default,"A2:" & A$count) $pictoPath = @DesktopDir & "\Data\Pictos Library\" & $cRead Link to comment Share on other sites More sharing options...
Cooler Posted April 17, 2019 Author Share Posted April 17, 2019 I tried to assign the column name (Eg: A, B, C, etc.,). I just approached IF condition for [$dRead] and assign the respective column name in [$p]. But it takes only the final value. expandcollapse popupGUISetState(@SW_SHOW) $Button1 = GUICtrlCreateButton("Select", 60, 100, 65, 17) ;Local $idButton = GUICtrlCreateButton( "Select", 10, 200, 195, 20 ) ;Local $idLabel = GUICtrlCreateLabel( "", 215, 200, 195, 20, $SS_ETCHEDFRAME ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $cmb1 $cRead = GUICtrlRead($cmb1) $dRead = GUICtrlRead($cmb2);updated $p = "A" If $cRead = "DRILLING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL 1|DRILL 2|DRILL 3", "Select a Sub Process") If $dRead = "DRILL 1" Then $p = "A" ElseIf $dRead = "DRILL 2" Then $p = "B" ElseIf $dRead = "DRILL 3" ;Then $p = "C" EndIf Elseif $cRead = "INSTALLATION" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PART INSTALLATION|CARPET INSTALLATION|CABINET INSTALLATION|DIVAN INSTALLATION", "Select a Sub Process") If $dRead = "PART INSTALLATION" Then $p = "A" ElseIf $dRead = "CARPET INSTALLATION" Then $p = "B" ElseIf $dRead = "CABINET INSTALLATION" Then $p = "C" ElseIf $dRead = "DIVAN INSTALLATION" ;Then $p = "D" EndIf ElseIf $cRead = "DEBURRING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|DRILL DEBUR|PART DEBUR|WELD DEBUR", "Select a Sub Process") If $dRead = "DRILL DEBUR" Then $p = "A" ElseIf $dRead = "PART DEBUR" Then $p = "B" ElseIf $dRead = "WELD DEBUR" ;Then $p = "C" EndIf ElseIf $cRead = "GROUNDING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|GROUNDING INSPECTION|PART GROUNDING", "Select a Sub Process") If $dRead = "GROUNDING INSPECTION" Then $p = "A" ElseIf $dRead = "PART GROUNDING" ;Then $p = "B" EndIf ElseIf $cRead = "REVETING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|PARTS REVETING|SURFACE REVETING|STRUCTURE REVETING", "Select a Sub Process") If $dRead = "PARTS REVETING" Then $p = "A" ElseIf $dRead = "SURFACE REVETING" Then $p = "B" ElseIf $dRead = "STRUCTURE REVETING" ;Then $p = "C" EndIf ElseIf $cRead = "WELDING" Then GUICtrlSetData($cmb2, "") GUICtrlSetData($cmb2, "Select a Sub Process|MIG WELDING|TIG WELDING|ARC WELDING", "Select a Sub Process") If $dRead = "MIG WELDING" Then $p = "A" ElseIf $dRead = "TIG WELDING" Then $p = "B" ElseIf $dRead = "ARC WELDING" ;Then $p = "C" EndIf EndIf Case $Button1 ExpandGUI() EndSwitch WEnd Func ExpandGUI() $oBook = _Excel_BookAttach(@DesktopDir &"\Data\Input.xlsx") $oBook.Sheets($cRead).Select $Count = $oBook.Sheets($cRead).UsedRange.Rows.Count $process = _Excel_RangeRead($oBook,Default,$p & "2:" & $p & $count) $pictoPath = @DesktopDir & "\Data\Pictos Library\" & $cRead Link to comment Share on other sites More sharing options...
Cooler Posted April 25, 2019 Author Share Posted April 25, 2019 Guys any suggestions about the script..! Link to comment Share on other sites More sharing options...
abberration Posted April 26, 2019 Share Posted April 26, 2019 When someone selects the first combo, you set the data in the second combo and immediately read it. That's not going to work. You need read the second combo and do all the if/then/else checks when the user pushes the 'select' button or something like that. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
Cooler Posted April 29, 2019 Author Share Posted April 29, 2019 Sure Bro..! 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