Managing information in the Windows registry – PB Docs 2019
Managing information in the Windows registry Functions for accessing the Registry PowerBuilder provides several functions you can use to manage application settings in the Windows registry. Function Description RegistryDelete Deletes a key or a value in a key in the Windows registry. RegistryGet Gets a value from the Windows registry. RegistryKeys Obtains a list of…
MD5 – PB Docs 2019
MD5 PowerScript function Description Calculates the MD5 value of a blob. Applies to CrypterObject object Syntax
1 |
crypter.MD5 (variable) |
Argument Description crypter The name of the CrypterObject object variable A blob whose value is the data you want to process with MD5. When using the system blob function to convert a string to a blob, it is…
Keeping track of tab pages – PB Docs 2019
Keeping track of tab pages To refer to the controls on a tab page, you need the user object reference, not just the index of the tab page. You can use the tab page’s Control property array to get references to all your tab pages. Control property for tab pages The Control property of the…
Language Basics – PB Docs 2019
Language Basics Contents Comments Identifier names Labels Special ASCII characters NULL values Reserved words Pronouns Statement continuation Statement separation White space Conditional compilation About this chapter This chapter describes general elements and conventions of PowerScript. Document get from Powerbuilder help Thank you for watching.
LenA – PB Docs 2019
LenA PowerScript function Description When the argument is a string, temporarily converts the string from Unicode to DBCS based on the current locale, then calculates its length in bytes. When the argument is a blob, no conversion takes place. Syntax
1 |
LenA (stringorblob) |
Argument Description stringorblob The string or blob for which you want the length in…
Linking versus embedding – PB Docs 2019
Linking versus embedding An OLE object can be linked or embedded in your application. The method you choose depends on how you want to maintain the data. Embedding data The data for an embedded object is stored in your application. During development, it is stored in your application’s PBL. When you build your application, it…
InsertPicture – PB Docs 2019
InsertPicture PowerScript function Description Inserts an image at the insertion point in a RichTextEdit control. Applies to RichTextEdit controls Syntax
1 |
rtename.InsertPicture ( filename{, format } ) |
Argument Description rtename The name of the RichTextEdit control in which you want to insert an image filename A string whose value is the name of the file that contains the image format An…
IsImpersonating – PB Docs 2019
IsImpersonating PowerScript function Description Queries whether a COM object running on COM+ is impersonating the client. Applies to TransactionServer objects Syntax
1 |
transactionserver.IsImpersonating ( ) |
Argument Description transactionserver Reference to the TransactionServer service instance Return value Boolean. Returns true if the component is impersonating the client and false if it is not. Usage COM objects running on COM+…
InsertTabButtonFirst – PB Docs 2019
InsertTabButtonFirst PowerScript function Description Inserts a tab button as the first item in the RibbonBar control. Applies to RibbonBar controls Syntax
1 |
controlname.InsertTabButtonFirst ( String Text, String PictureName, String Clicked ) |
1 |
controlname.InsertTabButtonFirst ( RibbonTabButtonItem Item ) |
Argument Description controlname The name of the RibbonBar control. Text The text that displays in the tab button. PictureName The name of the file that contains the picture. It will be displayed as…
Isolation – PB Docs 2019
Isolation database parameter Description Sets the isolation level to use when connecting to the database. In multiuser databases, transactions initiated by different users can overlap. If these transactions access common data in the database, they can overwrite each other or collide. To prevent concurrent transactions from interfering with each other and compromising the integrity of…