Event for column move/resize in grid datawindowIt would be very very helpful if an event on the datawindow control would
fire when a column in a grid datawindow was moved or resized by the user.
Like a ColumnResizing event with dwo, row, oldHeight, oldWidth, newHeight,
newWidth parms. Of course in a grid you would have a null dwo if it was
just a pure vertical resize and row would be null if it was a pure
horizontal resize as all columns or rows, respectively, would get the
effect. I'd go for that. I bet it would be a pretty easy thing for Sybase
to implement as well.
-EGM
M. Searer <nospam@nospam.com> wrot...
Moving columns in Grid Datawindows using datawindow painter -PB 8I know - Evita - AGAIN???? :-)
This is for my teammate who's going crazy. He has a grid datawindow of 4
columns and wants to move say column 4 between current columns 1 and 2 but
whatever he does WON"T let him slide it over. Is there some setting he
needs to set someplace or is he stuck?
Thanks
--
Evita R. Chapa
Senior Systems Analyst
Command Technlogies, Inc
I'm not meaning when it's running...In design we need the column moved over
from where it was (column 4) to where it needs to be (between current
columns 1 and 2)
Thanks
Evita
<Victo...
IF you set column to width 0 in a datawindow grid, the column appear as a with column at the end of the gridCan you remove the white space at the end of a grid, it seems to appear when
we set columnwidths to '0'..
ICE
I've not seen that. What version of PB are you using? What platform?
On Tue, 27 Aug 2002 11:42:02 +0200,
in powersoft.public.powerbuilder.datawindow
ICE <ICE@nospam.com> wrote:
>Can you remove the white space at the end of a grid, it seems to appear when
>we set columnwidths to '0'..
>
>
>ICE
>
>
Bruce Armstrong [TeamSybase]
http://www.teamsybase.com
Not 1 - but 2 new books on developing with PowerBuilder...
Grid column move eventWhen a user change the size of the columns in a grid (Grid.ColumnMove=yes),
what's the event ?
I want to change the size and position of other controls on my window when
the user changes the size of a column.
Jean-Paul
...
Datawindow Grid and Column MoveHi.
My datawindows are Grid type, the property "MouseSelection", on the first
tabpage, is unchecked. It's posible resize the columns without that
property active?
TIA
To resize a column in a grid DW is necessary that the grid is displayed and
the header's height is > 0
Ciao
Angelo
"Luis Cortes" <cortesgl@corp-ods.com> ha scritto nel messaggio
news:93XUy0oLCHA.654@forums.sybase.com...
> Hi.
>
> My datawindows are Grid type, the property "MouseSelection", on the first
> tabpage, is unchecked. It's posi...
grid datawindowfirst time using grid datawindows...
when the select is done, the fields are inserted automatically.
Thee columns are not in the proper order. How can i move them ?
Go to the preview pane and move them from there. Just like you would do at
runtime.
Richard
"Steph" <sybase.public.powerbuilder.general> wrote in message
news:44859031$1@forums-2-dub...
> first time using grid datawindows...
>
> when the select is done, the fields are inserted automatically.
> Thee columns are not in the proper order. How can i move them ?
>
>
Forget ...
Column moving in a grid datawindow.We experience the following problem:
In our app we can move columns around in grid datawindows. After having
created at runtime a line object in the header this suddenly is no longer
possible. Explicitly setting the Datawindow.Grid.ColumnMove property doesn't
help. After deleting the line at runtime it works again.
If I would create the line at design time everything works fine at runtime.
Anybody any idea?
Regards,
Michael Cornelissen
...
Column Moving in Grid DatawindowHi ,
I am using grid datawindow in my application. After retrieving data i am
moving (changing the display order) the columns. That's working fine.
If i retrieve the data again column display order goes back to original, is
there any i can keep column display order as i changed.
could you please help me in this regard
thanks in advance
senthil s
Re-retrieving the data won't reset the column order. But reassigning
the dataobject or closing and reopening the window would. Unless
you're using something like the PFC preferences service, there's
nothing t...
Autoscrolling grid datawindow while moving columnDoes anyone know how to make a grid-style datawindow automatically
scroll horizontally when a user drags a column past the edge of the
datawindow?
Or better yet, has anyone written a service that does this?
...
Capture Grid Datawindow Column MoveIs it possible to capture an event when a user has changed the column order
in a grid datawindow?
Grant Greaves
Since I posted the question, I will show what I figured out:
I compared the value of <DW Control
Name>.Object.DataWindow.Table.GridColumns at the time of the clicked event
and then after (not during) a lbuttonup event. If they are different then
the column order has been changed.
Grant Greaves wrote in message ...
>Is it possible to capture an event when a user has changed the column order
>in a grid datawindow?
>
>Grant Greaves
>
>...
Which Event when resizing a column in Grid Datawindow ?Does anybody know if an event occured when i resize a column in a Grid
datawindow ?
Is there another way to know when a column is resized ?
Thanks for help.
--
Arnaud Bauer - Jehier Ing�nierie Informatique
49120 CHEMILLE - FRANCE
Tel : 02.41.49.80.81
http://www.jii.fr
There isn't such an event.
I guess you could code a timer event that checks it to the previous value.
Sorry.
--
Dawn T Brown Eyes (TeamPS)
Arnaud Bauer <arnaud.bauer@jii.fr> wrote in article
<370C6054.158A271C@jii.fr>...
> Does anybody know if an event occured when i resize...
Prevent a single column moving in Grid datawindow.I was wondering if its possible to prevent a single column from being
moved/resized in a grid datawindow. I want the user to have the ability to
move/resize all other columns in this datawindow. Is it possible to
lock/protect a single column ?
Uncheck movable property for individual column, it is found in property page
of each column.
-Raj
"Colin Brown" <myname@eircom.net> wrote in message
news:oI1NmgNLCHA.196@forums.sybase.com...
> I was wondering if its possible to prevent a single column from being
> moved/resized in a grid datawindow. I want the user ...
Column moves to end in grid datawindow PB8Hi everyone,
I have a grid datawindow and have made the first column (which happens to
be the unique key that is auto-populated) not visible and I use a picture
rowfocusindicator over it. So it acts as a placeholder really to force the
first visible column to appear to the right of the rowfocusindicator. Well,
I have discovered in PB8 that when I save the datawindow, PB moves the
invisible column to the end of the detail band. This was not the behavior
in PB7.
How can I force this column to stay where I have intended? I have "column
moving" unchecked.
Thank...
Does an event fire when columns are moved in grid dw????Does any event fire when columns are dragged in a grid datawindow?? Thanks!
No. However you will get a lbuttonup event firing. In that event you'll have
to determine if something was moved or just assume it was. One thing you can
do is set a boolean (ib_lbuttondown) in your lbuttondown event then in
mousemove if ib_lbuttondown is true set another boolean ib_dragging to true.
In the lbuttonup event set ib_lbuttondown back to false and see if
ib_dragging is true. If it is then you can assume the user dragged
something. It is either a valid drag of an object, an accident mousemove
w...