PDA

View Full Version : Cn a Grid Cell Span Columns?



pm3bob
1-Feb-2005, 06:38 AM
I would like to display a hierarchical (sp?) set of text lines indented to
enhance readability. Since all of the lines are of variable length (from 5
or so characters to over 100) placing the second level strings a bit to the
right of the parent string seems logical. I would like to display them like
they would appear in an Excel Spreadsheet, where the column widths can be
narrow and the content spills into the next unused column. Is this
possible?

Anders Öhrt
1-Feb-2005, 07:24 AM
Do you need several columns? If so, I doubt it's doable. Otherwise, just use
a single column, and prefix the string with a space:
Send Add_Item Of oGrid msg_None sTop
Send Add_Item Of oGrid msg_None (" " + sIndented1)
Send Add_Item Of oGrid msg_None (" " + sIndented2)
etc.

"Bob Stearns" <rstearns@lowcountrybilling.com> skrev i meddelandet
news:GTct7IFCFHA.4336@dacmail.dataaccess.com...
>I would like to display a hierarchical (sp?) set of text lines indented to
> enhance readability. Since all of the lines are of variable length (from
> 5
> or so characters to over 100) placing the second level strings a bit to
> the
> right of the parent string seems logical. I would like to display them
> like
> they would appear in an Excel Spreadsheet, where the column widths can be
> narrow and the content spills into the next unused column. Is this
> possible?
>
>

David Martinko
1-Feb-2005, 08:27 AM
Sounds like a job for a treeview instead.

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com

"Bob Stearns" <rstearns@lowcountrybilling.com> wrote in message
news:GTct7IFCFHA.4336@dacmail.dataaccess.com...
>I would like to display a hierarchical (sp?) set of text lines indented to
> enhance readability. Since all of the lines are of variable length (from
> 5
> or so characters to over 100) placing the second level strings a bit to
> the
> right of the parent string seems logical. I would like to display them
> like
> they would appear in an Excel Spreadsheet, where the column widths can be
> narrow and the content spills into the next unused column. Is this
> possible?
>
>

Peter Donovan
2-Feb-2005, 01:11 AM
Hi Bob,
Have you considered a edit or dbedit control to the right of the dbgrid that
would display the contents when you pointed to the line of the dbgrid?
(seperate control in addition to dbgrid)
Regards,
Peter
www.SonataSoftware.US

dbgrid lines edit lines for highlighted rec
-------------------------- |-------------------|
-------------------------- |-------------------|
-------------------------- |-------------------|
-------------------------- |-------------------|

"Bob Stearns" <rstearns@lowcountrybilling.com> wrote in message
news:GTct7IFCFHA.4336@dacmail.dataaccess.com...
>I would like to display a hierarchical (sp?) set of text lines indented to
> enhance readability. Since all of the lines are of variable length (from
> 5
> or so characters to over 100) placing the second level strings a bit to
> the
> right of the parent string seems logical. I would like to display them
> like
> they would appear in an Excel Spreadsheet, where the column widths can be
> narrow and the content spills into the next unused column. Is this
> possible?
>
>