1. 'F2' to Edit Item in ListView

This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C2F20B.1BBF9E60
	charset="iso-8859-1"

In a Winblows Explorer window, you can press 'F2' to "Rename" the selected
file. It actually lets you modify the name within the list itself. How do I
accomplish this functionality with Win32Lib?

I've attached a screen shot (only 16KB).

Thanks,
ck

------=_NextPart_000_0059_01C2F20B.1BBF9E60
Content-Type: image/jpeg;
	name="f2_edit.jpg"

new topic     » topic index » view message » categorize

2. Re: 'F2' to Edit Item in ListView

Well, you could create a edit field at that position, put the name of the 
original file in it and highlight it, and if Enter is pressed, then close 
the edit field and change the name.

If Esc is pressed, or it loses focus, then close the edit field and keep the 
name.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__| Mr Trick





>From: "C. K. Lester" <cklester at yahoo.com>
>Reply-To: EUforum at topica.com
>To: EUforum <EUforum at topica.com>
>Subject: 'F2' to Edit Item in ListView
>Date: Mon, 24 Mar 2003 13:41:44 -0600
>
>
>In a Winblows Explorer window, you can press 'F2' to "Rename" the selected
>file. It actually lets you modify the name within the list itself. How do I
>accomplish this functionality with Win32Lib?
>
>I've attached a screen shot (only 16KB).
>
>Thanks,
>ck
>
>
>
>TOPICA - Start your own email discussion group. FREE!
><< f2_edit.jpg >>

new topic     » goto parent     » topic index » view message » categorize

3. Re: 'F2' to Edit Item in ListView

Jonas wrote:

> Attached is some code I posted a while back that let's you edit the
> first column of a list view (note that you can only edit the first
> column in a list view, as Derek pointed out).

How do I make it so I can edit the second column as well? Do I need to use a
different control for this functionality?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu