VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Autohighlight active control (MDI Form)

Marcel A. Fritsch  (3 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is a very simple and useful solution to highlight input controls without writting a function for each control. Only include a module with the code shown below (rename MDIFORM with your MDIForm) and call SetHook at the MDIForm_Load function and and Unhook at the MDIForm_QueryUnload function. Please vote, if you think its a good solution.

Side Effects
When running this progam in the IDE do not use the STOP-Button to exit the program, because the unhook function will not be executed and the IDE crashes!!!

Rate Autohighlight active control (MDI Form) (5(5 Vote))
Autohighlight active control (MDI Form).bas

Autohighlight active control (MDI Form) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters