Re: Delphi - Onclick in Object Inspector


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Dragger on November 06, 2001 at 20:32:41:

In Reply to: Delphi - Onclick posted by Rbrrneck on November 04, 2001 at 19:17:27:

: I just got D5 a few days ago. It's realy easy, but I have one problem, what do I write in the OnClick box in the menu Object Inspector? Please help!


Don't write anything there. Just double-click the whitespace in the OnClick box. Delphi will then generate an empty procedure. The code window will pop up and it will allow you to type in the code which will be executed when the component you are working with is clicked.


Related Articles and Replies


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]