Zedna 377 Posted November 4, 2005 Share Posted November 4, 2005 I have ListView where I modify data through detail window. When in detail is clicked OK I do something like this: $item = GUICtrlRead($listview); selected $line = _ GuiCtrlRead($col1) & '|' & _ GuiCtrlRead($col2) & '|' & _ GuiCtrlRead($col3) GuiCtrlSetData($item, $line) But when I have col2 with some value and need to clear it, it's not working, because of this (From HelpFile): For ListViewItem control : To update a specific column just forget about the others ie "||update" to update 3rd column. AutoIt ignores columns without values instead of clearing them to empty string. I tried workaround: GuiCtrlSetData($item, ' | | | | | ') GuiCtrlSetData($item, $line) Set one space to each column before update column values. It works fine, but I don't want to have one space value in columns. So please help me, how to do that. Thanks Resources UDF ResourcesEx UDF AutoIt Forum Search Link to post Share on other sites
GaryFrost 20 Posted November 4, 2005 Share Posted November 4, 2005 might try _GUICtrlListViewSetItemText SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to post Share on other sites
Zedna 377 Posted November 4, 2005 Author Share Posted November 4, 2005 might try _GUICtrlListViewSetItemTextThank you for open my eyes It's exactly what I missed Resources UDF ResourcesEx UDF AutoIt Forum Search Link to post Share on other sites
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