Syntax 2: For ListView controls – PB Docs 2017
Syntax 2: For ListView controls Description Searches for the next item whose label matches the specified search text. Applies to ListView controls Syntax
|
1 |
listviewname.FindItem ( startindex, label, partial, wrap ) |
Argument Description listviewname The ListView control for which you want to search for items startindex The index number from which you want your search to begin label The string that is…
Syntax 1: For windows of a known datatype – PB Docs 2017
Syntax 1: For windows of a known datatype Description Opens a window object of a known datatype. OpenWithParm displays the window and makes all its properties and controls available to scripts. It also stores a parameter in the system’s Message object. Applies to Window objects Syntax
|
1 |
OpenWithParm ( windowvar, parameter {, parent } ) |
Argument Description windowvar The name of the window you…
Syntax 2: For user objects of unknown datatype – PB Docs 2017
Syntax 2: For user objects of unknown datatype Description Opens a user object when the datatype of the user object is not known until the script is executed. In addition, OpenUserObjectWithParm stores a parameter in the system’s Message object so that it is accessible to the opened object. Applies to Window objects and user objects Syntax…
Syntax 2: For DDE requests via an open channel – PB Docs 2017
Syntax 2: For DDE requests via an open channel Description Asks a DDE server application to provide data and stores that data in the specified variable when you have already established a warm link by opening a channel to the server. A warm link, with an open channel, is more efficient when you intend to…
Declaring external functions – PB Docs 2017
Declaring external functions Contents Datatypes for external function arguments Calling external functions Defining source for external functions Description External functions are functions written in languages other than PowerScript and stored in dynamic link libraries. On Windows, dynamic libraries have the extension DLL. If you deploy a component written in PowerBuilder to a UNIX server, the…
Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls – PB Docs 2017
Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls Description Occurs when the user double-clicks on the control. Event ID Event ID Objects pbm_lbndblclk ListBox, PictureListBox pbm_lvndoubleclicked ListView pbm_tcndoubleclicked Tab Arguments Argument Description index Integer by value. The index of the item the user double-clicked (for tabs, the index of the tab page). Return Values…
DESTROY – PB Docs 2017
DESTROY Description Eliminates an object instance that was created with the CREATEÂ statement. After a DESTROYÂ statement, properties of the deleted object instance can no longer be referenced. Syntax
|
1 |
DESTROY objectvariable |
Parameter Description objectvariable A variable whose datatype is a PowerBuilder object Usage When you are finished with an object that you created, you can call DESTROYÂ to release…
Syntax 1: For TreeView controls – PB Docs 2017
Syntax 1: For TreeView controls Description Inserts an item in sorted order, if possible. Applies to TreeView controls Syntax
|
1 |
treeviewname.InsertItemSort ( handleparent, label, pictureindex ) |
Argument Description treeviewname The TreeView control in which you want to insert and sort an item as a child of its parent, according to its label. handleparent The handle of the item that will be…
Syntax 2: For RichTextEdit controls – PB Docs 2017
Syntax 2: For RichTextEdit controls Description Determines the line and column position of the insertion point or the start and end of selected text in an RichTextEdit control. Applies to RichTextEdit and DataWindow controls Syntax
|
1 |
rtename.Position ( fromline, fromchar {, toline, tochar } ) |
Argument Description rtename The name of the RichTextEdit or DataWindow control in which you want to find the location…
Syntax 4: For TreeView controls – PB Docs 2017
Syntax 4: For TreeView controls Description Find an item based on its position in a TreeView control. Applies to TreeView controls Syntax
|
1 |
treeviewname.FindItem ( navigationcode, itemhandle ) |
Argument Description treeviewname The name of the TreeView control in which you want to find a specified item. navigationcode A value of the TreeNavigation enumerated datatype specifying the relationship between itemhandle and the…