![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Trying to add the formatting toolbar to a memo field in '97. I am able to add the toolbar from the view\toolbar\custom menu but as soon as I open the database it becomes grayed out. Hopefully there is a fairly simple way to overcome this but haven't been able to find it myself. Any suggestions ??? Thanks dc |
#3
| |||
| |||
|
|
Do you mean that the memo field is an active x rich text control? If the field is just set to memo in the table, it won't support the formatting toolbar. For the rich text custom control, you pretty much have to put your own buttons in there, such as a button for bold, underline, text alignment, a font selection, etc., and have your own code for all buttons. For example, for the microsoft rich text control, the code behind the bold button would be something like: Me!txt1.SelBold = Not Me!txt1.SelBold If this is what you were after, and you need more sample code for other formatting buttons, let me know. Andy "doncee" <nopsamdbc9814 (AT) nospamswbell (DOT) wanted> wrote in message news:Xns9B354ECE412E0nopsamdbc9814nospam (AT) 216 (DOT) 196.97.131... Trying to add the formatting toolbar to a memo field in '97. I am able to add the toolbar from the view\toolbar\custom menu but as soon as I open the database it becomes grayed out. Hopefully there is a fairly simple way to overcome this but haven't been able to find it myself. Any suggestions ??? Thanks dc |
#4
| |||
| |||
|
|
Thank you for your response. Yes, this is just a normal run of the mill memo field. I was afraid that it did not support formatting & your reply confirmed that. If you wouldn't mind posting a few more sample codes for rich text I would appreciate it. Once again, thanks for the clarification & reply dc ARC" <PCESoft (AT) PCESoft (DOT) invalid> wrote in news:ujzIk.3388$ZP4.2779 (AT) nlpi067 (DOT) nbdc.sbc.com: Do you mean that the memo field is an active x rich text control? If the field is just set to memo in the table, it won't support the formatting toolbar. For the rich text custom control, you pretty much have to put your own buttons in there, such as a button for bold, underline, text alignment, a font selection, etc., and have your own code for all buttons. For example, for the microsoft rich text control, the code behind the bold button would be something like: Me!txt1.SelBold = Not Me!txt1.SelBold If this is what you were after, and you need more sample code for other formatting buttons, let me know. Andy "doncee" <nopsamdbc9814 (AT) nospamswbell (DOT) wanted> wrote in message news:Xns9B354ECE412E0nopsamdbc9814nospam (AT) 216 (DOT) 196.97.131... Trying to add the formatting toolbar to a memo field in '97. I am able to add the toolbar from the view\toolbar\custom menu but as soon as I open the database it becomes grayed out. Hopefully there is a fairly simple way to overcome this but haven't been able to find it myself. Any suggestions ??? Thanks dc |
![]() |
| Thread Tools | |
| Display Modes | |
| |