public string AggregateControlgetValue(coGuiControl thisobj) { for (uint i = 0; i < thisobj.getCount(); i++) { string obj = thisobj.getObject(i); if (console.GetVarString(obj + ".internalName") != "") { return(console.Call(obj, "getValue")); } } return(""); }
public void AggregateControlsetValue(coGuiControl thisobj, string val, string child) { for (uint i = 0; i < thisobj.getCount(); i++) { string obj = thisobj.getObject(i); if (obj == child) { continue; } if (console.GetVarString(obj + ".internalName") != "") { setValueSafe(obj, val); } } }