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 Postconfusing ......
may be u need to put above code in button click event
or if that control who's text u want is in another form then
form.control.text="text";prbbly thats u want !!!!!!!
Jump to PostControl Text or control Name ????
if you've button you can change its text by
yourButton.Text = "lmlmalaa";
please clearify your question
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.