Exception handling in PowerBuilder – PB Docs 105
Exception handling in PowerBuilder When a runtime error occurs in a PowerBuilder application, unless that error is trapped, a single application event (SystemError) fires to handle the error no matter where in the application the error happened. Although some errors can be handled in the system error event, catching the error closer to its source…
Read Only – PB Docs 125
Read Only database preference Description Read Only specifies whether PowerBuilder should update the extended attribute system tables and any other tables in your database. The extended attribute system tables (also known as the extended catalog) consist of five tables that contain default extended attribute information for your database. The Read Only setting determines whether you…
Debugging a .NET Application – PB Docs 125
Debugging a .NET Application After you have deployed a PowerBuilder or Windows Forms application, you can debug it. To open the debugger, you can: Right-click the target or project in the System Tree and select Debug from its context menu. Open the project to debug, and select Design > Debug Project from the Project painter…
Using Multithreading – PB Docs 126
Using Multithreading When you deploy a PowerBuilder application that contains shared objects or an NVO assembly to .NET, the application can be run in a multithreaded environment. The PowerBuilder .NET runtime library also supports .NET synchronization, enabling your application to avoid possible data corruption. .NET Threading in PowerScript This PowerScript code fragment uses .NET threading:…
ExtendedSelect – PB Docs 150
ExtendedSelect property for PowerScript controls Controls ListBox, PictureListBox, ListView controls Description ExtendedSelect specifies whether users can select more than one item in a ListBox or ListView at one time. When ExtendedSelect is enabled, users can select multiple items by clicking on an item and dragging the mouse up or down to select items, using Click…
Using the UDDI Inquiry API – PB Docs 105
Using the UDDI Inquiry API The UDDIProxy PowerBuilder extension class enables you to search UDDI registries for a Web service that you want to access. For a description of this extension class and its methods, see the PowerBuilder Extension Reference or the online Help. Example code The following is example code using all the methods…
CursorUpdate – PB Docs 125
CursorUpdate database parameter Description For those interfaces that support it, CursorUpdate specifies whether cursors in your target database are declared read-only or updatable. Controls DIR Sybase DirectConnect ASE, SYC, and SYJ Sybase Adaptive Server Enterprise Syntax
|
1 |
CursorUpdate=<span>value</span> |
Parameter Description value A number that specifies whether database cursors are declared read-only or updatable. Values are: 0…
Debugging a .NET Component – PB Docs 125
Debugging a .NET Component You can debug .NET components as well as .NET applications that you build in PowerBuilder. .NET Assembly component You can run or debug an assembly project from the PowerBuilder UI if you fill in the Application field (and optionally, the Argument and Start In fields) on the project Run tab in…
Properties for Button controls in DataWindow objects – PB Docs 126
Properties for Button controls in DataWindow objects An x in the M (Modify) column means you can change the property. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property. Property for a Button M Description AccessibleDescription x A description of the control for use by…
TraceGarbageCollect object – PB Docs 150
TraceGarbageCollect object The TraceGarbageCollect object provides information about a node in a trace file identified as an occurrence of garbage collection. To access the extra properties of the TraceGarbageCollect object, you assign a TraceActivityNode object whose activity type is ActGarbageCollect! to the TraceGarbageCollect object. The TraceGarbageCollect object has no events. Properties TraceGarbageCollect property Datatype Description…