Hi,
I have in a Container Control some myEditField (custom class with a raz
method). I simply want to loop throught all control, test if it is a
MyEditField, if so trigger the raz method of this control. I'm using the
following code which fails :
dim n, i as Integer
dim s as MyEditField
n = app.LayoutPraticiens.ControlCount - 1
for i = 0 to (n-1)
if app.LayoutPraticiens.Control(i) isa MyEditField then
s = app.LayoutPraticiens.Control(i)
s.raz
end if
next
It fails on : s = app.LayoutPraticiens.Control(i)
How can I achieve this?
Thanks in advance,
Youri
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>