Discussion Locked
0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
May i know how do people usually standardise the GUI in VB application? different programmer tends to draw the controls based on their own preference, which end up no consistency in the company product. for eg, i want to have all the textboxes background color as yellow, instead of doing it one by one or writing it in the documentation, what else can i do? another eg, i want all the textboxes_KeyDown event to call a SendKeys "{tab}".
4 replies
by whyong
Inside your form keydown event:
Dim Control
For Each Control In Form1.Controls
If TypeOf Control Is TextBox Then
sendkeys "{tab}"
Next Control
same technique applied to change the background color of the textbox if you wish. any questions please email me. happy coding
by ohjani
This question was closed by the author
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies