Problem with RichEdit

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
Shagrat3
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 28.07.2009, 16:02
Contact:

Problem with RichEdit

Post by Shagrat3 »

Problem with RichEdit

Put in to Form: ZTable+DataSet+TDBRichEdit
Connect the table and see: RTF code in the edit

Sorry for my English
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Hi, I did a test with Firebird but data in DBRichEdit are displayed correctly.
So we need more info:
- db (I suppose Postgres 8.4)
- Does that table contains FK or other references?
- Which kind of data would you like display?
Shagrat3
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 28.07.2009, 16:02
Contact:

Post by Shagrat3 »

I use
Postgres: 8.4
Table (UTF8; Russian, Russian): id=serial;note=text
Zeos: 7.0
Delphi: 7

On start program:

Code: Select all

SET CLIENT_ENCODING TO ''Win'';
SET TIME ZONE ''Europe/Moscow'';
SET DATESTYLE TO ISO, dmy;
I see:

Code: Select all

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset204{\*\fname Arial;}Arial CYR;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue0;}  .....

I can do Demo program
Locked