#SHEET (declare a group of #TAB controls)


 Top  Previous  Next


#SHEET [, HSCROLL ] [, ADJUST ]

  tabs

#ENDSHEET

#SHEET

Declares a group of #TAB controls.

HSCROLL

Specifies scrolling #TAB controls.

ADJUST

Specifies automatic prompt positioning if the #TAB controls create more than one row of tabs.

tabs

Multiple #TAB control declarations.

#ENDSHEET

Terminates the group box of prompts.

#SHEET declares a group of #TAB controls that offer the user multiple "pages" of prompts for the window. The multiple #TAB controls in the SHEET structure define the "pages" displayed to the user.

Example:

#UTILITY(ApplicationWizard,'Create a New Database Application'),WIZARD

#!

#SHEET

 #TAB('Application Wizard')

   #IMAGE('CMPAPP.BMP')

   #DISPLAY('This wizard will create a new Application.'),AT(90,8,235,24)

   #DISPLAY('To begin creating your new Application, click Next.'),AT(90)

 #ENDTAB

 #TAB('Application Wizard - File Usage'),FINISH(1)

   #IMAGE('WINAPP.BMP')

   #DISPLAY('You can gen procs for all files, or select them'),AT(90,8,235,24)

   #PROMPT('Use all files in DCT',CHECK),%GenAllFiles,AT(90,,180),DEFAULT(1)

 #ENDTAB

 #TAB('Select Files to Use'),WHERE(NOT %GenAllFiles),FINISH(1)

   #IMAGE('WINAPP.BMP')

   #PROMPT('File Select',FROM(%File)),%FileSelect,INLINE,SELECTION('File Select')

 #ENDTAB

 #TAB('Application Wizard - Finally...'),FINISH(1)

   #IMAGE('WINAPP.BMP')

   #DISPLAY('Old procs can be overwritten or new procs suppressed')

   #PROMPT('Overwrite existing procs',CHECK),%OverwriteAll,AT(90,,235),DEFAULT(0)

   #IMAGE('<255,1,4,127>'),AT(90,55)

   #DISPLAY('Your First Procedure is always overwritten!'),AT(125,54,200,20)

 #ENDTAB

#ENDSHEET