Page 1 of 1
< CRLF > for Buttontext in Class < ButtonBMP > ?
Posted: Mon Jan 14, 2008 5:54 pm
by ukoenig
Is it possible, to have a CRLF in
Class ButtonBMP like =>> "Customer" + CRLF + "Info"
same like in Buttonbar Office2007 ?
Greetings from Germany
U.König
Posted: Mon Jan 14, 2008 8:32 pm
by Antonio Linares
Ukoenig,
Class TButtonBmp uses the standard painting of Windows buttons. It just adds the bitmap.
So we need to find if there is a way to display CRLFs in a standard Windows button
Posted: Mon Jan 14, 2008 10:30 pm
by Detlef Hoefner
There was already a topic for this.
But don't remember which.
But i remember the advices like this:
Open the .rc file with a text editor.
At the end of a button definition just comma and the value 8192. After this you may write your button prompt in RWS with a "\r\n" for a newline or CRLF in your redefine statement of your prg code.
hth,
Detlef