Returns the parent class of the specified class. Returns NULL if the class has no parent class.
[ ] //My declarations
[ ] window MainWin TestApplication
[-] window DialogBox xCheckBox
[ ]
[-] main ()
[ ] LIST OF WINDOW lw = {TestApplication, xCheckBox}
[ ] WINDOW w
[-] for each w in lw
[ ] RelatedClasses(w)
[ ]
[-] testcase RelatedClasses(WINDOW w) appstate none
[ ] Print ("Class is: {ClassOf(w)}, Parent Class is: {GetParentClass(ClassOf(w))}")
[ ]
[ ] // Testcase returns for TestApplication and xCheckBox:
[ ] // Class is: MainWin, Parent Class is: MoveableWin
[ ] // Class is: DialogBox, Parent Class is: MoveableWin