< CRLF > for Buttontext in Class < ButtonBMP > ?

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

< CRLF > for Buttontext in Class < ButtonBMP > ?

Post 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 :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Detlef Hoefner
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany
Contact:

Post 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
Post Reply