Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events order
Message
From
20/04/2002 12:05:21
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
 
 
To
15/04/2002 15:41:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00644964
Message ID:
00647219
Views:
16
No form property.
My question was basicaly about order of events - init - at form load wich as far as I know must be DE.cursors.init, DE.init, form.objects.init, form.init, ....
It's happen to this form to be form.someobjects.init, DE.cursors.init, DE.init, form.otherobjects.init, form.init, ....
I do not explicitly call any of init method.
As you see below the DE.init is in middle of form objects init.
It's not a strict order of events that suppoase to be at every form load?

>Did you create a FORM property (for the array's rowsource property) used in the combobox defined with something like:
>
>myarray(1,1)
>
>and then populate the array again in either the Form's init (or combobox init) and issue a requery() on the combobox? Also, if code in the form's init or the combox boxe's init, do you have a DODEFAULT() in both also?
>
>Tracy
>
>>No, only SET statements for deleted, century, date, exact, ....
>>I compile 'n' times before and was fine, doing some modification on a method in form 'calcul', setting tab order and on next compile I got error "Array not defined" from a combo.init wich is supposed to be created in DE.init (array for combo.rowsource is created in DE)
>>
>>>Do you've any code in the Load of the form that could change the event order?
>>>
>>>>Hi,
>>>>
>>>>As I know so far order of events at form load was:
>>>>form.de.beforeopentables
>>>>form.load
>>>>form.de.cursor1.....n.init
>>>>form.de.init
>>>>form.objects.init
>>>>form.init
>>>>
>>>>now when debuging some errors in one form I get this order of events:
>>>>54259.007, frmlistasomaj.sup.option1.Init()
>>>>54259.007, frmlistasomaj.sup.option2.Init()
>>>>54259.017, frmlistasomaj.sup.Init()
>>>>54259.017, frmlistasomaj.dataenvironment.cursor1.Init()
>>>>54259.027, frmlistasomaj.dataenvironment.cursor5.Init()
>>>>54259.027, frmlistasomaj.dataenvironment.cursor2.Init()
>>>>54259.037, frmlistasomaj.dataenvironment.cursor3.Init()
>>>>54259.037, frmlistasomaj.dataenvironment.cursor4.Init()
>>>>54259.047, frmlistasomaj.dataenvironment.cursor6.Init()
>>>>54259.047, frmlistasomaj.dataenvironment.cursor7.Init()
>>>>54259.047, frmlistasomaj.dataenvironment.Init()
>>>>54259.097, frmlistasomaj.nrinreg.Init()
>>>>54259.097, frmlistasomaj.Init()
>>>>54259.107, frmlistasomaj.month.RangeLow()
>>>>54259.107, frmlistasomaj.month.RangeHigh()
>>>>54259.117, frmlistasomaj.month.ProgrammaticChange()
>>>>
>>>>this look like init for dataenvironment is between some onject within form
>>>>
>>>>Any help?
>>>>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform