Click here to Skip to main content
15,908,172 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# program doesnt run on some machines Pin
HighlanderGreen8-Aug-11 11:32
HighlanderGreen8-Aug-11 11:32 
QuestionDatagridView, COMBOBOX COLUMN, Event does not happen immediately, Pin
ThorTheBraveGod5-Aug-11 3:11
ThorTheBraveGod5-Aug-11 3:11 
QuestionLocation Translation Logic Pin
cjb1105-Aug-11 0:48
cjb1105-Aug-11 0:48 
AnswerRe: Location Translation Logic Pin
V.5-Aug-11 1:34
professionalV.5-Aug-11 1:34 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 1:40
cjb1105-Aug-11 1:40 
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 
mmm, It looks to me like you need to calculate or determine your offset and change the location of the elements with that offset.

I would do the following.
1. Add a control to the panel via code and set it to an offset 0,0, then 10, 10 then -10, 10.
2. Try to hardcode 1 element to an offset on your screen, if it shows, you have your problem
3. Add a button that adds/substracts an offset (eg 100) and make your panel update accordingly.

- What kind of control is the NodeUI? is it a viewable control? (what happens if you hardcode one on a panel?
- You did use mypanel.Controls.Add(whatevercontrol) ?
- Did you try to redraw the panel with the update or invalidate method (can't remember which one)
- You could create a panel in code which is big enough to hold all controls, add the controls to this panel and add that panel to the panel you need, that should definitely show the scrollbar. (change the background to something obvious so you're sure it's added)
V.

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 
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 

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.