Link to home
Start Free TrialLog in
Avatar of ote
ote

asked on

Moving NEXT or Previous by a CommandButton

In a form, in VB4, I have DriveListBox, a DirListBox and a FileListBox in
which there is a list of some jpg pictures. Making a click in any of these, the picture is
displayed in a pictureBox.
What I ask for is:
I would like to add 2 CommandButtons. One for the next picture of the list and one for the previous.
How could I do it? What is the code for these Buttons?
Avatar of mark2150
mark2150

Myself, I'd get rid of all the of list boxes and go to the common dialog control. They specify a directory and then read all of the .JPG files into a regular list. Once the list is established moving thru it is easy. With the drive list boxes and such the choices are *displayed* in the control but the results are not easy to interpret nor is it easy to move thru the selections.

M
See the EE Thread:

   https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10230534

This solution should work for you... It costs 10 points...


Cheers!
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial