BUTTON question
Posted: Tue Jun 27, 2006 6:03 pm
Hi Everybody,
Is there any way to have more than one line of text on a button?
Thanks,
Jeff
Is there any way to have more than one line of text on a button?
Thanks,
Jeff
www.FiveTechSoft.com
https://fivetechsoft.com/forums/
Code: Select all
#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