C
Christine
If Stephan looks at this, let me first say thank you for
your response to my post of 10 October. (The setup
programme worked fine when I downloaded it again.)
Instead of calling the formatting toolbar on the form's
OnLoad event, I want to display it only when the user
actually needs it. So I have tried adding...
DoCmd.ShowToolbar "RTF2", acToolbarYes
DoCmd.ShowToolbar "RTF2", acToolbarNo
....to the RTF control's OnEnter and OnExit events. These
commands work okay in that they display and hide the
toolbar. However, if you actually click on a command in
the toolbar I get errors such as "Compile error - variable
not defined on formatting such
as "ctlX.ParagraphLineNumbering = rtfArabicNumbers" and
others.
(I imported the two modules modRTF2ToolBar and
clsRTFToolbar, although I'm not sure if the clsRTFToolbar
is required, since everything is commented out. We're
using Access 2003 on Windows XP.)
Thanks,
Christine
Can someone explain what I'm doing wrong?
your response to my post of 10 October. (The setup
programme worked fine when I downloaded it again.)
Instead of calling the formatting toolbar on the form's
OnLoad event, I want to display it only when the user
actually needs it. So I have tried adding...
DoCmd.ShowToolbar "RTF2", acToolbarYes
DoCmd.ShowToolbar "RTF2", acToolbarNo
....to the RTF control's OnEnter and OnExit events. These
commands work okay in that they display and hide the
toolbar. However, if you actually click on a command in
the toolbar I get errors such as "Compile error - variable
not defined on formatting such
as "ctlX.ParagraphLineNumbering = rtfArabicNumbers" and
others.
(I imported the two modules modRTF2ToolBar and
clsRTFToolbar, although I'm not sure if the clsRTFToolbar
is required, since everything is commented out. We're
using Access 2003 on Windows XP.)
Thanks,
Christine
Can someone explain what I'm doing wrong?