Hello All :
Is there any idea to change the name of any control exist in a form , while the form is executed I must have a button when I pressed it a dialog appear this dialog must have(textbox) the new value of the selected control must written in this (textbox) .....
Thanks for support ...
aminit 0 Junior Poster in Training
Recommended Answers
Jump to PostYes, you can!
OnSpecificEvent(....)
{
[Control].Name = "new name";
}
Jump to PostControl Text or control Name ????
if you've button you can change its text by
yourButton.Text = "lmlmalaa";
please clearify your question
Jump to PostSo your new question is how to pass a value (text) of the textbox in a form to another form (which has the control you want to change its text??!!)
All 10 Replies
Ramy Mahrous 401 Postaholic Featured Poster
aminit 0 Junior Poster in Training
DangerDev 107 Posting Pro in Training
Ramy Mahrous 401 Postaholic Featured Poster
aminit 0 Junior Poster in Training
Ramy Mahrous 401 Postaholic Featured Poster
aminit 0 Junior Poster in Training
Jx_Man 987 Nearly a Senior Poster Featured Poster
DangerDev 107 Posting Pro in Training
aminit 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.