FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour < CRLF > for Buttontext in Class < ButtonBMP > ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
< CRLF > for Buttontext in Class < ButtonBMP > ?
Posted: Mon Jan 14, 2008 05: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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
< CRLF > for Buttontext in Class < ButtonBMP > ?
Posted: Mon Jan 14, 2008 08: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
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
< CRLF > for Buttontext in Class < ButtonBMP > ?
Posted: 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

Continue the discussion