This class converts a Visual FoxPro cursor (.DBF) to HTML. Hooks control the scope, visual layout and HTML generation. For more information on creating Web pages from Visual FoxPro tables, see Genhtml.prg.
Category | Internet |
---|---|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Internet |
Class |
_dbf2html |
Base Class |
Custom |
Class Library |
_internet.vcx |
Parent Class |
_custom |
Sample |
...\Samples\Solution\Ffc\dohtml.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro opens a builder so you can accept the current values or specify the appropriate cSource, cOutFile, and nGenOutput 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 |
---|---|
cSource property |
Specifies the source file from which to generate HTML. Default: "" |
nGenOutput property |
_GENHTML output options. Default: 2 |
cOutFile property |
Specifies the name of the HTML file to output. Default: "" |
lAutoNameOutput property |
Specifies whether _GENHTML should automatically name the output file based on the source. Default: .T. |
lUseCurrentAlias property |
Specifies whether to use the current alias as the source. Default: .T. |
cScope property |
Specifies the scope (for example, NEXT or ALL) for the output. Default: "" |
cStyle property |
Specifies the visual style as listed in the ID field of Genhtml.dbf. Default: "" |
GenHTML method |
Generates HTML code by calling the Genhtml.prg program using properties specified in cSource, cOutput, and nGenOutput.
Syntax:
Return: none Arguments: none |