![]() |
RichText-Format in Paradox-Datenbank ablegen
Hi all,
ich möchte in einer Paradox Datenbank Text im Rich Text Format ablegen. 1.) Wie muß mein Datenbankfeld zu angelegt sein ? BLOB(n,3) = formatiertes Memo oder BLOB(n,4) = OLE (oder wozu ist das ?) 2.) Wie formatiere ich den Text dann im Programm und speichere ihn dann formatiert ? Meine bisherigen Versuche mit BLOB(n,3) schlugen alle fehl :( . Ich habe ein Button zur Textformattierung mit folgenden Code versehen:
Code:
procedure TTechBeForm.FontDialog1Apply(Sender: TObject; Wnd: HWND);
begin // ????????????????????? { if ActiveControl is TEdit then with ActiveControl as TEdit do Font.Assign(TFontDialog(Sender).Font) else if ActiveControl is TRichEdit then with ActiveControl as TRichEdit do SelAttributes.Assign(TFontDialog(Sender).Font) else Beep; } with ActiveControl as TRichEdit do SelAttributes.Assign(TFontDialog(Sender).Font) end; [quote] Beim markieren eines Textes und betätigen des obigen Buttons tut sich nix in der Formatierung. Mache ich etwas anderes falsch ? :roll: Wäre toll, wenn mir jemand helfen könnte und mir klar wird, wie ich das machen muß. Gruß Hacki[/quote] |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz