VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Change Controls Properties w/out Resource Files. FASTER EASIER

by Shawn Elliott (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Now you can change the captions, text, tag properties of controls on your Forms without using Resource files. You call the function once and it will either go through ALL of your forms and get the values from a file. Or it will go through all of the controls on 1 form adn get the values from a file. This uses the Forms collection and the Controls collection to do this. This makes life alot easier if you are developing multi-lingual software. I've enclosed a sample exe that changes the text from English->Spanish->English.

Inputs
The function reads language files that are setup in a very easy fasion Example command1.caption=Click Here form2.caption=This is the Second Form etc.etc.
Side Effects
So far I have not had any.

Rate Change Controls Properties w/out Resource Files. FASTER EASIER

Upload

Download this snippet    Add to My Saved Code

Change Controls Properties w/out Resource Files. FASTER EASIER Comments

No comments have been posted about Change Controls Properties w/out Resource Files. FASTER EASIER. Why not be the first to post a comment about Change Controls Properties w/out Resource Files. FASTER EASIER.

Post your comment

Subject:
Message:
0/1000 characters