Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VB 6 ListBox issue...

0 views
Skip to first unread message

DJ.Ro...@gmail.com

unread,
May 16, 2008, 10:39:24 PM5/16/08
to
Hi,

I was wondering if someone could help me. I have a program which does
some calculations using an algorithm and returns 15 possible results
into a Listbox. Now as it does that, I want it to calculate the
largest value found, and highlight that line in the listbox. But once
it has done that, I also want to be able to select the next largest
value, everytime a "Next" button is pressed (or the previous largest
value if a "Previous" button is pressed).

Is such a thing possible? If so, I would appreciate any could you
could provide as an example. I am a beginner in VB, and in
programming in general, so a clear explanation and any supporting
comments would be much appreciated.

Thanks in advance,

Rob

Bob O`Bob

unread,
May 17, 2008, 1:14:52 AM5/17/08
to
DJ.Ro...@gmail.com wrote:

I don't think you'll need any special buttons, and also I think
users might have an easier time using your app, if you were to
simply turn on the Sorted property of the listbox.

Try it out. Let us know.

Bob
--

0 new messages