Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #2071 > unrolled thread
| Started by | Richard Kaplan <kaplan@pm2.com> |
|---|---|
| First post | 2011-09-27 03:28 -0700 |
| Last post | 2011-09-29 10:45 -0700 |
| Articles | 9 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Bbrowser multiline data cells Richard Kaplan <kaplan@pm2.com> - 2011-09-27 03:28 -0700
Re: Bbrowser multiline data cells "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-09-27 21:07 +1000
Re: Bbrowser multiline data cells "Willie Moore" <williem@wmconsulting.com> - 2011-09-27 06:57 -0500
Re: Bbrowser multiline data cells "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> - 2011-09-27 14:24 +0100
Re: Bbrowser multiline data cells Richard Kaplan <kaplan@pm2.com> - 2011-09-27 06:55 -0700
Re: Bbrowser multiline data cells "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> - 2011-09-27 15:40 +0100
Re: Bbrowser multiline data cells Richard Kaplan <kaplan@pm2.com> - 2011-09-27 08:23 -0700
Re: Bbrowser multiline data cells "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> - 2011-09-28 16:37 +0100
Re: Bbrowser multiline data cells Richard Kaplan <kaplan@pm2.com> - 2011-09-29 10:45 -0700
| From | Richard Kaplan <kaplan@pm2.com> |
|---|---|
| Date | 2011-09-27 03:28 -0700 |
| Subject | Bbrowser multiline data cells |
| Message-ID | <321f6be6-2776-4651-bce9-417d23c68390@u13g2000vbx.googlegroups.com> |
I have no difficulty at all creating multiline captions in Bbrowser 1.4 header rows, but in spite of having adequate row heights I cannot get it to display multiline rows in the data area of my table -- my chr(13)+chr(10)'s are showing as double, heavy vertical strokes rather than line breaks.
[toc] | [next] | [standalone]
| From | "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> |
|---|---|
| Date | 2011-09-27 21:07 +1000 |
| Message-ID | <Y4igq.3152$7r4.2607@viwinnwfe02.internal.bigpond.com> |
| In reply to | #2071 |
Richard You probably need to use MLEs instead of SLEs to display the data. You might be able to achieve it with 'custom' SLEs though. CYA Steve
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-09-27 06:57 -0500 |
| Message-ID | <j5sdmc$bu2$1@speranza.aioe.org> |
| In reply to | #2071 |
Richard, If you are using SLEs you will need to set the multiline property to true. Regards, Willie "Richard Kaplan" wrote in message news:321f6be6-2776-4651-bce9-417d23c68390@u13g2000vbx.googlegroups.com... I have no difficulty at all creating multiline captions in Bbrowser 1.4 header rows, but in spite of having adequate row heights I cannot get it to display multiline rows in the data area of my table -- my chr(13)+chr(10)'s are showing as double, heavy vertical strokes rather than line breaks.
[toc] | [prev] | [next] | [standalone]
| From | "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> |
|---|---|
| Date | 2011-09-27 14:24 +0100 |
| Message-ID | <38kgq.6444$I41.1558@newsfe12.ams2> |
| In reply to | #2071 |
Hi Richard
In bBrowser do you have to set the column type to Memo rather than
character?
These are the settings I have where I show multiline data:
oDCmBB1:EnableRowHeightVariable(TRUE)
oDCmBB1:EnableRowResize(TRUE)
oDCmBB1:RowHeightMax := 100
oDCmBB1:WordBreakInMemo := TRUE
oCol := oDCmBB1:GetColumn(6)
oCol:Fieldspec := FieldSpec{Hyperlabel{"DS_RULE"},"M",200,0}
HTH
Simon
[toc] | [prev] | [next] | [standalone]
| From | Richard Kaplan <kaplan@pm2.com> |
|---|---|
| Date | 2011-09-27 06:55 -0700 |
| Message-ID | <8a9115fd-aa4c-4d3a-a628-8635ec4ccaf5@de2g2000vbb.googlegroups.com> |
| In reply to | #2077 |
On Sep 27, 9:24 am, "Simon Goodman"
<simon.s...@spam.abersoftware.co.uk> wrote:
> Hi Richard
>
> In bBrowser do you have to set the column type to Memo rather than
> character?
>
> These are the settings I have where I show multiline data:
>
> oDCmBB1:EnableRowHeightVariable(TRUE)
> oDCmBB1:EnableRowResize(TRUE)
> oDCmBB1:RowHeightMax := 100
> oDCmBB1:WordBreakInMemo := TRUE
>
> oCol := oDCmBB1:GetColumn(6)
> oCol:Fieldspec := FieldSpec{Hyperlabel{"DS_RULE"},"M",200,0}
>
> HTH
>
> Simon
Thank you! It's the last line in the code sample above that seems to
be the critical one. I have no idea what it means, but it works...
[toc] | [prev] | [next] | [standalone]
| From | "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> |
|---|---|
| Date | 2011-09-27 15:40 +0100 |
| Message-ID | <Eflgq.1816$jz6.331@newsfe18.ams2> |
| In reply to | #2080 |
Hi Richard
The last line sets the fieldspec for the column to a 'Memo' fieldspec and
bBrowser shows memos as multiline. The actual meanings for the fieldspec are
the same as for DBF files: Fieldname, Type, Length, Decimals. DS_RULE, M,
200, 0.
The other settings may be useful though.....its been ages since I last
looked them up!
Glad I could help.
Simon
"Richard Kaplan" wrote in message
news:8a9115fd-aa4c-4d3a-a628-8635ec4ccaf5@de2g2000vbb.googlegroups.com...
On Sep 27, 9:24 am, "Simon Goodman"
<simon.s...@spam.abersoftware.co.uk> wrote:
> Hi Richard
>
> In bBrowser do you have to set the column type to Memo rather than
> character?
>
> These are the settings I have where I show multiline data:
>
> oDCmBB1:EnableRowHeightVariable(TRUE)
> oDCmBB1:EnableRowResize(TRUE)
> oDCmBB1:RowHeightMax := 100
> oDCmBB1:WordBreakInMemo := TRUE
>
> oCol := oDCmBB1:GetColumn(6)
> oCol:Fieldspec := FieldSpec{Hyperlabel{"DS_RULE"},"M",200,0}
>
> HTH
>
> Simon
Thank you! It's the last line in the code sample above that seems to
be the critical one. I have no idea what it means, but it works...
[toc] | [prev] | [next] | [standalone]
| From | Richard Kaplan <kaplan@pm2.com> |
|---|---|
| Date | 2011-09-27 08:23 -0700 |
| Message-ID | <989f0679-67ea-436f-ae55-ca751dd79308@j19g2000vbn.googlegroups.com> |
| In reply to | #2082 |
On Sep 27, 10:40 am, "Simon Goodman"
<simon.s...@spam.abersoftware.co.uk> wrote:
> Hi Richard
>
> The last line sets the fieldspec for the column to a 'Memo' fieldspec and
> bBrowser shows memos as multiline. The actual meanings for the fieldspec are
> the same as for DBF files: Fieldname, Type, Length, Decimals. DS_RULE, M,
> 200, 0.
>
> The other settings may be useful though.....its been ages since I last
> looked them up!
>
> Glad I could help.
>
> Simon
>
> "Richard Kaplan" wrote in message
>
> news:8a9115fd-aa4c-4d3a-a628-8635ec4ccaf5@de2g2000vbb.googlegroups.com...
>
> On Sep 27, 9:24 am, "Simon Goodman"
>
>
>
>
>
> <simon.s...@spam.abersoftware.co.uk> wrote:
> > Hi Richard
>
> > In bBrowser do you have to set the column type to Memo rather than
> > character?
>
> > These are the settings I have where I show multiline data:
>
> > oDCmBB1:EnableRowHeightVariable(TRUE)
> > oDCmBB1:EnableRowResize(TRUE)
> > oDCmBB1:RowHeightMax := 100
> > oDCmBB1:WordBreakInMemo := TRUE
>
> > oCol := oDCmBB1:GetColumn(6)
> > oCol:Fieldspec := FieldSpec{Hyperlabel{"DS_RULE"},"M",200,0}
>
> > HTH
>
> > Simon
>
> Thank you! It's the last line in the code sample above that seems to
> be the critical one. I have no idea what it means, but it works...- Hide quoted text -
>
> - Show quoted text -
Now here's a more interesting question: is there any way to adjust
the height of the lines in a multiline cell, e.g., to cram lines more
closely together than the default spacing allows?
[toc] | [prev] | [next] | [standalone]
| From | "Simon Goodman" <simon.spam@spam.abersoftware.co.uk> |
|---|---|
| Date | 2011-09-28 16:37 +0100 |
| Message-ID | <hbHgq.10151$d76.5347@newsfe14.ams2> |
| In reply to | #2084 |
Hi Richard I think you'll be able to set the font just for that cell but I've never tried. What sort of effect are you after? Some people here have done quite fancy stuff with bBrowser. Simon "Richard Kaplan" wrote in message news:989f0679-67ea-436f-ae55-ca751dd79308@j19g2000vbn.googlegroups.com... Now here's a more interesting question: is there any way to adjust the height of the lines in a multiline cell, e.g., to cram lines more closely together than the default spacing allows?
[toc] | [prev] | [next] | [standalone]
| From | Richard Kaplan <kaplan@pm2.com> |
|---|---|
| Date | 2011-09-29 10:45 -0700 |
| Message-ID | <6a6f0c11-22db-4611-946c-ac31365d61fc@i30g2000yqd.googlegroups.com> |
| In reply to | #2097 |
I can see how to set the font on a cell-by-cell basis. I was hoping to be able to override some of the font defaults, such as the horizontal spacing between lines, in order to cram in more text without having excessively high rows. On Sep 28, 11:37 am, "Simon Goodman" <simon.s...@spam.abersoftware.co.uk> wrote: > Hi Richard > > I think you'll be able to set the font just for that cell but I've never > tried. > > What sort of effect are you after? Some people here have done quite fancy > stuff with bBrowser. > > Simon > > "Richard Kaplan" wrote in message > > news:989f0679-67ea-436f-ae55-ca751dd79308@j19g2000vbn.googlegroups.com... > > Now here's a more interesting question: is there any way to adjust > the height of the lines in a multiline cell, e.g., to cram lines more > closely together than the default spacing allows?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web