Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » General

Post new topic   Reply to topic
change the caption of a control of any place on project
View previous topic :: View next topic  
Author Message
bybruno
Newbie


Joined: 16 Sep 2005
Posts: 9

PostPosted: Aug 13th, 2006 02:06 PM    Post subject: change the caption of a control of any place on project Reply with quote

change the caption of a control of any place on project

hi i want to change the caption of a control of any place on project.

i have a object: label1 in form1 and form2
now i want call a public function with this sintax:( teste form.name,control.name )

now i want that in public function change the caption of the object like this

public teste ( form.name,control.name )

form.name.control.name.caption ="result"



end sub

any one can help me?
thanks a lot
bruno
Back to top
View user's profile Send private message
vbman995
Moderator


Joined: 19 Aug 2005
Posts: 264
Location: Planet Earth

PostPosted: Aug 20th, 2006 07:46 AM    Post subject: Reply with quote

I am really confused. Confused What are you trying to do?
Back to top
View user's profile Send private message
bybruno
Newbie


Joined: 16 Sep 2005
Posts: 9

PostPosted: Aug 20th, 2006 12:05 PM    Post subject: Reply with quote

hi
i already resolve the problem, que question was who to creat a function to work with all controls in the form with a public function ou sub.
thanks
bruno
Back to top
View user's profile Send private message
vbman995
Moderator


Joined: 19 Aug 2005
Posts: 264
Location: Planet Earth

PostPosted: Aug 28th, 2006 07:41 PM    Post subject: Reply with quote

Im happy its worked for you! Biggrin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic