|
-
February 10th, 2000, 10:22 AM
#1
Add in
Hello,
I was wondering if anyone know of an addin that will show me what controls are on what forms in my project.
The reason for this is that a while ago I tried to remove a component from a project I was working on to be told that it was in use couldn't be removed.
After a long time of searching i found that one of the people that had worked on the project had added it to a form and shrunk it down to the size of a full stop.
I realise now that I can do a "find in files" search on my project folder but an add in to VB would be very handy.
Cheers.
-
February 10th, 2000, 10:33 AM
#2
Re: Add in
Uhmm nope I don't know an add-in which does it, but you write your own, you can enum all files in the project and filter out the forms, and of each form, enum all controls. I don't think it's very hard to do. (at least not to get it basically working)
Crazy D :-)
"One ring rules them all"
-
February 10th, 2000, 10:36 AM
#3
Re: Add in
You don't need an Add-In to do this. The 'Properties' window in VB5/6 contains a combo-box with the name / type of all the controls on the form. You can cycle through each of these and they'll be selected in turn. If you can't see the control, then set it's top / left properties to 0 and change the width, height appropriately.
(Quick hint/tip: if it's behind some other control, right-click on one of the 'sizing-boxes' and select 'bring-to-front')
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|