Re: Find 'TopIndex' in a listbox
- From: "Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@xxxxxxxxxxxx>
- Date: Tue, 19 Jun 2007 22:50:38 -0300
Sorry Ian,
Your reply ended up in my SPAM Email folder. I've emailed you the modified
MDB.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"ians" <ians0131@xxxxxxxxxxx> wrote in message
news:1182163251.398572.250320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Stephen
tried emailing you as you suggested, but maybe it got lost as spam.
Anyway i'd still be interested in your solution.
Thanks
ian
On Jun 8, 2:41 am, "Stephen Lebans" <ForEmailGotoMy.WebSite.-
WWWdotlebansdot...@xxxxxxxxxxxx> wrote:
I've added support for ListBox ScrollBars to the GetSetScrollBar
solution. I
haven't published it yet to my site. If you send me an EMail I'll trply
with
the updated MDB.
MyFirstN...@xxxxxxxxxxxxxx
--
HTH
Stephen Lebanshttp://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"ians" <ians0...@xxxxxxxxxxx> wrote in message
news:1181217711.337384.197640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there any way to find the ListIndex of the first items displayed in
a listbox that is partially scrolled (i.e. the equivalent ofTopIndex
for a VB listbox)?
I want to be able to redisplay the listbox at exactly the same
position after an event that causes the scrollbar to reset to the top.
I've seen Stephen Lebans method for setting the scrollbar so that a
specific item is at the top of the box, but what I don't see how to do
is find out what the item at the top of the box is before the
scrollbar resets - Stephen's examples rely on you knowing beforehand
the ListIndex of the row you want to display.
(Just to complicate thing, the listboxis resizable, so i don't know
how many rows it will display at runtime).
Thanks!
Ian
.
- References:
- Find 'TopIndex' in a listbox
- From: ians
- Re: Find 'TopIndex' in a listbox
- From: Stephen Lebans
- Re: Find 'TopIndex' in a listbox
- From: ians
- Find 'TopIndex' in a listbox
- Prev by Date: Re: Stephen Lebans Snapshot to PDF solution
- Next by Date: Re: Best way to Enter and Calculate Student Scores in a Gradebook Form
- Previous by thread: Re: Find 'TopIndex' in a listbox
- Next by thread: New to relational databases
- Index(es):
Relevant Pages
|