|    18/05/06 ~ 22:11 -0400 :
|    Russ Jones,
|         " Re: Same code, different frame ? "

if TheWindow isa MyDocumentWindow then
// code using mdw
elseif TheWindow isa MyPaletteWindow then
// code using mpw
end

This is where the work gets doubled...



|    18/05/06 ~ 21:17 -0500 :
|    Keith Bennett,
|         " Re: Same code, different frame ? "

Sub SomeFunctionThatIsWindowIndependant(Param As MyWindowInterface)
 MyWindowInterface.DoSomething()
End Sub

This seems to be a lazier way!
I will try so.

Thanks to you two!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to