|To:||realBASIC NUG <realbasic-nug at lists dot realsoftware dot com>|
|Subject:||Looping through controls in a container object|
|From:||Steve Davis <sdavis at alphagraphics dot com>|
|Date:||Tue, 02 Dec 2003 01:33:28 -0700|
I have a tab panel, which I assumed was a control collection object, and I want to loop through all the EditFields to set text = "".
My assumption was that since the Tab Panel allowed for embedded objects I could loop though them like a collection. I do this all the time in VB.Net. For instance
For each control in TabDetails.Index(0)
If control TypeOf(EditField) Then
control.Text = ""
Can I do this in RB?
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Custom EditField Scrollbar implementation, Harrie Westphal|
|Next by Date:||Re: Is XML what I want?, Michael Rebar|
|Previous by Thread:||Stepping through Selected Rows on a Listbox, Keith Hutchison|
|Next by Thread:||Re: Looping through controls in a container object, Will Leshner|
|Indexes:||[Date] [Thread] [Top] [All Lists]|