Difference between revisions of "PropertyListBox.CellValue"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(11 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
| parameters=PropertyName As String, RaiseCellValueChanged As Boolean = False, Assigns Value As String
 
| parameters=PropertyName As String, RaiseCellValueChanged As Boolean = False, Assigns Value As String
 
| returntype=
 
| returntype=
 +
| version=1.8
 
| platform=all
 
| platform=all
 
}}
 
}}
Line 12: Line 13:
  
 
Assigns the Value to the Property found by its name.
 
Assigns the Value to the Property found by its name.
The PropertyName is considered as an object.
+
The ''PropertyName'' is considered as an object.
 
If you want to assign a value to a parameter but several Properties share the same name under different headers then refer to the Property as:
 
If you want to assign a value to a parameter but several Properties share the same name under different headers then refer to the Property as:
 
HeaderName.PropertyName
 
HeaderName.PropertyName
Line 18: Line 19:
 
If the Property wasn't found then it will search through each Property and assign the value
 
If the Property wasn't found then it will search through each Property and assign the value
 
even if it is a header.
 
even if it is a header.
RaiseCellValueChanged is optional. If True, the CellValueChanged event will fire after assigning the Value.
+
RaiseCellValueChanged is optional. If True, the [[PropertyListBox.CellValueChanged|CellValueChanged]] event will fire after assigning the Value.

Latest revision as of 17:27, 9 October 2015

Method
PropertyListBox.CellValue ( PropertyName As String, RaiseCellValueChanged As Boolean = False, Assigns Value As String )


Assigns the Value to the Property found by its name. The PropertyName is considered as an object. If you want to assign a value to a parameter but several Properties share the same name under different headers then refer to the Property as: HeaderName.PropertyName

If the Property wasn't found then it will search through each Property and assign the value even if it is a header. RaiseCellValueChanged is optional. If True, the CellValueChanged event will fire after assigning the Value.