Jump to content
Sign in to follow this  

$LVS_EDITLABELS question...

Recommended Posts


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? :P )

Here's a quick setup if anyone knows the answer and wants to modify this. :nuke:

#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)


Func quit()

While 1


Share this post

Link to post
Share on other sites

I'm curious about this topic as well. The forum had no answer...

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.