Problem with Window Resizing code from Dev's site
Many thanks - it worked !! I had put the code in a class module but I
hadn't thought that calling the module by a different name would upset it.
I've learnt something else then !!
Cheers
Quote:
> > I'm using Nicole Calinoiu's WindowResize code called clFormWindows.Bas
found
> > at http://www.mvps.org/access/forms/frm0042.htm.
> > I get a 'User Defined-Type Not Defined' error when I try compiling it.
The
> > problem seems to be in the 'Public Property Get Parent() As
clFormWindow'
> > routine.
> The code from clFormWindow.bas must be copied to a Class Module, not a
normal code
> module.
> See the "Insert Module" icon that has a drop-down arrow next to it. Hit
the arrow
> and select "Class Module" and copy in the text.
> Then, before you compile, save the class module as clFormWindow. Then
compile the
> module.
> --
> '-------------------------------
> ' John Mishefske
> '-------------------------------