C
C
CryptoPython2018-10-13 14:44:39
C++ / C#
CryptoPython, 2018-10-13 14:44:39

How to scroll an image in a panel using a scrollbar (winForm or WPF)?

In general, there is a panel in it with pictures, let's say 10, only 3 are visible, it is necessary that when the button is pressed, other 3 pictures appear, etc., there is an idea with a scroll, so that when the button is pressed, the scroll position changes, and the scroll is hidden, how to do it? Help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-10-14
@Got_Oxidus

You'll need:
Throw it all in a pile (window). Create a counter (path will be i). And the event handler, in which pictures i, i + 1 and i + 2 are loaded, in it you also update the counter by 3.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question