/* faq.dlg *! VERSION 1.0.0 28Apr2003 Jean Marie Linhart This sample dialog is an example of how to use various .idlg files in your own dialog. There is no "faq" command so the command generated will receive an error message, however, this dialog allows you to see how the syntax is generated. */ VERSION 8.0 INCLUDE _std_small /* this INCLUDES _small.idlg, which defines _dlgwd = 350 and _dlght = 200 */ INCLUDE header /* CANCEL, SUBMIT, OK buttons */ HELP hlp1, view("search faq") /* A HELP button */ RESET res1 /* a RESET button */ DIALOG main, label("FAQ -- Example dialog for Frequently Asked Questions") /// tabtitle("Main") BEGIN DEFINE _x 220 DEFINE _y 10 INCLUDE _bu_stset /* Button for st-type data */ TEXT tx_faq 20 +5 190 20, label("This is a label.") END INCLUDE byifin INCLUDE weights_fi PROGRAM command BEGIN INCLUDE _by_pr put "faq " /* there is no varlist if there was you'd put it here */ INCLUDE _ifin_pr INCLUDE _weights_pr /* there are no options, if there were you'd put them here */ END