[AccessD] Detached event procedures
Bill Benson
bensonforums at gmail.com
Wed Mar 11 14:37:30 CDT 2015
Like! cheers for Gustav.
On Sat, Mar 7, 2015 at 9:39 AM, Gustav Brock <gustav at cactus.dk> wrote:
> ?Hi all
>
>
> If you on a form decide to move some controls into a tab control, you
> normally do a cut and paste of these controls - from the form into a page
> of the tab control.
>
> Then all the events of the controls get cleared; the [Event Procedure]
> markings are gone and the code behind is detached though still present.
>
>
> To restore these settings, open the code module of the form:
>
>
> 1. Mark all code with Ctrl+A
>
> 2. Cut it away with Ctrl-X
>
> 3. Select menu Debug, Compile
>
> 4. Paste all the code back into the empty module with Ctrl-V
>
> 5. Select Debug, Compile
>
>
> Now your event procedures are hooked up again.
>
>
> I knew of this little trick but had forgotten the details and found it
> here after much searching:
>
>
> http://bytes.com/topic/access/answers/632851-detached-event-procedures
>
>
> /gustav
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
More information about the AccessD
mailing list