Event Caller question

  • Thread starter Thread starter Luca Giannoni
  • Start date Start date
L

Luca Giannoni

Hi to everybody,

I have this problem

I attach an event to a group of control from code:
Set Frm = Fom_Test
for ii = 1 to 100
Frm.Controls("Label" & ii).OnClick = "=Event_Click()"
Next

Event_Click() is on form Form_Test

Sub Event_Click()
' code to apply to label caller
End Sub

when the event "raise" I need to know wich object (label) call the event.

Someone could help me?

thanks in advance

Luca
 
Answered in another NG where you posted the same question.

Please don't post the same question to multiple NGs, at best
it's a waste of everyone's time. See:
http://www.mvps.org/access/netiquette.htm
for additional suggestions on making effective use of the
newsgroups.
 

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

Back
Top