Advantages of using inheritance  Control names in descendants

Chapter 10: Working with Windows

Instance variables in descendants

If you create a window by inheriting it from an existing window that has public or protected instance variables with simple datatypes, the instance variables display and can be modified in the descendent window’s Properties view. You see them at the bottom of the General tab page.

Figure 10-4: Instance variables inherited from an ancestor window

All public instance variables with simple datatypes such as integer, boolean, character, date, string, and so on display. Instance variables with the any or blob datatype or instance variables that are objects or arrays do not display.





Copyright © 2004. Sybase Inc. All rights reserved. Control names in descendants

View this book as PDF