Solved

SMOOTH PANNING LEFT RIGHT NAVIGATION PANEL INSIDE FLOWLAYOUTPANEL

Posted on 2011-02-13
8
972 Views
Last Modified: 2012-05-11
Hi All,

I dynamically load panels to flowlayoutpanel.

How could I smoothly panning left or right ?

Thank you.
0
Comment
Question by:emi_sastra
  • 4
  • 3
8 Comments
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 34885314
Is the FlowLayoutPanel flickering on scroll?
...or are you asking how to be able to drag on the panels themselves to make the FlowLayoutPanel scroll?
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885341
There are two arrow button, left and right.
When one of them clicked the the images inside the flp is panning ?

That's what I am looking for.

Thank you.
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 34885472
So is the FlowLayoutPanel full of images and the SCROLLBARS have already appeared...and you want the buttons to scroll it?

Or there are not scrollbars, but you want it to move back and forth to images that are not currently visible just as if there were scrollbars?  (but not jump discreetly when you "page")...
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885605
There is no scroll bar from FlowLayoutPanel, it is a button.

All Images are current in FlowLayoutPanel, we just show portion of it.

Thank you.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 34885726
Not sure exactly what effect you're after here...

I think what you need to do is shift the Location() property of all the currently visible Images to the left or right as the buttons are pushed.  When an Image is completely shifted out of sight you simply remove it from the Panel.  This could be checked by converting the ClientRectnagles to SCREEN coords via the RectangleToScreen() method and then using the IntersectsWith() function.

When enough space is available to the left/right of the images at the edges then you add another dynamic image to the panel.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885795
Please see tyre mark at bottom of the screen.

There scroll image at left and right.
Thank you.
MAIN-FORM.bmp
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34886415
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34887356
Yes, it helps.

Thank you very much for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now