Jump to content
Sign in to follow this  
Delta01

GUICombo - INI help

Recommended Posts

Delta01

Hey,

I'm making a script with an .ini file, and i want to to save the settings of a GUICombo, but i have to add all the info to the SetData, otherwise some things won't show up, depending on what is saved.

$Wep1 = GuiCtrlCreateCombo($iWep1, 150, 25, -1, -1, $CBS_DROPDOWNLIST)
$Data1 = GUICtrlSetData($Wep1,"Spear / Glavie|Sword / Blade|Shield|Bow|None","")

Is there anyway I can get it to read what is there by default, so that I can then make it not show up twice in the menu?

Share this post


Link to post
Share on other sites
maqleod

Hey,

I'm making a script with an .ini file, and i want to to save the settings of a GUICombo, but i have to add all the info to the SetData, otherwise some things won't show up, depending on what is saved.

$Wep1 = GuiCtrlCreateCombo($iWep1, 150, 25, -1, -1, $CBS_DROPDOWNLIST)
$Data1 = GUICtrlSetData($Wep1,"Spear / Glavie|Sword / Blade|Shield|Bow|None","")oÝ÷ Ø-êÞj|°k"jx¶+m¢·wZ¶+-êÞo'^}«¥¶Ê-«Hq©íéæjG¢¶z-²0ºpÇ¢Ø^éîþ«¨µâ"éÝz»-jwr¢ç(®·¶²¢çë"xy§RyËb¢{h¦éewè®f­ß®²¢è§ÚuÛh¶¢fèneG¬¢Øb²ÈhºWp¢¹'¢ÚÞjYri¹^¶^²Ø­rêëz{eË*.­ø¥z)â~)^r^÷P¨º5÷}

[u]You can download my projects at:[/u] Pulsar Software

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.