| View previous topic :: View next topic |
| Author |
Message |
bybruno Newbie
Joined: 16 Sep 2005 Posts: 9
|
Posted: Aug 13th, 2006 02:06 PM Post subject: change the caption of a control of any place on project |
|
|
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 |
|
vbman995 Moderator

Joined: 19 Aug 2005 Posts: 264 Location: Planet Earth
|
Posted: Aug 20th, 2006 07:46 AM Post subject: |
|
|
I am really confused. What are you trying to do? |
|
| Back to top |
|
bybruno Newbie
Joined: 16 Sep 2005 Posts: 9
|
Posted: Aug 20th, 2006 12:05 PM Post subject: |
|
|
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 |
|
vbman995 Moderator

Joined: 19 Aug 2005 Posts: 264 Location: Planet Earth
|
Posted: Aug 28th, 2006 07:41 PM Post subject: |
|
|
Im happy its worked for you!  |
|
| Back to top |
|
|