ACTIVATE WINDOW (frmGuest.Name) IN WINDOW (frmHost.Name)>Are we asking for trouble handling forms through ACTIVATE WINDOW?
PUBLIC otopform otopform = CREATEOBJECT("topform") otopform.show() DEFINE CLASS topform as Form mdiform = .t. showwindow =2 && As top level backcolor = RGB(255,255,255) ochild = null FUNCTION click() this.ochild = CREATEOBJECT("childform") this.ochild.show() ENDFUNC ENDDEFINE DEFINE CLASS childform as Form mdiform = .f. showwindow =1 && in top level backcolor = RGB(0,0,200) FUNCTION click() thisform.Release() ENDFUNC ENDDEFINE
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature