Click here to Skip to main content
15,868,099 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#/Java communication Pin
Jinwah14-Jan-04 23:50
Jinwah14-Jan-04 23:50 
GeneralRe: C#/Java communication Pin
Norman Fung15-Jan-04 3:55
Norman Fung15-Jan-04 3:55 
GeneralRe: C#/Java communication Pin
Heath Stewart15-Jan-04 5:04
protectorHeath Stewart15-Jan-04 5:04 
GeneralRe: C#/Java communication Pin
Norman Fung15-Jan-04 6:24
Norman Fung15-Jan-04 6:24 
GeneralOwner drawn menus Pin
UB14-Jan-04 23:01
UB14-Jan-04 23:01 
GeneralRe: Owner drawn menus Pin
Heath Stewart15-Jan-04 4:48
protectorHeath Stewart15-Jan-04 4:48 
GeneralRe: Owner drawn menus Pin
UB16-Jan-04 5:39
UB16-Jan-04 5:39 
GeneralScrolled object positioning Pin
Jinwah14-Jan-04 22:08
Jinwah14-Jan-04 22:08 
Can anyone help as I am having a little trouble..

I have a panel with AutoScroll = True. I have added a panel to this control which is bigger than the parent, so scroll bars appear. Then I add another panel calculating the position using

<br />
panelPos = PanelList.Count * APanel.Height;<br />
APanel.Location = new System.Drawing.Point(30, 38 + panelPos);<br />


When the scroll box is not scrolled adding panels puts each one directly below the next as I want. But if the parent is scrolled down then the position is wrong (the new panel is added too low down) by an offset.

I thought the answer would be in the AutoScrollPosition property but I haven't been succesful in making it work.

Any ideas?

TIA

Luke
GeneralRe: Scrolled object positioning Pin
Heath Stewart15-Jan-04 4:38
protectorHeath Stewart15-Jan-04 4:38 
GeneralPlease give me an idea. Pin
god4k14-Jan-04 21:31
god4k14-Jan-04 21:31 
GeneralRe: Please give me an idea. Pin
Jinwah14-Jan-04 23:47
Jinwah14-Jan-04 23:47 
GeneralRe: Please give me an idea. Pin
Heath Stewart15-Jan-04 4:29
protectorHeath Stewart15-Jan-04 4:29 
GeneralInserting and Updating BLOBS Pin
Guinness4Strength14-Jan-04 18:28
Guinness4Strength14-Jan-04 18:28 
GeneralRe: Inserting and Updating BLOBS Pin
Heath Stewart15-Jan-04 4:24
protectorHeath Stewart15-Jan-04 4:24 
GeneralRe: Inserting and Updating BLOBS Pin
Guinness4Strength15-Jan-04 4:44
Guinness4Strength15-Jan-04 4:44 
GeneralRe: Inserting and Updating BLOBS Pin
Heath Stewart15-Jan-04 6:54
protectorHeath Stewart15-Jan-04 6:54 
GeneralRe: Inserting and Updating BLOBS Pin
Guinness4Strength15-Jan-04 8:20
Guinness4Strength15-Jan-04 8:20 
QuestionBest way of tracking remoting clients? Pin
Alex Korchemniy14-Jan-04 18:21
Alex Korchemniy14-Jan-04 18:21 
AnswerRe: Best way of tracking remoting clients? Pin
occcy14-Jan-04 21:22
occcy14-Jan-04 21:22 
GeneralRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 3:57
protectorHeath Stewart15-Jan-04 3:57 
AnswerRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 4:03
protectorHeath Stewart15-Jan-04 4:03 
GeneralRe: Best way of tracking remoting clients? Pin
Alex Korchemniy15-Jan-04 4:37
Alex Korchemniy15-Jan-04 4:37 
GeneralRe: Best way of tracking remoting clients? Pin
Heath Stewart15-Jan-04 9:41
protectorHeath Stewart15-Jan-04 9:41 
GeneralCustom Attributes Pin
pnolan14-Jan-04 13:53
pnolan14-Jan-04 13:53 
GeneralRe: Custom Attributes Pin
Heath Stewart15-Jan-04 3:55
protectorHeath Stewart15-Jan-04 3:55 

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.