Jump to content
Sign in to follow this  
lonewolf

Variables in "GUICtrlSetData"

Recommended Posts

lonewolf

Hi,

I just upgraded to AutoIt 3 Today! What A Change!

I've been trying to find an answer with the search, but it hasn't turned up anything!

I was wondering how I can use variables in the GUICtrlSetData Command, here's my code:

$PresetID = GUICtrlCreateCombo ($set1, 5,10,190,200)
GUICtrlSetData(-2, $set2|$set3|$set4|$set5, $set1)

Thanks,

Lonewolf

Share this post


Link to post
Share on other sites
GaryFrost

$PresetID = GUICtrlCreateCombo ($set1, 5,10,190,200)
GUICtrlSetData(-1, $set2 & "|" & $set3 & "|" & $set4 & "|" & $set5, $set1)


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
lonewolf

Thx!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×