This is the only way I know
dim i as Integer
for i=0 to ControlCount-1
if Control(i)=me then exit
next
Joe
On Aug 31, 2004, at 1:07 pm, Bob Gordon wrote:
Hello.
All the controls in a window are available through the
window's control array. So, each control effectively
has an "index number" in the array.
Is is possible to know what the index number of a
control is?
For example, given an arbitrary control, I wish to
hide or show the next five controls. I could loop
through the entire array, but it would be nice if I
knew where to start.
-Bob Gordon
=====
Coming Soon!
The Book of Fictional Days 2005
Ask for it at a bookstore near you or directly from the publisher at:
http://www.tide-mark.com/book-fictional-days.html
Published by Tide-mark.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|