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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VCL

Status
Not open for further replies.

teubenragee

Programmer
May 22, 2001
27
0
0
DE
I Use objects in VCL , and there are places in the code where I call the OnClick Event. I d'on't want the object to respond to the mouse click but It must respond to my calls.
I want the object to be displayed as if it was enabled.
Is there a way to do that?
Please answer quick
 
Greetinx!

There are property in object in TControl, named ControlStyle, which controls common control's properties such as responding to mouse click, converting one double click to two single clicks, etc. You should look at csCaptureMouse, and csClickEvents parameters of that property to try to solve your task. Happy programming!))
 
Yes but how do I use them ( those properties are in Pascal and I don't know how to change them
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top