I'm sure that I have code similar to this in some other projects, but for
some reason this doesn't seem to work.

  for i = 0 to count
    if self.control(count) isa editfield then
      editfield(self.control(count)).text=""
      
    end
  next

I have about 10 editfields on the window and this code is in a pushbutton on
the window (a clear button).  I went through the debugger and the loop never
evaluates to true (it is an editfield).  

???

~joe

windowsXP
RB2006r3



_______________________________________________
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>

Reply via email to