Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Init not fire!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Init not fire!
Miscellaneous
Thread ID:
00325756
Message ID:
00325756
Views:
48
Note: I'm using a traslator..

I have several objects that they encapsulate to ADO. From an object, in method object1.Open() i call to another object of the same class also to method object2.Open(). Nevertheless, the Init event of object2 is not executed, but before of which all other objects have been created. This already see this before, and solves it placing most of the code in method Open(). Nevertheless, now I need one better solution. That I can do?


*-- Original
Tengo varios objetos que encapsulan a ADO. Desde un objeto, en el metodo object1.Open llamo a otro objeto de la misma clase tambien al metodo object2.Open. Sin embargo, el evento Init de object2 NO se ejecuta, sino despues de que los demas objetos se hayan creado. Esto ya lo habia notado antes, y lo solucione colocando la mayor parte del código en el metodo Open. Sin embargo, ahora necesito una mejor solución. Que puedo hacer?
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Reply
Map
View

Click here to load this message in the networking platform