Creating Your Own "Button Bar"

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Creating Your Own "Button Bar"

Post by GomezL »

Code: Select all

00001   EXECUTE "CON GUI ON"
00010   OPEN #0: "rows=27,cols=80",DISPLAY,OUTPUT 
00020   OPEN #301: "SROW=25,scol=1,rows=2,cols=80,NOCLOSE",DISPLAY,OUTIN 
00030   PRINT #301, FIELDS "1,1,C 40,[BUTTON],B1100": "button will survive newpage"
00040   PRINT Newpage
00050   INPUT FIELDS "1,1,c": X$
I was trying to create my own button bar, and I wanted it to survive "PRINT NEWPAGE" an "CHAIN Statements".

NOCLOSE came to the rescue!

I haven't figured out how to leverage this yet, but it's an interesting idea!

Luis
Post Reply