Hello,
first: please excuse my limited English. I'll try my best.
I am moving from VB6 to VB2017 and I know how to change e.g. the colour of all buttons during runtime.
Dim C as Control
For Each C in Form.Controls
If TypeOf C = Button Then ....
Is it possible to do the same with menues? So if the user wants to make everything bigger or smaller, depending of the monitor.
I tried to substitute the expressions "Control", "Controls" and "Button" but didn't find a solution.
Who can help?
Regards
Sokrates from Germany
first: please excuse my limited English. I'll try my best.
I am moving from VB6 to VB2017 and I know how to change e.g. the colour of all buttons during runtime.
Dim C as Control
For Each C in Form.Controls
If TypeOf C = Button Then ....
Is it possible to do the same with menues? So if the user wants to make everything bigger or smaller, depending of the monitor.
I tried to substitute the expressions "Control", "Controls" and "Button" but didn't find a solution.
Who can help?
Regards
Sokrates from Germany