RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Dec 23, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Live Action Captions

When building a TextBox or Label UserControl, the Caption or Text property sometimes doesn't work well with the standard controls, as the control's appearance doesn't change when you type the value into the Properties window.

To make your UserControl behave the way you want, go to the UserControl's code window and select Procedure Attributes from the Tools menu. Find your Caption or Text property on the combo box and click on Advanced. On the Procedure ID combo box, select Text. Test it by putting an instance of your control on a form and changing the Text or Caption property at design time. The Property Let procedure will fire with each keystroke, allowing your update routine to reflect what the user has typed.

Leonardo Bosi
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date