[AccessD] ribbon context

Ryan W wrwehler at gmail.com
Fri Jan 28 09:40:43 CST 2022

Yes I am using your class modules.  Just wondering if I can tie in
OnActivate/OnDeactivate ... problem is I don't have every form in my FE
instantiating an instance of the class right now.

On Fri, Jan 28, 2022 at 9:22 AM John Colby <jwcolby at gmail.com> wrote:

> OnOpen of the form event.
> Dim the class object in the header, create an instance in the OnOpen and
> store it in that variable you created in the form header.  Then do whatever
> the class is supposed to do.
> As an example, I had a clsForm which I used to scan for all my controls,
> loading an instance of a class wrapper for each control found for which I
> had written a class.  For example combos, text boxes, tab controls and
> subforms (for JIT subforms) etc etc.
> On Thu, Jan 27, 2022 at 10:06 PM Bill Benson <bensonforums at gmail.com>
> wrote:
> > Got it. I doubt highly that you can do what you are aiming to do because
> a
> > form has to be instantiated before its object properties and events are
> > “live”.
> --
> John W. Colby
> Colby Consulting
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com

More information about the AccessD mailing list