Changing the text / caption of a button once you click it (programmatically)

M

MatsonPP

Hello,

When I click a button which i have called "Advanced >>>", I want it to
open something and then change the caption to "Advanced <<<" as I have
seen in some places. Does anyone know how to change the text (caption)
of a button.

(Maybe something like eventObj.Source.caption = "Advanced <<<" which
doesn't work)

Thanks!!
Matt
 
M

MatsonPP

Basically there is no way to do this. What i had to do was create two
buttons beside each other and then go into the conditional formatting
properties of each button. I "selected field or group" and chose my
"optional group" and said if "is present" then show the "Advanced <<<"
for the Advanced <<< button's properties, then I did the same the for
the advanced >>> button's properties except putting "if is not
present".

Works like a charm :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top