Click here to Skip to main content
16,011,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 1:46
professionalV.5-Aug-11 1:46 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 2:02
cjb1105-Aug-11 2:02 
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 2:11
professionalV.5-Aug-11 2:11 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 2:19
cjb1105-Aug-11 2:19 
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 2:25
professionalV.5-Aug-11 2:25 
GeneralRe: Location Translation Logic Pin
cjb1106-Aug-11 0:29
cjb1106-Aug-11 0:29 
GeneralRe: Location Translation Logic Pin
V.6-Aug-11 0:50
professionalV.6-Aug-11 0:50 
AnswerRe: Location Translation Logic Pin
BillWoodruff6-Aug-11 9:12
professionalBillWoodruff6-Aug-11 9:12 
I was reading this thread with interest; glad you have an answer.

It's interesting that if you turn the Auto-Scroll of a Form on, and place some controls way beyond the nominal size:
C#
private void Form1_Load(object sender, EventArgs e)
{
    button1.Left = 6000;
    button2.Left = 9100;
}


and then inspect the DisplayRectangle of the Form you can see negative co-ordinates like:

{X=-7891,Y=0,Width=9175,Height=733}

In the DisplayRectangle bounds.

Makes me wonder if there might be some way to exploit/map DisplayRectangle.Bounds to create a simpler means of translation of Control positions mapped to a different co-ordinate scheme.

By the way, if you have time, I'd appreciate your response to a question I have posted in the 'Algorithms' Forum[^]

best, Bill
"In the River of Delights, Panic has not failed me." Jorge Luis Borges

QuestionSomething for beginners Pin
Qlex4-Aug-11 22:39
Qlex4-Aug-11 22:39 
AnswerRe: Something for beginners Pin
Blue_Boy4-Aug-11 22:59
Blue_Boy4-Aug-11 22:59 
AnswerRe: Something for beginners Pin
Richard MacCutchan4-Aug-11 23:09
mveRichard MacCutchan4-Aug-11 23:09 
GeneralRe: Something for beginners Pin
Qlex4-Aug-11 23:53
Qlex4-Aug-11 23:53 
GeneralRe: Something for beginners Pin
Richard MacCutchan4-Aug-11 23:57
mveRichard MacCutchan4-Aug-11 23:57 
GeneralRe: Something for beginners Pin
Qlex5-Aug-11 0:22
Qlex5-Aug-11 0:22 
GeneralRe: Something for beginners Pin
Richard MacCutchan5-Aug-11 3:31
mveRichard MacCutchan5-Aug-11 3:31 
AnswerRe: Something for beginners Pin
V.5-Aug-11 3:01
professionalV.5-Aug-11 3:01 
GeneralRe: Something for beginners Pin
Qlex5-Aug-11 3:08
Qlex5-Aug-11 3:08 
GeneralRe: Something for beginners Pin
V.5-Aug-11 3:18
professionalV.5-Aug-11 3:18 
AnswerRe: Something for beginners Pin
Eddy Vluggen5-Aug-11 6:19
professionalEddy Vluggen5-Aug-11 6:19 
GeneralRe: Something for beginners Pin
Qlex7-Aug-11 20:32
Qlex7-Aug-11 20:32 
AnswerRe: Something for beginners Pin
jschell5-Aug-11 11:47
jschell5-Aug-11 11:47 
GeneralRe: Something for beginners Pin
Qlex7-Aug-11 20:37
Qlex7-Aug-11 20:37 
AnswerRe: Something for beginners Pin
BillWoodruff6-Aug-11 8:39
professionalBillWoodruff6-Aug-11 8:39 
GeneralRe: Something for beginners Pin
Qlex7-Aug-11 20:38
Qlex7-Aug-11 20:38 
AnswerRe: Something for beginners Pin
RaviRanjanKr7-Aug-11 9:20
professionalRaviRanjanKr7-Aug-11 9:20 

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.