From: roger on
FYI everyone:
Steve Lebans' "GetCurrentRow" code no longer works inder MSA 2007 (and/or
Win7)




"roger" wrote:

> I've used Steven Lebans' Get/Set Scrollbars routine many times including four
> continuious forms subforms in that app I'm working on. (MSA 2007)
>
> Every one of those the user has to click on the subform before anything
> happens, so we can "get" (store) the scroll data (SelTop and
> CurrentSectionTop) at the OnCurrent event.
>
> However, now I have subform that more often than not, the user won't even
> click on it. They'll just scroll down and look at it, and then I'll need to
> requery but keep them where they've scrolled but the OnCurrent event never
> fired.
>
> Now I have a Steven Lebans function called GetCurrentRow (to get the current
> row of a form that doesn't have focus) that seems to be what I'm looking
> for, but it takes an X, Y input (that I imagine is relative to the top of
> subform) and where do I get those numbers? and what event should I make this
> call in?
>
> Does anyone have experience using Get/Set Scrollbars with GetCurrentRow?
> is there example code out there somewhere?
>
> aha
> roger
 | 
Pages: 1
Prev: f
Next: Auto Increment by 1 letter