monitorlg Posted April 2, 2009 Share Posted April 2, 2009 Hi All, I have created a List View In a Record format with Rows and columns. I want that when any record is selected that is the, record is focused, then it should be able to read its Item text. and When sequentially record is selected it should give me the Item text One by one.. Can any body help me with this.. Thanks and Regards Link to comment Share on other sites More sharing options...
Zedna Posted April 2, 2009 Share Posted April 2, 2009 Look at ControlListView() and _GUICtrlListView_GetItemText() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
monitorlg Posted April 2, 2009 Author Share Posted April 2, 2009 Look at ControlListView() and _GUICtrlListView_GetItemText()Thanks but its not working..I have tried that..Anybody have any code related to it... Link to comment Share on other sites More sharing options...
Zedna Posted April 2, 2009 Share Posted April 2, 2009 Thanks but its not working..I have tried that..Anybody have any code related to it...Post your code. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
monitorlg Posted April 3, 2009 Author Share Posted April 3, 2009 Post your code.I have added a piece of My code...Just have alook at it and help me out..;~ If(_GUICtrlListView_GetItemFocused($ListView1, 1) = True) Then;~ MsgBox(0, " " , _GUICtrlListView_GetItemText($ListView1, 1));~ EndIf Link to comment Share on other sites More sharing options...
Zedna Posted April 3, 2009 Share Posted April 3, 2009 I think you need to use _GUICtrlListView_GetNextItem(...,$iState=8) instead of _GUICtrlListView_GetItemFocused() Resources UDF ResourcesEx UDF AutoIt Forum Search 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