Link to home
Start Free TrialLog in
Avatar of f1star
f1star

asked on

Tshelllistview and renaming items onclick

Hi I am using tshelllistview in an open dialog.
I have discovered that sometimes when I click once on an item in the listview and wait for a while then it will give me the opportunity to rename the item.

Does anyone know how to dissable this feature?

regards
F1star
Avatar of _Katka_
_Katka_
Flag of Czechia image

Hi, try to change ReadOnly property to TRUE :)

regards,
Kate
Avatar of f1star
f1star

ASKER

THanks Katka,
I tried your suggestion however it didn't work.

To be more clear about the problem.
I click once on the item in the shelllistview, wait for a second or so then click again on the same item. This will then enable the rename feature for the shelllistview and I am able to rename the item that I have clicked on.

do you have any other suggestions?

regards
f1star
What version of Delphu are you using ?

regards,
Kate
I'm going to sleep..but check the link:

http://www.delphi3000.com/redirect.asp?Link=http://www.paranoia.clara.net/downloads/using_delphi_shell_controls.zip

it's example of how to use tshelllistview :)

regards,
Kate
Avatar of f1star

ASKER

HI Kate,
Sorry it took solong, I am using Delphi 7,
I downloaded the program thanks for that, but I couldn't seem to find anything in there about how to solve my problem


regards
f1star
ASKER CERTIFIED SOLUTION
Avatar of _Katka_
_Katka_
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alternatively, what components (download link) are you using ?
Maybe we're using different ones..

regards,
Kate
Avatar of f1star

ASKER

Hi Katka,
Thanks for that I checked to see if it was set to true at run time and it changed somewhere however on doing a search I couldn't find anything that changed it! nevermind.

I set the listview to true at run time and it works now

thanks heaps the points are yours :)

f1star
You're welcome :))