The IDLgrViewgroup::GetByName function method finds contained objects by name. If the named object is not found, the GetByName function returns a null object reference.
Result = Obj->[IDLgrViewgroup::]GetByName(Name)
Returns contained objects by name. If the named object is not found, the GetByName function returns a null object reference.
A string containing the name of the object to be returned.
Object naming syntax is very much like the syntax of a UNIX filesystem. Objects contained by other objects can include the name of their parent object; this allows you to create a fully qualified name specification. For example, if
object2, which in turn contains
object3, the string specifying the fully qualified object name of object3 would be
Object names are specified relative to the object on which the GetByName method is called. If used at the beginning of the name string, the
/ character represents the top of an object hierarchy. The string
'..' represents the object one level "up" in the hierarchy.