< CRLF > for Buttontext in Class < ButtonBMP > ?

< CRLF > for Buttontext in Class < ButtonBMP > ?

Postby ukoenig » Mon Jan 14, 2008 5:54 pm

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Mon Jan 14, 2008 8:32 pm

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
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Detlef Hoefner » Mon Jan 14, 2008 10:30 pm

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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 71 guests