>What's the best way to use BINDEVENT associated to the INIT event ?
>
>I've created a class that needs to have some code run after all the objects of a form are initialized. So I added a
>
BINDEVENT(Thisform, "Init", This, "AfterFormInit")
>
>But this does not work as desired if the INIT method of the form is empty.
>If I write any code on it, such as
>
DODEFAULT()
>Everything works fine.
>
>Can someone provide any tip ?
>Thanks in antecipation
Hi Cesar,
The help for BINDEVENT() Function states, that "certain events such as When and Valid require code in the event for it to occur" but it doesn't provide complete list of such events. The ERROR() and DESTROY() events fall in this category. Seems that you found one more - INIT().
--sb--