Welcome to PGD
If this is your first visit, be sure to check out the FAQ by clicking the link above. You have to register before you can post.
If you have recently signed up, please make sure you log in so that your activity is registered. This is required for automatic promotions to work and to ensure your account is not deleted during the registration process.
AthenaOfDelphi
Originally Posted by paul_nicholls I think there is a TForm.FindControl() method that returns a control by name like so: Code: Var Button: TButton; begin Button := FindControl('Button1') as TButton; cheers, Paul Thank you Paul for anwser but "Find Control" wants a handle control not a string FindControl(Handle: HWnd) Can i use the findComponet function ? But how i can get the control of the componet so i can make it visible? Thanks again...
Var Button: TButton; begin Button := FindControl('Button1') as TButton;
Forum Rules
Bookmarks