lnMinTabIndex = 2147483647 && 0x7FFFFFFF for each loControl in this.Controls if ( loControl.TabIndex < lnMinTabIndex ) this.cFirstControl = loControl.Name lnMinTabIndex = loControl.TabIndex endif endfor>Hmmm, sounds much more complicated than I thought, and more than the example I saw for going through the controls on the form. Maybe it would be better to create a property to hold the appropriate control? But I'd still want to know the real first control if that property was not populated.