what'd ya know, someone found a use for that ol' dinosaur, TShape.

--- On Thu, 11/5/09, Martin Wynne <[email protected]> wrote:

From: Martin Wynne <[email protected]>
Subject: Re: [delphi-en] Re: Balloon tips
To: [email protected]
Date: Thursday, November 5, 2009, 12:31 PM







 



  


    
      
      
         > So the balloon is supposed to help the user find an edit control?



A TShape red rectangle is ideal for that. It's not a Windows control,

so it will always be behind a TEdit.



On the button click, resize and reposition it so that it forms a red

border round the relevant TEdit:



my_shape.Left: =my_edit. Left-4;

my_shape.Width: =my_edit. Width+8;

my_shape.Top: =my_edit. Top-4;

my_shape.Height: =my_edit. Height+8;



my_shape.Visible: =True;



deal with the control,



my_shape.Visible: =False;



Martin.



    
     

    
    


 



  






      

[Non-text portions of this message have been removed]

Reply via email to