Any code available to create a multiline button?
Useing resources..Borland workshop.
Thanks
REDEFINE BUTTON oBtn2 Id 4002 OF ODLG2 ;
action(oDlg2:End())
REDEFINE BUTTON oBtn2 prompt "&select"+CRLF+"test" Id 4002 OF ODLG2 ;
action(oDlg2:End())
hag wrote:Any code available to create a multiline button?
#include "Fivewin.ch"
#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
PUSHBUTTON "", 201, 10, 10, 65, 40, BS_MULTILINE | WS_TABSTOP
PUSHBUTTON "", 201, 10, 10, 65, 40, 8192 | WS_TABSTOP
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 51 guests