Tarun 0 Report post Posted March 3, 2009 Hi, I have a ListBox in window and dynamically load a grid into that ListBox. This grid contents a systreeview and checkboxes with four columns. Now I want to get systreeview text and checkboxes control from ListBox's grid. Pls help me how to get these contents from ListBox. Please also provide the code if possible. thanks in advance. pls reply as soon as possible. Thanks Share this post Link to post Share on other sites
Melba23 2,629 Report post Posted March 3, 2009 Tarun, First, welcome to the AutoIt forums. When you post here it always helps if you show us some code that reproduces the problem you are having. Having some code to work on is a great help - it saves us having to write something from scratch - and no-one here is too keen to help the "code it for me" brigade. Over to you. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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
Tarun 0 Report post Posted March 4, 2009 Tarun,First, welcome to the AutoIt forums.When you post here it always helps if you show us some code that reproduces the problem you are having. Having some code to work on is a great help - it saves us having to write something from scratch - and no-one here is too keen to help the "code it for me" brigade.Over to you.M23HiThanks for reply Actually my problem is that I have a Multicolumn ListBox and i want to get data from fourth column value of a specified index item. Pls help me.Thanks in advance.Thanks Share this post Link to post Share on other sites
Melba23 2,629 Report post Posted March 4, 2009 Tarun,So as I said before: Post what you have coded to get to where you are.No-one wants to spend their time writing code from scratch to get "a ListBox in window and dynamically load a grid into that ListBox. This grid contents a systreeview and checkboxes with four columns" from scratch when you have already done it!Posting code will almost always get you an answer faster for this very reason.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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
Tarun 0 Report post Posted March 4, 2009 Tarun, So as I said before: Post what you have coded to get to where you are. No-one wants to spend their time writing code from scratch to get "a ListBox in window and dynamically load a grid into that ListBox. This grid contents a systreeview and checkboxes with four columns" from scratch when you have already done it! Posting code will almost always get you an answer faster for this very reason. M23 Hi Thanks for reply. Actually I have an application that created in visual c# and the listbox is created in this application. Now I am writing a test script with autoit to test that whether the checkboxes are checked or not in the listbox when the application is in running state. The checkboxes are shown in the forth column of listbox. In test script I already get the listbox handle but I couldn't get the checkboxes from listbox. So pls help me how can i get the checkboxes from listbox. $hListBox = ControlGetHandle("MyApplication", "", "[CLASS:WindowsForms10.LISTBOX.app.0.23beec7; INSTANCE:1]") here i am getting the handler of listbox and it is working. when i call the _GUICtrlListBox_GetText function it gives me the first column value of particular index. I want to get the checkboxes and test that whether they are checked or not. I hope now u understood my problem. Thanks in advance. Thanks Share this post Link to post Share on other sites
Melba23 2,629 Report post Posted March 4, 2009 Tarun,Why did you not explain all that at the beginning? Then we would not have wasted so much time. This is an AutoIt forum and if you not not specify otherwise it is normal to assume that your code is in that language.If you search for "listbox+colums" (as I just have!) you will find that one of Developers has explained that multiple column listboxes are not supported by GuiListBox.au3, so I do not believe that there is a way of doing this is AutoIt.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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
Tarun 0 Report post Posted March 4, 2009 Tarun,Why did you not explain all that at the beginning? Then we would not have wasted so much time. This is an AutoIt forum and if you not not specify otherwise it is normal to assume that your code is in that language.If you search for "listbox+colums" (as I just have!) you will find that one of Developers has explained that multiple column listboxes are not supported by GuiListBox.au3, so I do not believe that there is a way of doing this is AutoIt.M23HiThanks for reply and sorry for taking up your time. Tarun Share this post Link to post Share on other sites