Le 24 avr. 07 à 16:55 Soir, Norman Palardy a écrit: > Do TextWndNoscroll and TextWndHscroll share a common root class ? > > if so you could declare the global to be that common root class once > and then use it as needed
...and to reuse the object later, use this syntax: if w isa TextWndNoscroll then TextWndNoscroll(w).MyProperty=24 elseif w isa TextWndHscroll then TextWndHscroll(w).MyProperty=86 end if _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
