Formatting of rich text – PB Docs 150
Formatting of rich text In a RichText control, there are several user-addressable objects: The whole document Selected text and paragraphs Input fields Pictures The user can make selections, use the toolbars, and display the property sheets for these objects. Input fields get values either because the user or you specify a value or because you…
Activating the OLE object – PB Docs 150
Activating the OLE object Generally, the OLE control is set so that the user can activate the object by double-clicking. You can also call the Activate function to activate the object in a script. If the control’s Activation property is set to Manual, you have to call Activate to start a server editing session:
|
1 |
ole_1.Activate(InPlace!) |
…
Selected PowerScript Topics – PB Docs 150
Selected PowerScript Topics About this chapter This chapter describes how to use elements of the PowerScript language in an application. Contents Topic Dot notation Constant declarations Controlling access for instance variables Resolving naming conflicts Return values from ancestor scripts Types of arguments for functions and events Ancestor and descendent variables Optimizing expressions for DataWindow and…
Changing the object in an OLE control – PB Docs 150
Changing the object in an OLE control PowerBuilder provides several functions for changing the object in an OLE control. The function you choose depends on whether you want the user to choose an object and whether the object should be linked or embedded, as shown in Table 19-2. Table 19-2: Functions for changing object in…
Program Access Techniques – PB Docs 150
Program Access Techniques This part presents a collection of techniques you can use to implement program access features in the applications you develop with PowerBuilder. It includes using DDE in an application, using OLE in an application, building a mail-enabled application, and adding other processing extensions. Document get from Powerbuilder help Thank you for watching.
Using the synchronization objects in your application – PB Docs 150
Using the synchronization objects in your application Before you use the generated objects, you should examine them in the PowerBuilder painters to understand how they interact. Many of the function and event scripts contain comments that describe their purpose. All the source code is provided so that you have total control over how your application…
Setting the name and namespace of a PBDOM_ATTRIBUTE – PB Docs 150
Setting the name and namespace of a PBDOM_ATTRIBUTE The W3C “Namespaces in XML” specification (in section 5.3) places restrictions on setting the name and namespace of a PBDOM_ATTRIBUTE. No tag can contain two attributes with identical names, or with qualified names that have the same local name and have prefixes that are bound to identical…
Creating MobiLink users – PB Docs 150
Creating MobiLink users MobiLink users are not the same as database users. Each type of user resides in a different namespace. MobiLink user IDs can match the names of database users, but there is no requirement that they match. To add a MobiLink user to a remote database in Sybase Central: Connect to Sybase Central…
Events for the OLE control – PB Docs 150
Events for the OLE control There are several events that let PowerBuilder know when actions take place in the server application that affect the OLE object. Events for data Events that have to do with data are: DataChange The data has been changed Rename The object has been renamed Save, SaveObject The data has been…
Using PBDOM – PB Docs 150
Using PBDOM This section describes how to accomplish basic tasks using PBDOM classes and methods. To check for complete code samples that you can download and test, select Programs>Sybase>PowerBuilder 15.0>PB 15.0 Code Samples from the Windows Start menu. Document get from Powerbuilder help Thank you for watching.