Probably wont need to move once its on the form, but...
What about if I had a Paint procedure that changed the bevel's left and top
to suit ?

i.e

procedure TFrameButton.Paint;
begin
   FBevel.Left := Left - 4;
   FBevel.Top  := Top - 4;
end;

-----Original Message-----
From: Cheng Wei [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 3 May 2001 14:42
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Parent question


Please note tho:

Since the bevel and the speedbutton are saperate two parts, if you later
move the button to a new location by changing its Left or Top property, then
it won't look like a button any more.

If you use a sunken Panel instead of bevel and make it the parent of the
speedbutton will solve this prob.

Regards
Cheng

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of James Sugrue
Sent: Thursday, 3 May 2001 14:17
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Parent question


Excellent, works great.

Thanks for that Cheng.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



CAUTION - This message may contain privileged and confidential information intended 
only for the 
use of the addressee(s) named above.  If you are not the intended recipient of this 
message you are 
hereby notified that any use, dissemination, distribution or reproduction of this 
message is prohibited.  
If you have received this message in error please notify Progressive Enterprises Ltd. 
immediately via 
email at [EMAIL PROTECTED]  Any views expressed in this message 
are those of the 
individual sender and may not necessarily reflect the views of Progressive Enterprises 
Ltd.

This footnote also confirms that Progressive Enterprises Ltd. has swept this email 
message for the 
presence of computer viruses.  This does not guarantee this message is virus free.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to