On Oct 17, 2009, at 7:02 PM, David Bovill wrote:
I checked again Trevor. It makes sense that it does not work in
cases where
the controls are not cached - where it is broken is when the
controls are
cached but you try to get:
the dgRectOfIndex [1] of dataGrid
and the controls are scrolled
Whoa!
So sorry. I really checked this very thoroughly or so I thought. I turns out
not to a datagrid issue, but mine - or should that be a Rev bug??? Goes like
this:
I was relying on a handler I've had for decades
rect_CreateTransparentButton which does what is say on the tin, creates a
On Oct 20, 2009, at 1:18 PM, David Bovill wrote:
Whoa!
So sorry. I really checked this very thoroughly or so I thought. I
turns out
not to a datagrid issue, but mine - or should that be a Rev bug???
Goes like
this:
I was relying on a handler I've had for decades
Thanks Trevor - silly mistake - maybe that will fix my other problem with
scrolling - thanks! The other thing I needed to do was:
set the dgProp [animate selections] of dataGrid to false
as otherwise the automatic behavior would scroll to the first selected
record. These animate features are new
Here are some handlers that seem to work most of the time. Could be
improved by adding shortcut for fixed height rows, and it seems like the
geometry gets a little messed up in some circumstances (maybe when adding
rows using AddData?) - but it is a start, perhaps the beginning of a feature
On Oct 17, 2009, at 7:06 AM, David Bovill wrote:
Thanks Trevor - silly mistake - maybe that will fix my other problem
with
scrolling - thanks! The other thing I needed to do was:
set the dgProp [animate selections] of dataGrid to false
as otherwise the automatic behavior would scroll to the
On Oct 17, 2009, at 9:54 AM, David Bovill wrote:
Here are some handlers that seem to work most of the time. Could be
improved by adding shortcut for fixed height rows, and it seems like
the
geometry gets a little messed up in some circumstances (maybe when
adding
rows using AddData?) - but
2009/10/17 Trevor DeVore li...@mangomultimedia.com
There are some scrolling handlers that are documented:
ScrollIndexIntoView/ScrollLineIntoView
There is also an undocumented ScrollRectIntoView command you can find in
the Data Grid button. You might want to take a look at those.
Thanks -
On Oct 17, 2009, at 11:00 AM, David Bovill wrote:
Thanks - but ScrollRectIntoView would rely on ## See
dgRectOfIndex in
order to get rect of a control in the data grid. - and this is
broken for
cases in which the rows are scrolled above the grid (perhaps when
they go
above the screens
I checked again Trevor. It makes sense that it does not work in cases where
the controls are not cached - where it is broken is when the controls are
cached but you try to get:
the dgRectOfIndex [1] of dataGrid
and the controls are scrolled heavily, so that the invisible row view would
be above
I've upgraded to the latest datagrid - fixes the add to end issue reported
earlier. So naturally that's led to another one :)
I want to allow the user to quickly select multiple lines of a form by
clicking on them - with auto select unless you hold down the command key.
I scripted a way to do
On Oct 16, 2009, at 6:58 PM, David Bovill wrote:
command tweet_ToggleHilite
put the dgControl of me into dataGrid
if the dgProp [auto hilite] of dataGrid is false then
put the dgLine of me into myIndexNum
put the dgHilitedIndex of dataGrid into indexNums
set the wholematches
12 matches
Mail list logo