DisplayOnly – PB Docs 150
DisplayOnly property for PowerScript controls Controls MultiLineEdit, SingleLineEdit, RichTextEdit, EditMask controls Description When the Display Only property is enabled, users cannot change the text in an editable control. If the property is not enabled, users can change the text. Usage In a painter To specify that text is display only: Select the Display Only check…
Using the runtime automation server – PB Docs 100
Using the runtime automation server Use PowerBuilder COM servers This chapter focuses on the use of the PowerBuilder runtime automation server. PowerBuilder COM/COM+ server generation is the preferred technique for building COM-compliant servers. The PowerBuilder automation server technology might be discontinued in a future release. For information about generating PowerBuilder COM objects from custom class…
Using the EAServer Thread Manager – PB Docs 125
Using the EAServer Thread Manager The Thread Manager is a built-in EAServer component that allows you to run EAServer component instances in threads that execute independently of client method invocations. You can use threads spawned by the Thread Manager to perform any processing that must occur asynchronously with respect to user interaction. For example, you…
ReplaceW – PB Docs 125
ReplaceW PowerScript function Description Replaces a portion of one string with another. This function is obsolete. It has the same behavior as Replace in all environments. Syntax
1 |
<span>ReplaceW</span> ( <span>string1</span>, <span>start</span>, <span>n</span>, <span>string2</span> ) |
Document get from Powerbuilder help Thank you for watching.
GetClickedRow – PB Docs 126
GetClickedRow method (DataWindows) Description Obtains the number of the row the user clicked or double-clicked in a DataWindow control or DataStore object. Controls DataWindow type Method applies to PowerBuilder DataWindow control, DataStore object Web Client control Web ActiveX DataWindow control Syntax [PowerBuilder]
1 |
long <span>dwcontrol</span>.<span>GetClickedRow</span> ( ) |
[Web DataWindow client control and Web ActiveX]
1 |
number <span>dwcontrol</span>.<span>GetClickedRow</span> ( ) |
Argument Description dwcontrol A…
User-Drawn Controls in DataWindow Objects – PB Docs 150
User-Drawn Controls in DataWindow Objects The Paint expression functions allow you to draw objects in the DataWindow such as polygons, arrow tips, pie slices, and so on. The Paint expression function takes one string expression argument and returns the same string. This allows you to paint inside a DataWindow in a way that respects the…
Sharing database profiles – PB Docs 100
Sharing database profiles When you work in PowerBuilder, you can share database profiles among users. Sharing database profiles between Sybase tools Since the database profiles used by PowerBuilder, InfoMaker, and DataWindow Designer are stored in a common registry location, database profiles you create in any of these tools are automatically available for use by the…
PBDOM_OBJECT – PB Docs 125
PBDOM_OBJECT The PBDOM_OBJECT class represents any node in an XML node tree and serves as the base class for specialized PBDOM classes that represent specific node types. The DOM class that corresponds to PBDOM_OBJECT is the Node object. PBDOM_OBJECT contains all the basic features required by derived classes. A node can be an element node,…
mailLogoff – PB Docs 125
mailLogoff PowerScript function Description Ends the mail session, breaking the connection between the PowerBuilder application and mail. If the mail application was already running when PowerBuilder began the mail session, it is left in the same state. Controls mailSession object Syntax
1 |
<span>mailsession</span>.<span>mailLogoff</span> ( ) |
Argument Description mailsession A mailSession object identifying the session from which you want…
SaveAs – PB Docs 126
SaveAs method (DataWindows) Description Saves the contents of a DataWindow or DataStore in the format you specify. For syntax to save the contents of graphs in DataWindows and DataStores, see SaveAs. For syntax to save objects in OLE controls and OLE storage, see SaveAs in the PowerScript Reference. Controls DataWindow type Method applies to PowerBuilder…