Procedures that Act on a Group of Controls

Procedures that Act on a Group of Controls

You can use the almost-forgotten ability of Visual Basic to have a function or sub with an undeterminednumber of arguments do something to a set of controls. For example, you can enable/disable many controlswith one sub call:

 EnableAll True, Text1, Text2, _        Command1, Command2

This procedure iterates on all the controls passed as arguments:

 Sub EnableAll(Enabled As Boolean, _        ParamArray objs() As Variant)                Dim obj As Variant                For Each obj In objs                        obj.Enabled = Enabled                Next objEnd Sub
Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved