Re: How to capture SelHeight when pressing a button?
From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 09/14/04
- Next message: david epsom dot com dot au: "Re: Error Message different in MDB and MDE"
- Previous message: Albert D. Kallal: "Re: Access to Word form"
- In reply to: Bertrand: "How to capture SelHeight when pressing a button?"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: david epsom dot com dot au: "Re: Error Message different in MDB and MDE"
- Previous message: Albert D. Kallal: "Re: Access to Word form"
- In reply to: Bertrand: "How to capture SelHeight when pressing a button?"
- Messages sorted by: [ date ] [ thread ]