Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
QuestionTo Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
Al Gardner6-Sep-04 3:28
Al Gardner6-Sep-04 3:28 
AnswerRe: To Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
mav.northwind6-Sep-04 4:16
mav.northwind6-Sep-04 4:16 
AnswerRe: To Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
Heath Stewart6-Sep-04 9:40
protectorHeath Stewart6-Sep-04 9:40 
GeneralAutoScroll Puzzle Pin
Paul Griffin6-Sep-04 3:08
Paul Griffin6-Sep-04 3:08 
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart6-Sep-04 10:00
protectorHeath Stewart6-Sep-04 10:00 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin6-Sep-04 23:25
Paul Griffin6-Sep-04 23:25 
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart7-Sep-04 6:27
protectorHeath Stewart7-Sep-04 6:27 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin7-Sep-04 6:38
Paul Griffin7-Sep-04 6:38 
Hi Heath,

sorry if i seem to be missing the point! Perhaps i need to re-phrase what it is i'm trying to accomplish. I'm trying to get a panel with AutoScroll set to true to scroll to a certain location i.e. the location last clicked before i gave focus to the panel thus causing it to redraw at its initial position.

No in your example you use this.AutoScrollPosition = p;

i assume for me this would be mypanel.AutoScrollPosition = p;

but when i do this and debug it if i step over the assignment the AutoScrollPosition value = (0,0);

so i understand that i need to offset the AutoScrollPosition .. i just can't seem to get it to change from (0,0)

again i appreciate your help here! this is starting to drive me mad! Smile | :)

Paul Griffin
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart7-Sep-04 6:42
protectorHeath Stewart7-Sep-04 6:42 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin8-Sep-04 1:14
Paul Griffin8-Sep-04 1:14 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin7-Sep-04 6:46
Paul Griffin7-Sep-04 6:46 
Generalfind the shortest path between two mouse clicks Pin
caspernjk6-Sep-04 2:14
caspernjk6-Sep-04 2:14 
Generalfind the shortest path between two mouse clicks Pin
caspernjk6-Sep-04 2:07
caspernjk6-Sep-04 2:07 
GeneralRe: find the shortest path between two mouse clicks Pin
pxp6-Sep-04 3:54
pxp6-Sep-04 3:54 
GeneralSockets and threads! How to scale well :P (Part II) Pin
6-Sep-04 2:01
suss6-Sep-04 2:01 
GeneralRe: Sockets and threads! How to scale well :P (Part II) Pin
Heath Stewart6-Sep-04 9:53
protectorHeath Stewart6-Sep-04 9:53 
GeneralUsing COM classes Pin
_Magnus_6-Sep-04 1:58
_Magnus_6-Sep-04 1:58 
GeneralRe: Using COM classes Pin
mav.northwind6-Sep-04 2:21
mav.northwind6-Sep-04 2:21 
GeneralRe: Using COM classes Pin
_Magnus_6-Sep-04 2:30
_Magnus_6-Sep-04 2:30 
QuestionFile.Exists question? Pin
jzb6-Sep-04 1:03
jzb6-Sep-04 1:03 
AnswerRe: File.Exists question? Pin
Tom Larsen6-Sep-04 4:13
Tom Larsen6-Sep-04 4:13 
AnswerRe: File.Exists question? Pin
Heath Stewart6-Sep-04 9:43
protectorHeath Stewart6-Sep-04 9:43 
AnswerRe: File.Exists question? Pin
Bill Dean6-Sep-04 13:36
Bill Dean6-Sep-04 13:36 
GeneralSmart Device Application with SQL Server Ce Pin
mathon6-Sep-04 0:28
mathon6-Sep-04 0:28 
GeneralDataGrid hangs when using threads Pin
tobiaseriksson6-Sep-04 0:00
tobiaseriksson6-Sep-04 0:00 

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.