by Robertspark » Thu Oct 20, 2016 4:40 pm
List of function descriptions not in the manual...... (these are my interpretations )
Addcombobox()
Function: void Addcombobox( int posX, int posY, int width, int fontsize, int fontcolor, int Numberofaxis, int comboboxnumber , int layernumber )
Description: This function adds a combo box object.
Parameters:
• The posX and posY define the top-left corner position of the combobox object, and are in pixels.
• The width defines the dimensions of the combobox object, and is in pixels.
• The fontcolor is the color of the font in integer format of the RGB color code.
• The fontsize defines the size of the font used to render the field text.
• The Numberofaxis defines
• The comboboxnumber is the unique identifier of the combobox object.
• The layernumber is the number of the tab layer the combobox object will appear on.
Example: AS3.Addcombobox(532, 126, 130, 16, -16777216, 3, 11, 45);
Addcomboboxitem()
Function: void Addcomboboxitem(string value, int comboboxnumber )
Description: This function adds a value to a combo box.
Parameters:
• The value defines the string to be added to the combobox.
• The comboboxnumber is the unique identifier of the object.
Example: AS3.Addcomboboxitem("Spiral drill", 11);
Validatenewcomboboxitems()
Function: void Validatenewcomboboxitems( int comboboxnumber )
Description: This function validates the items added to a combo box, it is called after all Addcomboboxitem functions have been called to add items to the combobox with the same unique comboboxnumber.
Parameter:
• The comboboxnumber is the unique identifier of the combobox object.
Example: AS3.Validatenewcomboboxitems(11);
Getcomboboxselection()
Function: string Getcomboboxselection( int comboboxnumber )
Description: This function returns the value selected within a combobox.
Parameter:
• The comboboxnumber is the unique identifier of the object.
Example: AS3. Getcomboboxselection (11);
Clearcomboboxitems()
Function: void Clearcomboboxitems( int comboboxnumber )
Description: This function clears all items from a combo box.
Parameter:
• The comboboxnumber is the unique identifier of the object.
Example: AS3.Clearcomboboxitems(11);
Updatecomboboxselection()
Function: void Updatecomboboxselection( int index, int comboboxnumber )
Description: This function updates the combo box and sets focus on the index item (starting at index zero (0) ).
Parameter:
• The index is the item number in the list to be selected at screen load.
• The comboboxnumber is the unique identifier of the object.
Example: AS3.Updatecomboboxselection(0,11);