Subject | Re: [IBO] RichEdit |
---|---|
Author | Nando Dessena |
Post date | 2001-07-09T09:05:51Z |
Geoff,
We won't have such nightmares when we go to Kylix... ;-)
50% is not.
information. We don't want to recompile the exe when those requirements
change, do we? ;-)
Ciao
--
____
_/\/ando
> > Almost correct. TIB_RichEdit is able to do what you say, butI think using the Lines property is the only reasonable way to do it.
> > -it has nothing to do with a memo component, in the sense of
> > Windows class.
>
> Actually it does have something to do with memo - in the context of
> IBO. Since IBO uses the same methods for processing memos and
> richedits (the Lines property). This is perhaps not optimal for
> RichEdit, but handling RichEdit efficiently is otherwise quite
> complicated and remains limited by the facilities offerred by the API.
We won't have such nightmares when we go to Kylix... ;-)
> > Finally, I agree that a (text) blob is a much more idealRight. I meant "much variable". 10% more or less is fine for a varchar,
> > candidate to store rich text data, expecially if the
> > length is variable.
>
> If the user can add formatting then the length is always variable.
50% is not.
> If the user cannot add formatting then you are best advised to useYou could then have another (blob) field to store the formatting
> plain text fields and add the required formatting on the form or
> report (IMHO :-).
information. We don't want to recompile the exe when those requirements
change, do we? ;-)
Ciao
--
____
_/\/ando