Rick,
I'm having what I assume is a scoping problem using the native API and
can't figure out how to do what I want.
In Rexx I can do this:
stFont1 = self~getStaticControl(IDC_ST_FONT1)
say 'Static control:' stFont1 'is a DialogControl?'
stFont1~isA(.DialogControl)
and get this output:
Well, the best design pattern for something like this would be not do
the test for the control type, but have a method call at the point
where you need to distinguish between the objects and have the
dialogcontrol override that method to produce the different behaviour.
Another approach might be
On Wed, Jan 14, 2009 at 6:54 PM, Rick McGuire object.r...@gmail.com wrote:
Well, the best design pattern for something like this would be not do
the test for the control type, but have a method call at the point
where you need to distinguish between the objects and have the
dialogcontrol
On Wed, Jan 14, 2009 at 7:57 PM, Mark Miesfeld miesf...@gmail.com wrote:
On Wed, Jan 14, 2009 at 6:54 PM, Rick McGuire object.r...@gmail.com wrote:
Well, the best design pattern for something like this would be not do
the test for the control type, but have a method call at the point
where