Preview Report Foundation Class
This class provides a generic button to run a report directly or through the Output dialog box class.
Category |
Misc Buttons |
---|---|
Default Catalog |
Visual FoxPro Catalog\Foundation Classes\Buttons |
Class |
_cmdRunReport |
Base Class |
CommandButton |
Class Library |
_miscbtns.vcx |
Parent Class |
_commandbutton |
Sample |
...\Samples\Solution\Ffc\buttons.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Form. When you add the class to a form, Visual FoxPro opens a builder so you can specify the cFileName and lSetCaption values. When you drop the class on a project, you can choose between adding the class or creating a subclass.
See Guidelines for Using Visual FoxPro Foundation Classesfor more information on using foundation classes.
Properties, Events, Methods |
Description |
---|---|
cDialogClass property |
Specifies the output dialog box class. Default: _OutputDialog |
cDialogClasslib property |
Specifies the output dialog box class library. Default: (IIF(VERSION(2)=0,"",HOME( )+"FFC\")+"_REPORTS.VCX")) |
cFilename property |
Specifies the name of the form to run. Default: "" |
cOutputDialogAlias property |
Specifies the name of the output dialog box alias. Default: "" |
lOutputDialogPreventScope property |
Specifies whether to prevent changing the scope in dialog box. Default: .F. |
lOutputDialogPreventSource property |
Specifies whether to prevent changing the alias/report in dialog box. Default: .F. |
lPromptForReport property |
Specifies whether to ask for a report name. Default: .T. |
lSetCaption property |
Specifies whether caption is automatically based on the value of cFilename. Default: .T. |
lUseOutputDialog property |
Specifies whether to display the foundation class Output dialog box. Default:.T. |
ShowOutputDialog method |
Displays the foundation class Output dialog box. Syntax: ShowOutputDialog( ) Return: none Arguments: none |
See Also
Concepts
Guidelines for Using Visual FoxPro Foundation Classes
Reference
Visual FoxPro Foundation Classes A-Z
Output Dialog Box Foundation Class