Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hide command button

1 view
Skip to first unread message

Tom Grillot

unread,
Jan 3, 2008, 4:06:21 PM1/3/08
to
I have a command button (from the Controls toolbox) that executes a
mail-merge operation. My problem is that the button stays visible on the
merged documents and is printed. How do I hide or remove this button from
the documents that are created from the template by the Merge operation?

Thanks,
Tom


Tony Strazzeri

unread,
Jan 4, 2008, 7:48:32 PM1/4/08
to

Have you considered moving the button to a toolbar hanging of the
template or even attaching it to a menu item?
I find this to be generally more useful and it avoids the problem.


he only other solution I can think of is to format it at hidden text
and then set the printing options to not print hidden text. This of
course then limits the user's ability to use hidden text.

Another alternative is to trap the print command and do something with
the button before sending the print job.


Cheers,
TonyS.

Tom Grillot

unread,
Jan 6, 2008, 1:23:28 AM1/6/08
to
Thanks. I ended up creating a menu item for it. For some reason I had
trouble with the menu bar earlier, but not this time. Still, there ought to
be a way to hide or remove a control. It doesn't seem like there's enough
objects or events to hang code on.

Tom

"Tony Strazzeri" <free...@fastmail.fm> wrote in message
news:0b7a7b2c-69ec-44fd...@i29g2000prf.googlegroups.com...

0 new messages