[AccessD] Building a control class

A.D.Tejpal adtp at airtelmail.in
Thu Mar 12 13:37:30 CDT 2009


John,

    Thanks for clarifying the points raised in earlier posts.

    In your view, what could be the best strategy for projecting the events pertaining to form object variable in form class, into the control class ?

    If a WithEvents variable of form type is declared in control class and is set equal to the form variable belonging to form class, it hampers proper closing. Similar is the case if it is set equal to parent of  the incoming control argument.

    On the other hand, if a custom event is raised in form object's event (say current event) in form class, thereby enabling setting up of WithEvents object of form class type (set equal to the form class) in the control class, the said event does come up in the intellisense but does not show any activity.

Best wishes,
A.D. Tejpal
------------


More information about the AccessD mailing list