Re: DBGrid with multi-line titles - Part 2
- From: "Tony" <polsolsa@xxxxxxxxx>
- Date: Thu, 27 Oct 2005 15:51:20 +0300
"kimada" <bik_kim@xxxxxxxxxxx> wrote in message
news:4360a915$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> >If a title is made multiline then the first word is vertically centered
in
> >the title and subsequent words dissappear below the lower title boundary.
>
> Just set the AutoSizeRows to False and set TitleRowHeight to value that
you want and it's OK, you can also make use of ShowTitleHint.
>
> (N.B it is recomended to use JvDBGrid instead of JvDBUltimGrid because of
features of the latter are being put in the former)
OK, tried again with fresh grid using your suggestions - doesn't work.
Setting fixed columns to 1 (from 0) then column 2 works (2 words split) but
column 1 (also 2 words) not. Setting fixed columns back to zero and column 2
words revert to single line.
Column width is set to a size smaller than the length of both words in both
columns (using columns editor) and also manually set column widths - neither
approach works.
Have used a space to seperate the two words, single and double pipe (||) and
also <ctrl><Enter> in the strings editor for the title caption.
Having played around with column 1 now column 2 has stopped 'splitting'!!!
AutoSizeRows to False and TitleRowHeight = from 35 up to 100.
Is there a 'seperation character' between the words in the string requiring
to be split on seperate 'rows' that I don't know about?
BTW, am using D5 and IBO tdataset as the data access component.
.
- Follow-Ups:
- Re: DBGrid with multi-line titles - Part 2
- From: Tony
- Re: DBGrid with multi-line titles - Part 2
- References:
- DBGrid with multi-line titles - Part 2
- From: Tony
- Re: DBGrid with multi-line titles - Part 2
- From: kimada
- DBGrid with multi-line titles - Part 2
- Prev by Date: Re: For future customers of CioinaEval
- Next by Date: Re: DBGrid with multi-line titles - Part 2
- Previous by thread: Re: DBGrid with multi-line titles - Part 2
- Next by thread: Re: DBGrid with multi-line titles - Part 2
- Index(es):