![]() |
to change label caption (runtime) |
Post Reply ![]() |
Author | |
simps ![]() Groupie ![]() Joined: 08 August 2007 Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() Posted: 08 August 2007 at 5:44am |
it must be simple,but i couldn't find :( i've a commandbars object on my form.
i'm using
.LoadDesignerBars
event under form_load and it's done...
but i've a label typed control on my toolbar.
i want to change caption of this label by code
how can i do it?
i know the id of that label control.
but i need the codeline to change caption (1050)
it must be stg like
commandbars1.item(1050).caption="bla bla bla"
or...?
Thank you...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
See FindControl method.
But I recomment you enable Actions and Set Caption of Action.
See Actions sample.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
simps ![]() Groupie ![]() Joined: 08 August 2007 Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
thank you so much
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |