Every Access control has a tag property which stores a string. I’ve used this property before to store information about a control I’ll need later. Kind of a poor man’s custom property.
Let’s say you want to store something in that tag property, but then someone else’s code also stores things in the same tag property? Wouldn’t it be nice to have custom tags that you know wouldn’t get overwritten?
I have a form resizing function that currently uses the actual form tags to store original size and position info. But instead I am planning to create a class to be able to implement the behavior shown in the custom tag section. There will be custom tags available as well as a passthrough to the original control object.
Sound interesting? Stay tuned for more.