Modifying an existing style – PB Docs 2021
Modifying an existing style Contents Identifying the window as the basis of a style The easiest way to get started building form styles is to copy an existing form style and work with it. By examining its structure and making small changes, you can quickly understand how form styles work. To begin by modifying an…
LineColor – PB Docs 2021
LineColor property for PowerScript controls Applies to Line, Oval, Rectangle, RoundRectangle controls Description The line color is the color for the border and the lines in the control’s fill pattern. Usage In a painter To change the line color: Select a color from the Line Color drop-down list on the General page of the control’s…
Lookup (obsolete) – PB Docs 2021
Lookup (obsolete) Contents Syntax 1: For CORBA-compliant EAServer components Syntax 2: For instances of an EJB component Allows a PowerBuilder client or component to obtain a factory or home interface in order to create an instance of an EAServer component. This function is used by PowerBuilder clients connecting to components running in EAServer, and by…
mailDeleteMessage – PB Docs 2021
mailDeleteMessage PowerScript function Description Deletes a mail message from the user’s electronic mail inbox. Applies to mailSession object Syntax
1 |
mailsession.mailDeleteMessage ( messageid ) |
Argument Description mailsession A mailSession object identifying the session in which you want to delete the message messageid A string whose value is the ID of the mail message to be deleted Return value mailReturnCode….
mailMessage object – PB Docs 2021
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…
IsValid – PB Docs 2021
IsValid PowerScript function Description Determines whether an object variable is instantiated — whether its value is a valid object handle. Syntax
1 |
IsValid ( objectvariable ) |
Argument Description objectvariable An object variable or a variable of type Any — typically a reference to an object that you are testing for validity Return value Boolean. Returns true if objectvariable is…
IsNull – PB Docs 2021
IsNull PowerScript function Description Reports whether the value of a variable or expression is null. Syntax
1 |
IsNull ( any ) |
Argument Description any A variable or expression that you want to test to determine whether its value is null Return value Boolean. Returns true if any is null and false if it is not. Usage Use IsNull to…
Learning what can go in the package – PB Docs 2021
Learning what can go in the package No matter which compiler format you pick, an application that you create in PowerBuilder can consist of one or more of the following pieces: An executable file Dynamic libraries Resources To decide which of these pieces are required for your particular project, you need to know something about…
ItemPictureIndex[ ] – PB Docs 2021
ItemPictureIndex[ ] property for PowerScript controls Applies to PictureListBox, DropDownPictureListBox, ListView Description The ItemPictureIndex property array identifies the pictures associated with items in the control. This array is not updated after initialization. Usage In a painter To associate pictures with list items: Display the Pictures tab page in the control’s Properties view and add the…
LargePictureHeight – PB Docs 2021
LargePictureHeight property for PowerScript controls Applies to ListView controls Description The LargePictureHeight property specifies the display height of all the pictures in the Large Icon view of the ListView control. The size is specified in pixels. If you choose the value (Default) in the painter, or set the value to 0, PowerBuilder uses the height…