Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
AnswerRe: Resize Control Pin
BillWoodruff18-Sep-14 21:41
professionalBillWoodruff18-Sep-14 21:41 
GeneralRe: Resize Control Pin
AmbiguousName18-Sep-14 21:52
AmbiguousName18-Sep-14 21:52 
GeneralRe: Resize Control Pin
Rob Philpott18-Sep-14 22:12
Rob Philpott18-Sep-14 22:12 
GeneralRe: Resize Control Pin
BillWoodruff18-Sep-14 22:58
professionalBillWoodruff18-Sep-14 22:58 
GeneralRe: Resize Control Pin
Rob Philpott19-Sep-14 0:28
Rob Philpott19-Sep-14 0:28 
AnswerRe: Resize Control Pin
Richard MacCutchan18-Sep-14 22:18
mveRichard MacCutchan18-Sep-14 22:18 
GeneralRe: Resize Control Pin
AmbiguousName19-Sep-14 0:20
AmbiguousName19-Sep-14 0:20 
GeneralRe: Resize Control Pin
Richard MacCutchan19-Sep-14 3:39
mveRichard MacCutchan19-Sep-14 3:39 
AnswerRe: Resize Control Pin
Dave Kreskowiak19-Sep-14 2:23
mveDave Kreskowiak19-Sep-14 2:23 
AnswerRe: Resize Control Pin
BillWoodruff19-Sep-14 8:36
professionalBillWoodruff19-Sep-14 8:36 
Questionhow to convert pcl to pdf using ghostscript open source dll in C#.net under windows OS Pin
Member 1109382418-Sep-14 20:13
Member 1109382418-Sep-14 20:13 
AnswerRe: how to convert pcl to pdf using ghostscript open source dll in C#.net under windows OS Pin
BillWoodruff18-Sep-14 22:48
professionalBillWoodruff18-Sep-14 22:48 
QuestionRestClient POST Problem Pin
daniel87072118-Sep-14 17:57
daniel87072118-Sep-14 17:57 
AnswerRe: RestClient POST Problem Pin
jschell19-Sep-14 12:19
jschell19-Sep-14 12:19 
Questionget a table from a website and save it into a db Pin
Mohammad Kamali(mo_kml)18-Sep-14 11:02
Mohammad Kamali(mo_kml)18-Sep-14 11:02 
AnswerRe: get a table from a website and save it into a db Pin
Dave Kreskowiak18-Sep-14 14:27
mveDave Kreskowiak18-Sep-14 14:27 
AnswerRe: get a table from a website and save it into a db Pin
Sibeesh KV26-Sep-14 0:24
professionalSibeesh KV26-Sep-14 0:24 
Questionhow to detect that user touch the panel left or right edge WinForm Pin
Tridip Bhattacharjee18-Sep-14 4:56
professionalTridip Bhattacharjee18-Sep-14 4:56 
AnswerRe: how to detect that user touch the panel left or right edge WinForm Pin
Eddy Vluggen18-Sep-14 5:27
professionalEddy Vluggen18-Sep-14 5:27 
AnswerRe: how to detect that user touch the panel left or right edge WinForm Pin
BillWoodruff18-Sep-14 6:10
professionalBillWoodruff18-Sep-14 6:10 
GeneralRe: how to detect that user touch the panel left or right edge WinForm Pin
Tridip Bhattacharjee18-Sep-14 21:46
professionalTridip Bhattacharjee18-Sep-14 21:46 
GeneralRe: how to detect that user touch the panel left or right edge WinForm Pin
BillWoodruff18-Sep-14 22:23
professionalBillWoodruff18-Sep-14 22:23 
QuestionProgrammatically Scrolling is not working C# WinForm Pin
Tridip Bhattacharjee18-Sep-14 4:41
professionalTridip Bhattacharjee18-Sep-14 4:41 
AnswerRe: Programmatically Scrolling is not working C# WinForm Pin
Dave Kreskowiak18-Sep-14 5:46
mveDave Kreskowiak18-Sep-14 5:46 
AnswerRe: Programmatically Scrolling is not working C# WinForm Pin
BillWoodruff18-Sep-14 7:05
professionalBillWoodruff18-Sep-14 7:05 
The problem with Windows ContainerControls and trying to create your own alternative for "seamless" AutoScrolling is that setting 'AutoScroll to 'true means Scrollbars will be shown.

But, the bigger problem is that Win Forms is not designed for smooth animation ... at least not from programming regular C# with no API calls ... If you have a FlowLayoutPanel with lots of fancy Controls in it, moving it yourself within its ContainerControl will probably lead to a "herky-jerky" kind of effect. And, what the user sees is probably going to be influenced by the power of their CPU, GPU, etc.

To do animation of Controls, Windows, etc., why not consider WPF rather than WinForms: it's designed to support such advanced graphic features.

Please, as Dave suggested, format your code example.

Try and state your goal here very clearly: is it to make a FlowLayoutTable Control inside a Panel automatically move right or left ... an animation ... when the mouse is within certain areas ?

The solution I would use would not involve using 'AutoScroll at all: I'd use a 'Timer, and two Panels outside the Panel that contains the FlowLayoutTable.

Be happy to help you discover how to achieve this, but I want to see more work on your part, first, and I strongly suggest you think about whether a lot of work here might lead to a disappointing visual result.
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant


modified 18-Sep-14 13:40pm.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.