PcExpert Posted November 10, 2007 Share Posted November 10, 2007 Hi all, How to output the results of the IniReadSelection command in a Label? In the helpfile they discribe it with a messagebox. But how to let a Label display the output? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 10, 2007 Moderators Share Posted November 10, 2007 GUICtrlSetData(). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PcExpert Posted November 10, 2007 Author Share Posted November 10, 2007 (edited) Tried that, but that didnt work. Maybe because its an array? Edited November 10, 2007 by PcExpert Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 10, 2007 Moderators Share Posted November 10, 2007 Tried that, but that didnt work. Maybe because its an array?duh? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
picaxe Posted November 10, 2007 Share Posted November 10, 2007 (edited) Something along these lines as per the IniReadSection help $aIni = IniReadSection("inifile.ini", "section") $j = "" For $i = 1 To $aIni[0][0] $j &= $aIni[$i][0] & " = " & $aIni[$i][1] & @CRLF Next GUICtrlSetData(control_id, $j) Edited November 10, 2007 by picaxe 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