is it posible to have an item change event in a public modual?

J

James

is it posible to have an item change event in a public modual? i.e. i want
to detect if a user changes a field, but i want to run this from a modual,
not in the form.
 
M

Michael Bauer

On Mon, 8 Aug 2005 12:16:15 -0700 James wrote:

No, events can be received in class modules only. You could receive the
event and call a public method in the standard module.
 
J

James

oh, ok class's will do fine. do you know how i would reference a textbox
change event in a class? my form is a Business Contact Manager form if that
matters (they can't be modified, thats why i want to try to trap the event
some where else than behind the form.)
 
M

Michael Bauer

Am Tue, 9 Aug 2005 09:42:37 -0700 schrieb James:

James, you can´t trap TextBox_Change via the OOM. But what is about the
Item´s PropertyChange?
 
J

James

how do i use the item_propertyChange event for what i need?
public Item_PropertyChange(Name as what?)

select case would go here?

end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top