cueclub 0 Posted November 16, 2010 (edited) Been a while since I had posted, So I am over due. okay here is what I have... For $I = 1 To 6 Step 1 $C[$I] = IniRead($IniFile, "Class", "Class" & $I, "") Next For $I = 1 To 6 Step 1 $tt[$I] = GUICtrlCreateCombo("", (15 + (110 * ($I - 1))), (183 + (1 * ($I - 1)))) GUICtrlSetData(-1, "A+|A|A-|B+|B|B-|C+|C|C-|D+|D|D-|F|N/A|INC", "") Next For $I = 1 To 6 Step 1 $TAE[$I] = GUICtrlCreateInput($tar, (15 + (110 * ($I - 1))), (115 + (1 * ($I - 1))), 75, 25) Next which isnt too bad. What I need is something like this For $I = 1 To 6 Step 1 IniWrite($IniFile, "Grades", $C[$I], GUICtrlRead($tt[$I] & "," & $TAE[$I])) Next this example doesnt work quite right. What I need it to do is write [Grades] Class = Name,Grade Any thoughts on this, or ideas as to where find (other then the help file) more guictrlread examples? ty much Edited November 16, 2010 by cueclub Share this post Link to post Share on other sites
Melba23 3,452 Posted November 16, 2010 cueclub,You need to use GUICtrlRead on both controls: For $I = 1 To 6 IniWrite($IniFile, "Grades", $C[$I], GUICtrlRead($tt[$I]) & "," & GUICtrlRead($TAE[$I])) NextM23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Share this post Link to post Share on other sites
cueclub 0 Posted November 16, 2010 AHHHHH M23 saves me again. ty ty and now that I see it, it makes sense. Share this post Link to post Share on other sites