Hi,

I've functions in which quite often properties for controls are set.

Thus I could do A)
n times
  oCtrl = oDlgDoc.getControl("name")
  oCtrl.setSomething


or B)  n times
  SetMyControlProp ("name")

which calls
  Sub SetMyControlProp (sN$)
    oCtrl = oDlgDoc.getControl("name")
    oCtrl.setSomething
  End Sub


B) looks cleaner.
However, I've no idea if A or B is faster of better reg. memory usage.

Any ideas?
Thanks,

Cor


--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to