Long ago I used an Infragistics ASP control that provided a full-features word processor. Very nice. Probably like the control I am typing into right now.
I need the same for forms-based coding.
I see there is an UltraForrmatedTextEditor. Is this the right control to use?
It doesn't seem to have a full user interface, like toolbars. Do I have to code that? Are there any existing tools to aid in coding the toolbars or menus?
Hi,
I'm not sure I understand what you are asking. The XML is in the Value property of the control.
UltraFormattedTextEditor has no support for HTML - although the XML format we use is very similar to HTML in many respects.
Ok, so that is my last question on this topic :
How do I retrieve the XML formatted output from the UltraFormattedTextEditor so as to push it into an UltraFormattedLinkLabel and have the same formatted text in both controls?
I only find an HTML output from my text editor.
No, I think you would have to implement the UI for this yourself using a toolbar or something like that.
Thank you for your quick answer, but I think i'm to develop my own word processor for OpenEdge Gui.NET though I can't use the Infragistics.SupportDialogs Assembly in OE Architect.
And every component made for .NET applications that I try to use are made for VS or are not compatible with OE architecture.
Is there any way to use an Infragistics component that would manage light features of a word processor like
.Font
.Bold & Italic
.simple Formatting etc...
Thanx for your answers....
It's not a control, so there's no way to show this on a form as far as I know. You might be able to contain the dialog inside another dialog, but in my experience, this causes all sorts of problems in DotNet and I would not recommend it.
The code to show the dialog is very simple. You just need a reference to the SupportDialogs assembly and then you create an instance of the dialog, set it's Value (optionally) and show it:
FormattedTextUIEditorForm formattedTextUIEditorForm = new FormattedTextUIEditorForm(this.ultraFormattedTextEditor1); formattedTextUIEditorForm.Value = this.ultraFormattedTextEditor1.Value; DialogResult result = formattedTextUIEditorForm.ShowDialog(this); if (result == DialogResult.OK) { this.ultraFormattedTextEditor1.Value = formattedTextUIEditorForm.Value; }