About structures – PB Docs 2017
About structures General information A structure is a collection of one or more variables (sometimes called elements) that you want to group together under a single name. The variables can have any datatype, including standard and object datatypes and other structures. Defining structures When you define a structure in the Structure painter or an object…
Syntax 1: For ListView and Tab controls – PB Docs 2017
Syntax 1: For ListView and Tab controls Description Occurs when the user clicks the right mouse button on the ListView control or the tab portion of the Tab control. Event ID Event ID Objects pbm_lvnrclicked ListView pbm_tcnrclicked Tab Arguments Argument Description index Integer by value (the index of the item or tab the user clicked) Return…
Syntax 1: For all graph types except scatter – PB Docs 2017
Syntax 1: For all graph types except scatter Description Adds a data point to a series in a graph. Use Syntax 1 for any graph type except scatter graphs. Applies to Graph controls in windows and user objects. Does not apply to graphs within DataWindow objects because their data comes directly from the DataWindow. Syntax…
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…
Space – PB Docs 2017
Space PowerScript function Description Builds a string of the specified length whose value consists of spaces. Syntax
|
1 |
Space ( n ) |
Argument Description n A long whose value is the length of the string to be filled with spaces. The maximum value is 2,147,483,647. Return value String. Returns a string filled with n spaces if it succeeds and the…
Syntax 1: for DatePicker control – PB Docs 2017
Syntax 1: for DatePicker control Description Sets the date and time in the Value property of the control. Applies to DatePicker control Syntax
|
1 2 |
controlname.SetValue ( d, t ) controlname.SetValue ( dt ) |
Argument Description controlname The name of the control for which you want to set the date and time d The date value to be set in the Value property t The…
Syntax 4: For ListView controls – PB Docs 2017
Syntax 4: For ListView controls Description Adds an item to a ListView control by referencing all the attributes in the ListView item. Applies to ListView controls Syntax
|
1 |
listviewname.AddItem ( item ) |
Argument Description listviewname The name of the List View control to which you are adding a picture or item item The ListViewItem variable containing properties of the…
Syntax 2: for JSONPackage object – PB Docs 2017
Syntax 2: for JSONPackage object Description Sets the value for a key. If the key does not exist, then create the key and set its value. If the key already exists, then overwrite the value of this key. If more than one key with the same name already exists, then overwrite the value of the…
Syntax 2: For windows – PB Docs 2017
Syntax 2: For windows Description Occurs when the pointer is moved within the window. Event ID Event ID Objects pbm_mousemove Window Arguments Argument Description flags UnsignedLong by value (the modifier keys and mouse buttons that are pressed). Values are: 1 — Left mouse button 2 — Right mouse button 4 — Shift key 8 — Ctrl…
Syntax 1: For single DDE requests – PB Docs 2017
Syntax 1: For single DDE requests Description Asks a DDE server application to provide data and stores that data in the specified variable without requiring an open channel. This syntax is appropriate when you will make only one or two requests of the server. Syntax
|
1 |
GetRemote ( location, target, applname, topicname {, bAnsi} ) |
Argument Description location A string whose value is the…