PowerScript Reference

TabPostEvent – PB Docs 125

TabPostEvent PowerScript function Description Posts the specified event for each tab page in a Tab control, adding them to the end of the event queues for the tab page user objects. Controls Tab controls Syntax

Argument Description tabcontrolname The name of the Tab control for which you want to post events for its tab…

Syntax 1 For DateTime and blob values – PB Docs 125

Syntax 1 For DateTime and blob values Description Extracts a time value from a DateTime value or a blob. Syntax

Argument Description datetime A DateTime value or a blob in which the first value is a time or DateTime value. The rest of the contents of the blob is ignored. Datetime can also be an…

Statements, Events, and Functions – PB Docs 125

Statements, Events, and Functions This part provides reference information about each of the components of the PowerScript language. Document get from Powerbuilder help Thank you for watching.

PowerScript Statements – PB Docs 125

PowerScript Statements About this chapter This chapter describes the PowerScript statements and how to use them in scripts. Contents Topic Assignment CALL CHOOSE CASE CONTINUE CREATE DESTROY DO…LOOP EXIT FOR…NEXT GOTO HALT IF…THEN RETURN THROW THROWS TRY…CATCH…FINALLY…END TRY Document get from Powerbuilder help Thank you for watching.

SetSpacing – PB Docs 125

SetSpacing PowerScript function Description Sets the line spacing for the selected paragraphs or the paragraph containing the insertion point in a RichTextEdit control. Controls RichTextEdit controls Syntax

Argument Description rtename The name of the RichTextEdit control in which you want to set the line spacing. spacing A value of the Spacing enumerated datatype specifying…

SetToday – PB Docs 125

SetToday PowerScript function Description Sets the value that is used by the calendar as today’s date. Controls DatePicker, MonthCalendar controls Syntax

Argument Description controlname The name of the control for which you want to set the Today date d The date you want to specify as the Today date Return Values Integer. Returns 0…

SetToolbar – PB Docs 125

SetToolbar PowerScript function Description Specifies the alignment, visibility, and title for the specified toolbar. Controls MDI frame and sheet windows Syntax

Argument Description window The MDI frame or sheet to which the toolbar belongs. toolbarindex An integer whose value is the index of the toolbar whose settings you want to change. visible A boolean…

SharedObjectDirectory – PB Docs 125

SharedObjectDirectory PowerScript function Description Retrieves the list of objects that have been registered for sharing. Syntax

Argument Description instancenames An unbounded array of type string in which you want to store the names of objects that have been registered for sharing classnames (optional) An unbounded array of type string in which you want to…

SharedObjectGet – PB Docs 125

SharedObjectGet PowerScript function Description Gets a reference to a shared object instance. Syntax

Argument Description instancename The name of a shared object instance to which you want to obtain references. The name you specify must match the name given to the object instance when it was first registered with the SharedObjectRegister function. objectinstance An…

SetToolbarPos – PB Docs 125

SetToolbarPos PowerScript function Sets the position of the specified toolbar. To set Use Docking position of a docked toolbar Syntax 1 Coordinates and size of a floating toolbar Syntax 2 Document get from Powerbuilder help Thank you for watching.