Hi Drew,

> Sub Main( oEv as object )
> dim cntr
> dim oDataForm
> dim CurrentControl
> dim sTime
> dim eTime
> 
> oDataForm = oEv.Source.Model.Parent
> sTime = now()
> 
> for cntr = 0 to uBound(oDataForm.ControlModels)
>    CurrentControl = oDataForm.ControlModels(cntr)             
> next

If you do
  CurrentControl = oDataForm.getByIndex( cntr )
instead, how does that change the time?

(ControlModels comes from XTabController.getControlModels, which means
you always ask for the complete list of all models, which needs to be
translated into Basic objects, then pick one, and discard all others.
getByIndex explicitly only asks for a certain object.)

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [email protected] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to