> The procedure I quoted was only an example showing the possible bug in
> Delphi.  I am actually allowing a rename and checking that the new caption
> doesn't already exist & is a valid name -- similar to renaming a file in
> Explorer.  Is there some way to force an item into edit mode?

TListItem.EditCaption() and TListItem.CancelEdit() might do the
job here.


-ns


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to