
04-09-2004, 09:49 AM
|
 |
Ultimate Contributor
* Expert *
|
|
Join Date: Apr 2004
Location: Illinois
Posts: 2,499
|
|
|
Refer to your VB help files & look at TypeOf and VarType. The latter does what I think you are asking. VarTypes can be combined (i.e., a byte array is vbByte OR vbArray). Now if you want types of objects too, good luck. You'll never be able to test for all of them (i.e., status bars, flex grids, etc). However, VB's TypeOf would do most of the work for things like labels, textboxes, checkboxes, etc.
|
|