Christine Pearc
Christine
- Local time
- Today, 14:39
- Joined
- May 13, 2004
- Messages
- 111
I've got a form with 3 RTF controls to get info into memo fields. Editing the form is limited to authorised users. So, on the OnOpen event of the form I've got:
If mCurUser <> CheckProcessOwner Then
Me.AllowEdits = False
This sets every field on the form so they can't be edited, but it doesn't
work for the RTF controls, and setting lock and enabled via the fields' properties doesn't work either. If any locks or enabling is set, then the field
scrolls wildily up and and down.
If I add code on the OnOpen event like "'Me.RTF25.Locked = True" and/or "Me.RTF25.Enabled = False", the same wild scrolling happens.
Anyone have any ideas why this is happening and how to stop it?
Cheers,
Christine
If mCurUser <> CheckProcessOwner Then
Me.AllowEdits = False
This sets every field on the form so they can't be edited, but it doesn't
work for the RTF controls, and setting lock and enabled via the fields' properties doesn't work either. If any locks or enabling is set, then the field
scrolls wildily up and and down.
If I add code on the OnOpen event like "'Me.RTF25.Locked = True" and/or "Me.RTF25.Enabled = False", the same wild scrolling happens.
Anyone have any ideas why this is happening and how to stop it?
Cheers,
Christine