Post

 Resources 

Console


Determining a control type... Mattman (1 reply, 0 views) (2001-Feb-13)
-
Let's say I have the following definition: Dim ctrl As Control How might I determine the control's type? For example, I want to be able to do something similar to the following (though the following code is made up :P) Select Case ctrl.ControlType Case vbForm ' Code here. Case vbTextBox ' Code here. Case vbLabel ' Code here. End Select Thanks in advance! Matt Huggins


-
Back to Forum

Re: Determining a control type... JimmyG (0 replies) (2001-Feb-14)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 16 visitors within the last 20 minutes
RSS News Feed