Board index » cppbuilder » More than one line for TButton

More than one line for TButton


2004-08-19 06:33:31 PM
cppbuilder24
Hi,
Is it possible to enter more than one line for TButton or TPanel? For
Example, I want to set the Caption of TButton to "Test \n Me" so that two
lines are displayed in the TButton. If it is not possible, any free
alternative component can do that? Thanks.
--
Enoch Ng
www.memdb.com
 
 

Re:More than one line for TButton

Lot of way to do it!
1. Use TPanel to simulate a button,
2. Put another label on the top of button, set transparent properties to
true
3. Use TBitButton, Draw the a bmp file with the "Try \n Me" and link the bmp
to TbitButton
...
N. the last method, write your own component,
Good luck
"MEMDB" < XXXX@XXXXX.COM >wrote in message
Quote
Hi,

Is it possible to enter more than one line for TButton or TPanel? For
Example, I want to set the Caption of TButton to "Test \n Me" so that two
lines are displayed in the TButton. If it is not possible, any free
alternative component can do that? Thanks.

--
Enoch Ng
www.memdb.com