Quote:
|
obj_bouton.Value = Control(Sender,Event).Data
|
This is not valid. You cannot get a button reference this way. The sender of the event is a Door Event object and its' Data property returns the eventargs object passed to that event which gives some data about the event. There is no way in B4ppc of finding the original control that caused the Door Event.
Perhaps Erel should add a Sender property to the Door Event that could contain a reference to the original control (I've got my own version of the Door library, I think I'll try adding it to that and have a play and see if it works)
EDIT :- Damn! You got in first again Erel while I was writing a reply.