Message 1 of 6
Control Names (collection) & 2004 dwg ocx
Not applicable
09-25-2003
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
------- 1 --------
I am trying to loop through all the controls in a frame and if they are not
lables then set some properties, but how do I test the control type ?
Dim oCrl As Control
For Each oCrl In frame1.Controls
If ocontrol <> ??label?? Then
oCtrl.xxx
End If
Next
replace ??label?? with... ?
------- 2 --------
Is there somewhere I can get the ocx Drawing Preview control for acad 2004 ?
(I have seen the code on http://code.acadx.com reguarding this preview
through API calls rather then the control, but I prefer to have the control)
Thanks
I am trying to loop through all the controls in a frame and if they are not
lables then set some properties, but how do I test the control type ?
Dim oCrl As Control
For Each oCrl In frame1.Controls
If ocontrol <> ??label?? Then
oCtrl.xxx
End If
Next
replace ??label?? with... ?
------- 2 --------
Is there somewhere I can get the ocx Drawing Preview control for acad 2004 ?
(I have seen the code on http://code.acadx.com reguarding this preview
through API calls rather then the control, but I prefer to have the control)
Thanks