Ah! It makes a differenze, if TField is a TStringField (does not work) or a TMemoField (works)
Why?
Ah! It makes a differenze, if TField is a TStringField (does not work) or a TMemoField (works)
Why?
Delphi 2006, WPTools 6.08
I dropped a TDBWPRichText on a form, connectzed it to the Toolbar.
Besides the prpoblem that the comboboxes are distorted, the selections in the TDBWPRichText are lost, when TDBWPRichText looses focus - e.g. when the combo with the fontnames is selected.
Yes - the NoUpdateOnExit is set to true.[/img]
Delphi 2006, WPTools 6.08
When I drop a TWPToolbar on my form, the comboboxes loose heigth at runtime - so the entries are clipped. At runtime the toolbar is displayed ok.
This happens regardless what proertied (autosize, align, ..) I change or set.
tx Bernd
Hi + tx for reading.
WPTools 6.08, Delphi 2006
I have a form, dropped a TDBWPRichText on it. The user can call the DefaultEditor for advanced etiting. I use this code:
var editor : TWPToolsEditor;
begin
editor := TWPToolsEditor.Create(nil);
editor.WPRichText1.AsString := frmRezeptList.dsRezept.DataSet.FieldByName(
'ANLEITUNG').AsString;
editor.ShowModal;
frmRezeptList.dsRezept.DataSet.FieldByName(
'ANLEITUNG').AsString:=editor.WPRichText1.AsANSIString('RTF');
editor.Close;
editor.Free;
editor:=Nil;
end;
Alles anzeigen
However, the TDBWPRichText shows the text with all rtf-codes. Calling the editor again, displays the text formatted correctly.
The TDBWPRichText is set to wplayFullLayout.
What am I missing?
tx Bernd