The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
HTML Editor control
Posted: 04 Sep 07 10:46 AM
|
This is a bit beyond me to figure out on my own. Does anyone know if I can embed an html editor control into a form? We have a custom email solution which has always used plain text. I'd like the option of using HTML, but need it to display in SLX properly. Could I somehow embed an Outlook body control or something? Sample code to do this would be great.
Thank you. |
|
|
|
Re: HTML Editor control
Posted: 04 Sep 07 3:38 PM
|
If you need to have the ability to edit HTML, I would take the easy route and juts find a good HTML editor ActiveX control to use in the client. There are many good lightweight ones out there. As long as it doesn't require an install or runtimes, and can e distributed as a single OCX/DLL, then you should be fine to use it and SLX will get it out to all desktops when they open the form for the first time. If all you need is to display the HTML, then just use the webbrowser control.
Hope this helps.
-Ryan |
|
|
|
Re: HTML Editor control
Posted: 04 Sep 07 4:19 PM
|
Thanks Ryan. I found and did a quick test with a control from nBit (http://nbit.net.au/vpages.aspx?ID=HTML%20Editor%20OCX) which seems to be rich and easy. For those like me who have never used a non SLX ActiveX control, here is what you do, which I just figured out.
1. Install your control 2. Find out what the .dll is called 3. Reboot (or log out and back in from a terminal server session) 4. Re-open Architect 5. Open a form 5. Open the Toolbox 6. Right-click somewhere and choose Customize 7. Find the control in the list and check the box. It will now display as a control in the Toolbox. 8. Add it to your form like any other control
|
|
|
|
Re: HTML Editor control
Posted: 04 Sep 07 4:22 PM
|
To Ryan's point above about a single .dll that doesn't require and install, I don't think the example I found from nBit meets those requirements, so I may keep looking, but this one looks very good if you don't mind the install. |
|
|
|