xcal Posted August 31, 2006 Posted August 31, 2006 So it's really easy to edit something in column 1, but what about column 2? I've searched the help file, and forum, and couldn't find the answer. (Maybe I'm bad at searching? ) Here's a quick setup if anyone knows the answer and wants to modify this. #include <GUIConstants.au3> Opt('GUIOnEventMode', 1) GUICreate("", 170, 170) GUISetOnEvent($GUI_EVENT_CLOSE, 'quit') $list = GUICtrlCreateListView("Column 1|Column 2", 10, 10, -1, -1, $LVS_EDITLABELS) GUICtrlCreateListViewItem("Item 1|Item 2", $list) GUISetState(@SW_SHOW) Func quit() Exit EndFunc While 1 Sleep(200) WEnd TIA How To Ask Questions The Smart Way
buymeapc Posted December 15, 2006 Posted December 15, 2006 I'm curious about this topic as well. The forum had no answer...
GaryFrost Posted December 15, 2006 Posted December 15, 2006 LVS_EDITLABELS Item text can be edited in place.Not a subitem.To do subitems I believe one would have to derive the control. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Zedna Posted December 15, 2006 Posted December 15, 2006 Or some kind of workaround. For example: - with A3Library get subitem Rect - dynamically create Input (Edit) at place of subitem for editing - dynamically destroy it after end of editing and set subitemtext Resources UDF ResourcesEx UDF AutoIt Forum Search
pdm Posted March 29, 2007 Posted March 29, 2007 Or some kind of workaround. For example:- with A3Library get subitem Rect- dynamically create Input (Edit) at place of subitem for editing- dynamically destroy it after end of editing and set subitemtext I have a solution, at least for my requirements. Look at Editable ListView to test this. Please give me some feedback and tell me what you need to do with this.
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