FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Two Lines Of Text in button with skinbuttons()
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Two Lines Of Text in button with skinbuttons()
Posted: Mon Mar 25, 2013 02:01 PM
Hi
Code (fw): Select all Collapse
#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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Two Lines Of Text in button with skinbuttons()
Posted: Tue Mar 26, 2013 01:00 PM

What is skinbuttons?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 175
Joined: Tue Nov 10, 2009 10:56 AM
Re: Two Lines Of Text in button with skinbuttons()
Posted: Tue Mar 26, 2013 01:47 PM

Thanks

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

Regards
ACWoo
FWH1302+bcc582+Harbour

Continue the discussion