CornerHeight – PB Docs 2018
CornerHeight property for PowerScript controls Applies to RoundRectangle controls Description The Corner Height property sets the radius of the vertical part of the corners of a RoundRectangle control. The radius is in PowerBuilder units. Usage In a painter To set the CornerHeight property: Enter an integer in the CornerHeight field on the General page of…
Database preferences and supported database interfaces – PB Docs 2018
Database preferences and supported database interfaces Contents AutoCommit Connect to Default Profile Keep Connection Open Lock Read Only Shared Database Profiles SQL Terminator Character Use Extended Attributes The following table lists each supported database interface and the connection-related database preferences you can use with that interface in PowerBuilder. The preferences listed in the table pertain…
Creating and deleting a SQL Anywhere database – PB Docs 2018
Creating and deleting a SQL Anywhere database In PowerBuilder you work within an existing database. With one exception, creating or deleting a database is an administrative task that is not performed directly in PowerBuilder. The one exception is that you can create and delete a local SQL Anywhere database from within PowerBuilder. For information about…
Close – PB Docs 2018
Close PowerScript function Contents Syntax 1: For windows Syntax 2: For OLEStorage objects Syntax 3: For OLEStream objects Syntax 4: For trace files Closes a window, an OLE storage or stream, or a trace file. To close Use A window Syntax 1 An OLEStorage object variable, saving the object and clearing connections between it and…
Compress – PB Docs 2018
Compress PowerScript function Description Compresses the folder or one or more files, or the byte data stream. Applies to CompressorObject objects Syntax
|
1 |
objectname.Compress ( string source, string dest {, ArchiveFormat format }) |
|
1 |
objectname.Compress ( string source[], string dest {, ArchiveFormat format }) |
|
1 |
objectname.Compress ( blob source, ref blob dest {, ArchiveFormat format }) |
Argument Description objectname The name of the CompressorObject object. source A string whose value is the full directory of the folder or one or more files that will be compressed. Or a…
Client_Locale – PB Docs 2018
Client_Locale database parameter Description Client_Locale identifies the locale that the client application uses. When to specify Client_Locale You must specify the Client_Locale parameter before connecting to a database. Applies to I10 Informix Syntax
|
1 |
Client_locale='language_territory.codeset' |
Parameter Description language Two character name that represents the language for a specific locale, for example “en” for English. territory Two…
Committing updates to the database – PB Docs 2018
Committing updates to the database When a Pipeline object executes, it commits updates to the destination table according to your specifications in the Data Pipeline painter. You do not need to write any COMMITÂ statements in your application’s scripts (unless you specified the value None for the Pipeline object’s Commit property). Example For instance, both of…
ConnectToObject – PB Docs 2018
ConnectToObject PowerScript function Description Associates an OLE object with a PowerBuilder OLEObject variable and starts the server application. The OLEObject variable and ConnectToObject are used for OLE automation, in which the PowerBuilder application asks the server application to manipulate the OLE object programmatically. Applies to OLEObject objects Syntax
|
1 |
oleobject.ConnectToObject ( filename {, classname } ) |
Argument Description oleobject The name of an…
Building an MDI frame window – PB Docs 2018
Building an MDI frame window When you create a new window in PowerBuilder, its default window type is Main. Select mdi! or mdihelp! on the General property page to change the window to an MDI frame window. Using menus When you change the window type to MDI, you must associate a menu with the frame….
PBDOM_CDATA Class – PB Docs 2018
PBDOM_CDATA Class Contents PBDOM_CDATA About this chapter This chapter describes the PBDOM_CDATA class. Document get from Powerbuilder help Thank you for watching.