Andy, you say "when the subform is selected" the menu option is disabled.
Strictly speaking, a subform control can not be selected in form view (you
can select it in design view). In form view, either an individual control,
such as a text box, is selected, or a section, such as the detail section or
the form header or form footer section, is selected.
If a section is selected, the font size command is disabled, because a
section does not have a FontSize property. If an individual control, such as
a text box, is selected, the command should be available.
In an MDE, the change can not be saved - the FontSize property will revert
to its original value the next time the form is opened. To make the change
permanent in an MDE, you'll need to save the user's choices and reapply them
in the Open event of the form.
--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com
The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
Andy said:
TC;
In the txtControl of a sfrm.
Andy
TC said:
The font size >of what<?
TC
TC;
Should have been clearer.
Can a user select from a menu item to change the font size "On The Fly"?
Andy
Change the fontsize >of what<?
me![blah].fontsize = 99 will happily change the fontsize of the
control
named 'blah' in the current form, regardless of whether the form
is