RichTextBox Members Not Found?

Rudurk

New member
Local time
Today, 16:27
Joined
Jul 14, 2014
Messages
8
Hi,

I have a pop up window that maximize's and the need to format a Memo Field to users specification.

Unfortunately the Mini Popup Bar that comes up when you select text is very shy and annoying when it doesn't show up. It's Completely Unreliable.

So I thought I'll make the Controls on the form for Bold,Italic... etc but I can't seem to get the code to work.

My TextField is a Memo and I have changed the TextFormat to RichText, but I cannot use any of the commands like .SelBold or .SelColor etc.. It gives me a Compile Error: Member or Data Member Not found.

I don't understand why? Is there a Add In/Reference that I need to include?

Thanks in advance for your help.
 
There is no such creature in VBA ( RichTextBox) - to get it you need to insert it as one of the active x controls. Changing the format of a textbox to Rich text, does not make it into a different object, i.e. a RichTextBox.
 
Oh ok.. Well Tried adding Richtx32.ocx in reference and activex control richtextbox... when i did that it through a message saying nope... your database doesn't support activex controls.
 

Users who are viewing this thread

Back
Top Bottom