Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

Windows Phone

540

Solutions

870

Contributors

Windows Phone (WP) is a family of mobile operating systems developed for smartphones as the replacement successor to Windows Mobile and Zune.  Windows Phone features a new user interface derived from Metro design language. Windows 10 Mobile succeeded Windows Phone 8.1 and emphasizes a larger amount of integration and unification with its PC counterpart—including a new, unified application ecosystem, along with an expansion of its scope to include small-screened tablets.

Share tech news, updates, or what's on your mind.

Sign up to Post

Windows Phone Theme Colours
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
3
 

Expert Comment

by:John Clark
Comment Utility
Gustav,

I adapted my application to this and I could not believe how efficient and easy this was to do. I see myself deleting a HUGE amount of redundant code and using Class Module in the future. They have always intimidated me and quite frankly, I did not see the use of them until I needed something similar to what you did here. The link you provided to John Colby's Blog was spot-on and VERY informative.

A question on this method however, the particular functionality I am trying to achieve applies to Text and Combo boxes. Reading JC's Blog led me to believe that I would need another Class to handle each type of Object.

Did I comprehend that correctly or can I include more than one Object in this Class?

Great stuff!

John
0
 
LVL 52

Author Comment

by:Gustav Brock
Comment Utility
Yes, you implement many classes, perhaps one for each type of control.

Or you can modify this check:

    If Control.ControlType = acTextBox Then

to check for other control types as well. And then either apply the same or different methods.

Or do both. Or add more conditions; for example only apply a method to a control with a control source.

/gustav
0
How to Use the Help Bell
LVL 10
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Windows Phone

540

Solutions

870

Contributors

Windows Phone (WP) is a family of mobile operating systems developed for smartphones as the replacement successor to Windows Mobile and Zune.  Windows Phone features a new user interface derived from Metro design language. Windows 10 Mobile succeeded Windows Phone 8.1 and emphasizes a larger amount of integration and unification with its PC counterpart—including a new, unified application ecosystem, along with an expansion of its scope to include small-screened tablets.

Top Experts In
Windows Phone
<
Monthly
>