Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Export.XHTML.TemplateCount – PB Docs 126 – PowerBuilder Library

Export.XHTML.TemplateCount – PB Docs 126

Export.XHTML.TemplateCount DataWindow object property

Description

The number of XHTML export templates associated with a DataWindow object.

Controls

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe argument:

Usage

This property is used to get a count of the XHTML export templates
associated with a DataWindow object. It returns a long specifying
the number of XHTML export templates previously saved in the DataWindow
painter for the specified DataWindow object. The count is used with
the DataWindow.Export.XHTML.Template[ ].Name property
to enable an application to select an export template at runtime.

Examples

This code in the open event of a window uses the
TemplateCount property to get the number of templates associated
with dw1. It then uses the number returned as
the upper limit in a FOR loop that populates a drop-down list box with
the template names, using the DataWindow.Export.XHTML.Template[ ].Name property.

Before generating the XHTML, set the export template using
the text in the drop-down list box:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x