[AccessD] ribbon context

Bill Benson bensonforums at gmail.com
Fri Jan 28 14:30:00 CST 2022


Not what I said couldn’t be done. What you just proposed still has to be
written into every form John.

On Fri, Jan 28, 2022 at 10: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