I am using the ActiveX rich text editor (Best Fit for OS) with Domino 6. I see how one can set the height and width of the edit box (very useful indeed), but is there any way to set the default font size?
Dave
I am using the ActiveX rich text editor (Best Fit for OS) with Domino 6. I see how one can set the height and width of the edit box (very useful indeed), but is there any way to set the default font size?
Dave
Subject: Default font for ActiveX rich text editor
There is, but it’s very flaky. I found that the the control had to be on screen in order for the setting to work, otherwise Javascript told me there was an error and the control wasn’t initialised. To get around this I had to scroll to the applet, then run the command, and then scroll back to the top of the form again - very annoying and looks bad too when the form loads. You can’t hide it to change the font either because the same problem occurs.
The code for changing the font size is:
tbContentElement.ExecCommand(DECMD_SETFONTSIZE, OLECMDEXECOPT_DODEFAULT,);
where tbcontentElement is the name of your toolbar. (it’s normally tb plus the name of the field you’re using.)
Good luck
Subject: ¿how one can set the height and width of the edit box?
Subject: how one can set the height and width of the edit box?
Look at my post athttp://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/bccaa92944131a7a85256e2300411131?OpenDocument
Hope it helps
Subject: RE: how one can set the height and width of the edit box?
Hi,I won’t agree with what your posting says. In my current environment we are using RichText JavaApplet in R5/R6 & RichText ActiveX in R6 inside TABLES using Designer IDE. I don’t see any problems as of now.
There are three ways to set the width & height -
For Width & Height for a richtext applet/editor (activex), we use “WIDTH=XXX HEIGHT=XXX” in HTMLAttributes of the Richtext field.
You can use an ID/Class and define its width & height in CSS page and mention it in HTML tab of field properties.
You can use OBJECT TAG directly in CSS to define width & height. (This will be used in EDIT MODE, for READ MODE, your TABLE width will override)
I am running this functionality in IE 5.5/6.0
Hope this helps…
JT