Vertical_Spread – PB Docs 2018
Vertical_Spread property (DataWindow object) Description The vertical space between columns in the detail area of the DataWindow object. Vertical_Spread is meaningful only when Type is Form (meaning the Freeform style). The Vertical_Size property determines when to start a new column. Applies to Style keywords Syntax SyntaxFromSql:
|
1 |
Style ( Vertical_Spread = value ) |
Parameter Description value An integer specifying the vertical…
Starting the debugger – PB Docs 2018
Starting the debugger To open the debugger Do one of the following: In the System Tree, highlight a target and select Debug from the pop-up menu Click the Debug or Select and Debug button on the PowerBar Select Run>Debug or Run>Select and Debug from the menu bar The Debug button opens the debugger for the…
About return values for DataWindow events – PB Docs 2018
About return values for DataWindow events The way to specify a return code in a DataWindow event is different in each of the DataWindow environments. PowerBuilder Use a RETURNÂ statement as the last statement in the event script. The datatype of the value is long. For example, in the ItemChanged event, set the return code to…
Watching variables and expressions – PB Docs 2018
Watching variables and expressions The Watch view lets you monitor the values of selected variables and expressions as the application runs. If the variable or expression is in scope, the Watch view shows its value. Empty quotes indicate that the variable is in scope but has not been initialized. A pair of glasses in the…
Setting AutoCommit and Lock in a PowerBuilder application script – PB Docs 2018
Setting AutoCommit and Lock in a PowerBuilder application script Contents Copying AutoCommit and Lock syntax from the Preview tab Coding PowerScript to set values for AutoCommit and Lock Reading AutoCommit and Lock values from an external text file Getting values from the registry If you are developing a PowerBuilder application that connects to a database, you…
Edit edit style (code 89) – PB Docs 2018
Edit edit style (code 89) The following tables show a sample row in the PBCatEdt table for an Edit edit style and the meaning of the values. About the example This example shows an Edit edit style using a code table of display and data values. There is a pair of rows in PBCatEdt for…
PosA – PB Docs 2018
PosA DataWindow expression function Description Finds one string within another string. Syntax
|
1 |
PosAÂ ( string1, string2Â {, start } ) |
Argument Description string1 The string in which you want to find string2. string2 The string you want to find in string1. start  (optional) A long indicating the position in bytes where the search will begin in string. The default is 1. Return value…
Just-in-time debugging – PB Docs 2018
Just-in-time debugging If you are running your application in regular mode (using the Run button) and you notice that the application is behaving incorrectly, just-in-time debugging lets you switch to debug mode without terminating the application. When you open the debugger while running an application, the application does not stop executing. The Source, Variables, Call…
GetAttribute Syntax 2 – PB Docs 2018
GetAttribute Syntax 2 Description Returns the PBDOM_ATTRIBUTE object for a PBDOM_ELEMENT object with the name provided and within the namespace specified by the prefix and URI provided. Syntax
|
1 |
pbdom_element_name.GetAttribute(string strName, string strNamespacePrefix, string strNamespaceUri) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object strName The name of the PBDOM_ATTRIBUTE to be returned strNamespacePrefix The prefix of the namespace of the…
Profiling Routine View – PB Docs 2018
Profiling Routine View The Routine view displays statistics for a routine, its calling routines, and its called routines. It uses multiple DataWindow objects to display information for a routine: Called routines The top DataWindow lists functions and events called by the current routine. Current routine The middle DataWindow and the DataWindow on the right highlight…