Target types – PB Docs 110
Target types This section describes each of the targets you can build. Application targets There are three wizards for creating application targets: Application Target wizard Template Application Target wizard Existing Application Target wizard Application Target wizard You use the Application Target wizard to create a new PowerScript-based Application object and the library containing it. You…
Status – PB Docs 125
Status property for PowerScript controls Controls InkEdit, InkPicture controls Description A read-only property available at runtime that provides the current status of the control so that the user does not need to monitor the Stroke event to be sure that a stroke has been completed. Usage In scripts The Status property for InkEdit controls takes…
Starting the debugger – PB Docs 126
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…
Project Execution – PB Docs 150
Project Execution After you deploy the application, you can run it by selecting Design > Run Project from the Project painter menu or selecting the Run Project toolbar icon from the Project painter toolbar. The context menus for the .NET Windows Forms target and project in the System Tree also have a Run menu item….
Filename – PB Docs 150
Filename DataWindow object property Description The file name containing the image for a Picture or Button control in the DataWindow. If no image is specified for a Button control, only text is used for the button label. Controls Picture and Button controls Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Filename |
Describe and Modify argument:
1 |
"<span>controlname</span>.Filename { = '<span> filestring</span> ' }" |
Parameter Description controlname…
Changing default layouts – PB Docs 110
Changing default layouts You can change the layout of the PowerBuilder main window in several ways. This section describes: Showing or hiding the System Tree, Output, and Clip windows and changing their locations Showing or hiding views in painters and changing their locations You can also show or hide toolbars, change their locations, and add…
StatePictureName[ ] – PB Docs 125
StatePictureName[ ] property for PowerScript controls Controls ListView, TreeView controls Description PowerBuilder stores ListView images in several indexed arrays of images. State pictures are displayed to the left of ListView items and their pictures, if they have them. You can associate a state image with a ListView control only with scripts. You identify a specific…
Defining a validation rule in the DataWindow painter – PB Docs 126
Defining a validation rule in the DataWindow painter Validation rules you assign to a column in the Database painter are used by default when you place the column in a DataWindow object. You can override the validation rule in the DataWindow painter by defining an ad hoc rule for one specific column. To specify a…
SetSelectedRange – PB Docs 150
SetSelectedRange PowerScript function Description Sets the range of selected dates. Controls MonthCalendar control Syntax
1 |
<span>controlname</span>.<span>SetSelectedRange </span>( <span>start</span>, <span>end</span> ) |
Argument Description controlname The name of the MonthCalendar control for which you want to set the selected range start A date value to be set as the earliest date selected end A date value to be set as the latest…
PosA – PB Docs 150
PosA DataWindow expression function Description Finds one string within another string. Syntax
1 |
<span>PosA</span> ( <span>string1</span>, <span>string2</span> {, <span>start</span> } ) |
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…