HeaderFooter – PB Docs 150

HeaderFooter property for PowerScript controls

Controls

RichTextEdit controls

Description

The HeaderFooter property specifies whether the control has
a header/footer section. You must write a menu or button
script to allow users to display the header and footer editing panels.

See “Implementing Rich Text” in Application
Techniques
for more information about using RichTextEdit
controls.

note.png Caution

If the RichTextEdit control does not have a header/footer
section and you open a document that has a header and footer section,
the header and footer is ignored. If you later save the document
from within the control using the same file name, the header and
footer in the original document are lost.

Usage

In a painter

proc.png To enable the header/footer section in
the control:

  1. Select the Header-Footer check box on the
    Document tab page of the control’s Properties view.

In scripts

The HeaderFooter property takes a boolean value, but it can
be set only in the control’s Properties view. The value
cannot be changed during execution.

Use the ShowHeadFoot function to display
the header and footer editing panels during runtime.


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