
click image for larger view.
|
while working on one of my projects, i found the need to create tags (label like) functionality to a map. the tags needed to be editable, draggable and sizeable by the user. i started heading down a road of using control arrays of labels, textboxes and what not to dynamically create and load controls for the user and coding all the logic for resizing and moving. before i got to far i realized, it would just be so much easier to make a control that had all these features and then just have to manage one control array with very minimal code. that night i went home and made my vctag control. the image here shows how i used them in my application. since i made this at home on my time, i felt i could share this control with everyone else. the install includes just the ocx and a demo vb6 project showing it's use. if you need a tag type control that a user can move and resize at will, then here is a free one for you.
please note, that in the screen shot there, you see my tags and lines pointing to the locations on the map. the lines are not part of the control. i don't want you spending hours looking for the method that does that. only the tag without the line is the actual vctag control. sorry if you thought it included the line.
|