Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Grid Datawindow Text

303 views
Skip to first unread message

crconti

unread,
Aug 13, 2009, 5:15:08 PM8/13/09
to
I am working in PowerBuilder 10.5 and have a grid datawindow where I
want to add a text object in the footer. I want the text to display
across multiple columns in the grid. At first when I add the text
object to the grid footer, the text stays in just one column. Then I
found the "movable" and "resizeable" properties in the Position tab,
and in the painter am able to resize across multiple columns.
However, when I go to run the grid datawindow, the text squeezes up
into one column. I can resize and move it while its running but
that's not what I want. I want it to display across all columns on
start up. Anyone have any ideas?

Jeremy Lakeman

unread,
Aug 13, 2009, 11:12:36 PM8/13/09
to

you can probably modify the width at run time and base its width on
the x+width of the column you want to right align it with.
something like;

dw_1.modify('footer_object.width='+string(&
long(describe('right_object.x'))+&
long(describe('right_object.width'))-&
long(describe('footer_object.x'))&
))

John Strano[Sybase]

unread,
Aug 14, 2009, 9:08:50 AM8/14/09
to
Have you considered designating it to be in the foreground layer?

--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/


"crconti" <charles...@hotmail.com> wrote in message
news:d52541a4-63a5-4883...@y10g2000prf.googlegroups.com...

Chris Pollach

unread,
Aug 17, 2009, 2:35:44 PM8/17/09
to

That's the key ... Follow John's advice and change the band.

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com


"John Strano[Sybase]" <nichtspa...@johnstrano.com> wrote in message
news:4a8561e2$4@forums-1-dub...

Chris Pollach

unread,
Aug 17, 2009, 2:36:13 PM8/17/09
to

Sorry .. I meant LAYER.


"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4a89a300@forums-1-dub...

Jeremy Lakeman

unread,
Aug 17, 2009, 7:27:19 PM8/17/09
to
On Aug 18, 3:35 am, "Chris Pollach" <cpoll...@travel-net.com> wrote:
> That's the key ... Follow John's advice and change the band.
>
> --
> Regards ... Chris
> ISUG - NA RUG Directorhttp://chrispollach.pbdjmagazine.com
>
> "John Strano[Sybase]" <nichtspamnonej...@johnstrano.com> wrote in message

>
> news:4a8561e2$4@forums-1-dub...
>
> > Have you considered designating it to be in the foreground layer?
>
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "crconti" <charlesrcon...@hotmail.com> wrote in message

> >news:d52541a4-63a5-4883...@y10g2000prf.googlegroups.com...
> >>I am working in PowerBuilder 10.5 and have a grid datawindow where I
> >> want to add a text object in the footer.  I want the text to display
> >> across multiple columns in the grid.  At first when I add the text
> >> object to the grid footer, the text stays in just one column. Then I
> >> found the "movable" and "resizeable" properties in the Position tab,
> >> and in the painter am able to resize across multiple columns.
> >> However, when I go to run the grid datawindow, the text squeezes up
> >> into one column.   I can resize and move it while its running but
> >> that's not what I want.  I want it to display across all columns on
> >> start up.   Anyone have any ideas?

Or... just use a composite report to display the header and footer...

0 new messages