Two Lines Of Text in button with skinbuttons()

Two Lines Of Text in button with skinbuttons()

Postby acwoo1 » Mon Mar 25, 2013 2:01 pm

Hi
Code: Select all  Expand view
#define CR CHR( 13 )

#define BS_MULTILINE 8192


FUNCTION MAIN()

    LOCAL oDlg, oBtn

    DEFINE DIALOG oDlg

    @ 1, 1 BUTTON oBtn PROMPT "&Close" + CHR( 13 ) + "the dialog";
           SIZE 50, 30;
           ACTION oDlg:End()

    oBtn:nStyle = NOR( oBtn:nStyle, BS_MULTILINE )

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


How to modify the code above to display two lines of text when skinbuttons() is used.

Regards
ACWoo
FWH1302+bcc582+Harbour
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am

Re: Two Lines Of Text in button with skinbuttons()

Postby James Bott » Tue Mar 26, 2013 1:00 pm

What is skinbuttons?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Two Lines Of Text in button with skinbuttons()

Postby acwoo1 » Tue Mar 26, 2013 1:47 pm

Thanks

skinbuttons() as in ..\fwh1302\samples\testsk1.prg

Regards
ACWoo
FWH1302+bcc582+Harbour
acwoo1
 
Posts: 161
Joined: Tue Nov 10, 2009 10:56 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha and 85 guests