Philip,
I always try to simplify as much as possible when tracking down a bug. What
about commenting out the entire call to RecordFormInit?
> It is a button object. but I have recently commented out the code that gets
the
> button object and now the program dies in the forms event loop.
>
> case frmOpenEvent:
>
> RecordFormInit();
> frmP = FrmGetActiveForm();
> FrmDrawForm ( frmP); <---------------- Dies right here..
> handled = true;
> break;
>
>
> So this little annoying problem has nothing to do with the control I think.
This
> for just does not react kindly to be pointed at! I can't seem to get a valid
> pointer to it... ugh.
> day 3 and I still have no clue where to begin. I could completely recreate
this
> form.. *but* it has a lot of work in it and I'd rather not.
>
> Thanks again,
>
> Philip J.