Concept Framework 2.0 documentation Contents | Index

RBox.ReorderChild

Name Type Access Version Deprecated
ReorderChild function public version 1.0 no

Prototype:
public function ReorderChild(object Child, integer position)

Parameters:
Child      the child that must be reordered
position      the new position in the children list of his parent

Description:
This function changes the order of a child. For example, we have a box, with two buttons, one with the Caption "Button1" and the other one "Button2" . In the box we have Botton1 and then Button2; if box.ReorderChild(button2, 0) is called, then Button2 will appear first(Button2 | Button1).

Returns:
This function returns the result of {SendMessage}(not to be considered important}, but throws the following error messages as string: "Invalid position in reorder child" : if the position is invalid "Object has not children" : if the object has no children

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:09 2011 GMT(c)2011 RadGs Software