TableSetCellHeight – PB Docs 2022
TableSetCellHeight PowerScript function Description Sets the minimum height (width in twips) for a table cell in the RichTextEdit control. Applies to RichTextEdit control Syntax
1 |
boolean rtename.TableSetCellHeight(long tableID, long row, long column, integer height) |
Argument Description tableID The unique ID that identifies the table. row The row number of the cell. column The column number of the cell. height The minimum cell height (width…
TableInsertDialog – PB Docs 2022
TableInsertDialog PowerScript function Description Displays a built-in Insert Table dialog (as shown below) for users to insert a table by themselves. Applies to RichTextEdit control Syntax
1 |
long rtename.TableInsertDialog() |
Return value Long. The function does not return value until the Insert Table dialog is closed. Returns the ID of the table if the table is inserted successfully….
TextFrameSetBorderWidth – PB Docs 2022
TextFrameSetBorderWidth PowerScript function Description Sets the width of a text frame’s border line in the RichTextEdit control. Applies to RichTextEdit control Syntax
1 |
boolean rtename.TextFrameSetBorderWidth(integer textFrameID, integer width) |
Argument Description textFrameID The unique ID that identifies the text frame. Width The width of the border line, in twips. For almost all units of measurement in the RichTextEdit control, twips are…
The Message object – PB Docs 2022
The Message object Contents Message object properties The Message object is a predefined PowerBuilder global object (like the default Transaction object SQLCA and the Error object) that is used in scripts to process Microsoft Windows events that are not PowerBuilder-defined events. When a Microsoft Windows event occurs that is not a PowerBuilder-defined event, PowerBuilder populates…
TextFrameInsertFixed – PB Docs 2022
TextFrameInsertFixed PowerScript function Description Inserts a new text frame at a fixed geometrical position. The text flows around the text frame. Applies to RichTextEdit control Syntax
1 |
integer rtename.TextFrameInsertFixed(long pageNo, long posX, long PosY, integer width, integer height, integer textFlow, integer distanceL, integer distanceT, integer distanceR, integer distanceB) |
Argument Description pageNo Specifies the number of the page where the text frame is inserted, beginning with number 1. posX The text frame’s horizontal position in twips relative…
SQLCache – PB Docs 2022
SQLCache database parameter Description Specifies the number of SQL statements that PowerBuilder should cache. The default is 0, specifying an empty SQL cache. PowerBuilder caches: SQL statements generated by a DataWindow object or report Embedded SQL statements Applies to ODBC Syntax
1 |
SQLCache=value |
Parameter Description value The number of cursors you want to open in a…
Starting the pipeline – PB Docs 2022
Starting the pipeline Contents Monitoring pipeline progress Canceling pipeline execution Committing updates to the database With the setup chores taken care of, you can now start the execution of your pipeline. To start pipeline execution: Code the Start function in an appropriate script. In this function, you specify: The Transaction object for the source database…
StdWidth – PB Docs 2022
StdWidth property for PowerScript controls Applies to VScrollBar controls Description If you enable the StdWidth option, the VScrollBar displays with the standard width for your system. Usage In a painter To enable standard width: Select the StdWidth check box on the General page of the control’s Properties view. In scripts The StdWidth property takes a…
Lock objects – PB Docs 2022
Lock objects When you lock the local object, the object on the source control server will be locked correspondingly. Locking the object can prevent the other users committing changes to them. You can lock PBW, PBT, and source files of PBLs; but cannot lock PBD, or PBX files. To lock objects in the SVN source…
ShowList – PB Docs 2022
ShowList property for PowerScript controls Applies to DropDownListBox, DropDownPictureListBox controls Description If the ShowList property is enabled, the option list is always displayed. If this property is not enabled, the list is displayed only when the user clicks on the control’s down arrow. Usage In a painter To specify that the option list should always…