The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Cycle through all controls on view
Posted: 13 Apr 06 8:25 AM
|
lexapro side effects skin lexapro side effects in women open lexapro side effects in men medication abortion medical abortion website fiogf49gjkf0d I'm sure this is probably simple, but does anyone know how to cycle through all the controls on a view? I know you can cycle through all views with: For i = 0 to Application.MainViews.Count - 1 aViewName(i) Application.MainViews.Item(i).Name Next
I have like 40 checkboxs on a view and would much rather be able to get the names/values by three lines of code instead of 40. |
|
|
|
Re: Cycle through all controls on view
Posted: 13 Apr 06 11:40 AM
|
fiogf49gjkf0d Use the form properties to get the number of controls and the control collection:
frmName.ControlCount frmName.Controls
Timmus |
|
|
| |
| |
| |
|