Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with tree control (OLE)

Status
Not open for further replies.

mpgalvin

Programmer
Feb 5, 2001
119
IE
Someone (not me) decided the best way to show some info in our app was to use the OLE tree control. It looks good, but unfortunately, there's a small problem with it.

If I do the "slow double click", I can change the name of a node on the tree. (Slow double click = click once, then click again on the highlighted node. Lots of people use it to rename in Explorer). The tree is not bound to any db, so no permanent changes are made, but I'd like to remove the possibility altogether. I just don't know which event I should be looking at (it's not really _Click per se, right?)
 
Hi!

There is a property for that. try to run the builder screen for that control and you will see that option.
Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Thanks Vlad (Tomas). The LabelEdit property had been set to 'automatic'.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top