Re: How to capture SelHeight when pressing a button?

From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 09/14/04


Date: Mon, 13 Sep 2004 21:05:56 -0300

Create module level variables for the form's SelTop and SelHeight props
that you update using the Form's Click event.
Finally the Access Web contains sample code based on a Timer event that
you can use by simply substituting the method outlined above.
http://www.mvps.org/access/forms/frm0033.htm

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Bertrand" <Bertrand@discussions.microsoft.com> wrote in message
news:FD11FF60-FEF4-4BA1-819A-A047AA686D01@microsoft.com...
> Hi,
>
> I would like to read the SelHeight from a subform in the OnClick
handler of
> a button. But when the button is pressed the selection is reset and
SelHeight
> is always 0. Is there a workaround?
>
> Best regards,
> Bertrand