Hi Dave Not quite what I was after but very pretty all the same. I can put it to good use elsewhere if that's OK with you.
The list box is almost the height of the form which automatically sizes to the available application screen. There is a text box above which is were I want to be able to type in the Stock Code. The Stock code is formatted, Company i.e. "AWG" + Year "09" + Stock No "2" + "a Suffix i.e. "UN" which gives "AWG09-2-UN" or "AWG09-1432-UN" I can look for the code in the cursor "TempStock" and then set the list box's "ListIndex" to the record no but, It I don't always locate the record correctly so it the list box doesn't focus to the right record. I've set Exact off so that it locates the nearest but "AWG08-21" focus's on "AWG08-2-UN". Will pe5rsevere this evening unless anyone has any better suggestions. Cheers Peter -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Peter Hart Sent: 07 May 2009 10:31 To: ProFox Email List Subject: RE: Focus in List Box Thanks Dave Will look at it when I get back in the office. Cheers Peter Subject: RE: Focus in List Box Peter, Look at your personal email. Hope it helps. Dave Crozier [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af04c...@server.peterhartcomputers.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

