Its possible but will take you hours to find it.... look at the VCL code for TBitBtn and then try to copy the relevant bits into TButton. Or start with TPanel and make your own button component.


Ross Levis wrote:


Hi Rohit



Ross, I believe that the help on it is very explicit. Use TBitBtn instead



Mmm, yes, except I'm including a WindowsXP manifest and a normal TButton converts nicely to the XP theme but the BitBtn doesn't. I'm using D5. Is there any other way, eg, with Windows API calls?

Regards,
Ross.



Ross Levis wrote:



(D5) Is there an easy way to left justify a TButton caption, and
not centre as it does by default.

Thanks,

Ross Levis
Tauranga.




--------------------------------------------------------------------------


-


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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



---------------------------------------------------------------------------
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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/








---------------------------------------------------------------------------
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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to