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
f1starAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_Katka_Commented:
Hi, try to change ReadOnly property to TRUE :)

regards,
Kate
f1starAuthor Commented:
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
_Katka_Commented:
What version of Delphu are you using ?

regards,
Kate
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

_Katka_Commented:
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
f1starAuthor Commented:
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
_Katka_Commented:
Wierd at my place when I set the ReadOnly property to True
it is not possible to rename anything..when False it is possible
please check once more if the actual TShellListView component
has property ReadOnly:=True..check it either in runtime..also
check if you aren't setting this property somewhere in the program.

regards,
Kate

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
_Katka_Commented:
Alternatively, what components (download link) are you using ?
Maybe we're using different ones..

regards,
Kate
f1starAuthor Commented:
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
_Katka_Commented:
You're welcome :))
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.