jftuga Posted August 8, 2007 Share Posted August 8, 2007 OK, I did search the forums for this, but did not find anything relative. Global $providerID = GUICtrlCreateList("", 90, 22, 680, 575) works, but can only select 1 item. I need the ability to select multiple lines. This did not work: Global $providerID = GUICtrlCreateList("", 90, 22, 680, 575, BitOR($LBS_SORT, $WS_BORDER, $WS_VSCROLL, $ES_MULTILINE)) I also tried BitAND to no avail. Any help would be appreciated. Thanks, -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
Zedna Posted August 8, 2007 Share Posted August 8, 2007 LBS_MULTIPLESEL style:$listbox = GUICtrlCreateList("", 125, 40, 180, 120, BitOR($LBS_SORT, $WS_BORDER, $WS_VSCROLL, $LBS_NOTIFY, $LBS_MULTIPLESEL))Look here for example. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jftuga Posted August 8, 2007 Author Share Posted August 8, 2007 Thanks Zedna. I really appreciate the help. -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
fowmow Posted August 18, 2007 Share Posted August 18, 2007 LBS_MULTIPLESEL style: $listbox = GUICtrlCreateList("", 125, 40, 180, 120, BitOR($LBS_SORT, $WS_BORDER, $WS_VSCROLL, $LBS_NOTIFY, $LBS_MULTIPLESEL)) Look here for example. I had been looking for this for some time. In the meantime I created a kludge that added the items to an array and I simply processed them out. This works a little better I guess. 1. How do you extract all the items that are selected though? 2. How do you allow multiple selections via CTRL+Left Click, not Left Click? (That's really weird to me.) 3. Where is $LBS_MULTIPLESEL documented? Link to comment Share on other sites More sharing options...
Zedna Posted August 18, 2007 Share Posted August 18, 2007 I had been looking for this for some time. In the meantime I created a kludge that added the items to an array and I simply processed them out. This works a little better I guess.1. How do you extract all the items that are selected though?2. How do you allow multiple selections via CTRL+Left Click, not Left Click? (That's really weird to me.)3. Where is $LBS_MULTIPLESEL documented?1.GUIList UDF: _GUICtrlListGetSelCount(), _GUICtrlListGetSelItem(), _GUICtrlListGetSelItemsText() 3. Look here Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
fowmow Posted August 18, 2007 Share Posted August 18, 2007 Thank you very much, Zedna. 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