VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Replace text in All text boxes contained in frames, form, and/or pictureboxes

KRYO_11  (20 Submissions)   Miscellaneous   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

I noticed an article recently posted about this. I am posting this because it is a much more efficient way to do it. Simple code so I am not expecting votes, but if you like it please feel free :)

Inputs
'Example usage: 'TextBoxMod Me, 0, "Kryo" 'Would make ALL textboxe' text say "Kryo"

API Declarations
'Enum declared to make using following sub easier
Public Enum What2Clear
[Clear All Textbox's] = 0
[Clear Textbox's Contained In Frames] = 1
[Clear Textbox's Contained In Picturebox's] = 2
[Clear Textbox's Contained In Form] = 3
End Enum

Rate Replace text in All text boxes contained in frames, form, and/or pictureboxes (3(3 Vote))
Replace text in All text boxes contained in frames, form, and/or pictureboxes.bas

Replace text in All text boxes contained in frames, form, and/or pictureboxes Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters