CALL – PB Docs 126
CALL Description Calls an ancestor script from a script for a descendent object. You can call scripts for events in an ancestor of the user object, menu, or window. You can also call scripts for events for controls in an ancestor of the user object or window. When you use the CALL statement to call…
Conditional Compilation – PB Docs 126
Conditional Compilation Use the number sign (#) at the start of a line or block of code in PowerBuilder to mark the code for specialized processing prior to PowerScript compilation. Each line of code or block of conditional code set off by a leading number sign is automatically parsed by a PowerBuilder preprocessor before it…
Building a Windows Forms Application and Target from Scratch – PB Docs 126
Building a Windows Forms Application and Target from Scratch Use the .NET Windows Forms Application wizard to create a .NET Windows Forms application and target from scratch. Select Start from scratch on the Create the Application page in the wizard. Specify the name of the .NET Windows Forms application and the name and location of…
Syntax 1 For DateTime and blob values – PB Docs 126
Syntax 1 For DateTime and blob values Description Extracts a time value from a DateTime value or a blob. Syntax
|
1 |
<span>Time</span> ( <span>datetime</span> ) |
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…
Creating a .NET Windows Forms Project – PB Docs 126
Creating a .NET Windows Forms Project You can create a project to deploy the application in the target wizard or by using the .NET Windows Forms wizard on the Project page of the New dialog box. On the Specify Project Information page, specify the name of the project and the library in which the project…
.NET Windows Forms Target Wizard – PB Docs 126
.NET Windows Forms Target Wizard Use the .NET Windows Forms Application wizard on the Target page in the New dialog box to create a Windows Forms application and target, and optionally a project. The project lets you deploy the PowerBuilder application to the file system or, if you select the smart client option, to publish…
Show – PB Docs 126
Show PowerScript function Description Makes an object or control visible, if it is hidden. If the object is already visible, Show brings it to the top. Controls Any object Syntax
|
1 |
<span>objectname</span>.<span>Show</span> ( ) |
Argument Description objectname The name of the object or control you want to make visible (show) Return Values Integer. Returns 1 if it succeeds…
Deploying to a production environment – PB Docs 126
Deploying to a production environment The simplest way to deploy a Window Forms application to a production environment is to use smart client deployment. If you cannot or do not want to use smart client deployment, use the following procedure to install the application. Install .NET Framework 2.0, 3.0, or 3.5 on the target computer….
SystemRoutine – PB Docs 126
SystemRoutine PowerScript function Description Provides the routine node representing the system root in a performance analysis model. Controls Profiling object Syntax
|
1 |
<span>instancename</span>.<span>SystemRoutine </span><span></span>( <span>theroutine</span> ) |
Argument Description instancename Instance name of the Profiling object. theroutine A value of type ProfileRoutine containing the routine node representing the system root. This argument is passed by reference. Return Values ErrorReturn. Returns…
String_To_Object – PB Docs 126
String_To_Object PowerScript function Description Gets an object reference based on a passed string. This function is used by PowerBuilder clients connecting to EAServer. Controls JaguarORB objects Syntax
|
1 |
<span>jaguarorb</span>.<span>String_To_Object</span> ( <span>objstring , </span><span>object</span>) |
Argument Description jaguarorb An instance of JaguarORB. objstring A string that represents a CORBA object. The string representation of a CORBA object is an Interoperable Object Reference…