Powerbuilder Documentation Older

Powerbuilder Documentation Older Version

About preferences and default settings – PB Docs 105

About preferences and default settings Many PowerBuilder applications store user preferences and default settings across sessions. For example, many applications keep track of settings that control the appearance and behavior of the application, or store default parameters for connecting to the database. PowerBuilder applications can manage this kind of information in initialization files or in…

Stopping Database Trace in the development environment – PB Docs 125

Stopping Database Trace in the development environment To stop the Database Trace tool by editing a database profile: In the Database Profile Setup dialog box for the database you are tracing, clear the Generate Trace check box on the Connection tab. Click OK in the Database Profile Setup dialog box. The Database Profiles dialog box…

WaitForUploadAck – PB Docs 125

WaitForUploadAck event Description Occurs when the synchronization process starts a new waiting period for upload acknowledgement. Event ID Event ID Objects None MLSynchronization, MLSync Parameters None Return Values None Usage Use this event to add custom actions when the component is waiting for upload acknowledgement from the MobiLink synchronization server. See Also BeginUpload EndUpload Document…

Providing Help buttons – PB Docs 126

Providing Help buttons A DataWindow object has properties related to online Help. By initializing the DataWindow.Help.File property to the name of a Help file, you can display Help command buttons on dialog boxes that display for a DataWindow during execution. For complete information on the Help-related DataWindow object properties, see the DataWindow Reference. Document get…

mailMessage object – PB Docs 150

mailMessage object The mailMessage object is a system structure containing information about a specific mail message. A mailMessage object has no events. Properties mailMessage property Datatype Description AttachmentFile[ ] mailFileDescription Specifies the file attachment for the current message. A mailFileDescription array contains information about an attachment file. ClassDefinition PowerObject An object of type PowerObject containing…

Developing international applications – PB Docs 105

Developing international applications When you develop an application for deployment in multiple languages, you can take advantage of the Unicode support built into PowerBuilder. You also need to focus on two phases of the development process: The first is the internationalization phase, when you deal with design issues before you begin coding the application. The…

Using the ODBC Interface – PB Docs 125

Using the ODBC Interface About this chapter This chapter gives an introduction to the ODBC interface and then describes how to prepare to use the data source, how to define the data source, and how to define the ODBC database profile. It also describes how to use the Sybase SQL Anywhere ODBC driver. Contents Topic…

BeginLabelEdit – PB Docs 125

BeginLabelEdit event The BeginLabelEdit event has different arguments for different objects: Object See ListView control Syntax 1 TreeView control Syntax 2 Syntax 1 For ListView controls Description Occurs when the user clicks on the label of an item after selecting the item. Event ID Event ID Objects pbm_lvnbeginlabeledit ListView Parameters Argument Description index Integer by value…

Tips on the syntax generated by DWSyntax – PB Docs 126

Tips on the syntax generated by DWSyntax Anything surrounded by <> indicates that a real value must be substituted (without surrounding <>). All other syntax is correct as is including single quotes. Internal to PowerBuilder, all DataWindow object properties are stored in strings. These can represent strings, numbers, or boolean (1/0, yes/no). Where appropriate the…

Scrolling in windows and user objects – PB Docs 150

Scrolling in windows and user objects For scrolling purposes, PowerBuilder divides the window content into 100 lines and 100 columns. Lines, columns, and pages for scrolling do not correlate with any visible aspect of the window (such as the viewable area). A line or a column is the amount scrolled by clicking a scroll bar…