Click here to Skip to main content
15,883,705 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionInsert Code tag in the webbrowser control Pin
Luay.Essa29-Oct-07 21:14
Luay.Essa29-Oct-07 21:14 
QuestionLoading a User Control onto a panel at runtime Pin
Henry Venn28-Oct-07 1:49
Henry Venn28-Oct-07 1:49 
AnswerRe: Loading a User Control onto a panel at runtime Pin
TJoe28-Oct-07 6:52
TJoe28-Oct-07 6:52 
QuestionRe: Loading a User Control onto a panel at runtime Pin
Henry Venn28-Oct-07 15:56
Henry Venn28-Oct-07 15:56 
AnswerRe: Loading a User Control onto a panel at runtime Pin
TJoe29-Oct-07 2:14
TJoe29-Oct-07 2:14 
GeneralRe: Loading a User Control onto a panel at runtime Pin
Henry Venn30-Oct-07 0:58
Henry Venn30-Oct-07 0:58 
GeneralRe: Loading a User Control onto a panel at runtime Pin
TJoe30-Oct-07 2:01
TJoe30-Oct-07 2:01 
QuestionRe: Loading a User Control onto a panel at runtime Pin
Henry Venn31-Oct-07 17:18
Henry Venn31-Oct-07 17:18 
Hmmm... thanks again Tom. I built a project to send to you, and it has helped - I think that the user control IS there, however it is hidden beneath a flow layout panel, which I used to structure the entire GUI. Still having the same problem however: the user control sticks to the main window, while a Windows control goes where I ask it, and stays on the panel...

Will experiment a bit more. I can send you the project if a solution doesn't present itself, however I feel that its something to do with addressing the panel - but that does not explain the placement.


Hold the press! I solved it - here's how, and also what surprised me:

It was the sizing, like you said, because the user control would only stay on the screen if I chopped off the "With Events" clause. So I reproduced the problem in a brand new project with a main form, containing 2 panels and 2 buttons, and a user control with a label on it. Embarrassingly, the reason the control was being placed on the panel was some old code in a "Finally" clause - silly me. What surprised me is that a call to clear the panel is only required for a flow layout panel - if not, it will place the next control at the right of any existing user control. Flow layout...maybe I should not be surprised!

Thanks once again - it took awhile but I got there!

Henry
AnswerRe: Loading a User Control onto a panel at runtime Pin
Henry Venn31-Oct-07 17:35
Henry Venn31-Oct-07 17:35 
QuestionEmbedding an Access table into datagrid Pin
latuan13227-Oct-07 21:53
latuan13227-Oct-07 21:53 
AnswerRe: Embedding an Access table into datagrid Pin
Paul Conrad28-Oct-07 6:33
professionalPaul Conrad28-Oct-07 6:33 
GeneralHorizontally Scroll Lines of Text Pin
Brady Kelly27-Oct-07 1:40
Brady Kelly27-Oct-07 1:40 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn28-Oct-07 7:08
sitebuilderLuc Pattyn28-Oct-07 7:08 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 3:21
Brady Kelly29-Oct-07 3:21 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn29-Oct-07 3:27
sitebuilderLuc Pattyn29-Oct-07 3:27 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 4:02
Brady Kelly29-Oct-07 4:02 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn29-Oct-07 4:31
sitebuilderLuc Pattyn29-Oct-07 4:31 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 4:39
Brady Kelly29-Oct-07 4:39 
QuestionAccessing multiple groups of radiobuttons Pin
Steve Landers26-Oct-07 13:25
Steve Landers26-Oct-07 13:25 
AnswerRe: Accessing multiple groups of radiobuttons Pin
Luc Pattyn26-Oct-07 14:15
sitebuilderLuc Pattyn26-Oct-07 14:15 
GeneralRe: Accessing multiple groups of radiobuttons Pin
Steve Landers27-Oct-07 10:08
Steve Landers27-Oct-07 10:08 
GeneralRe: Accessing multiple groups of radiobuttons Pin
Luc Pattyn27-Oct-07 13:25
sitebuilderLuc Pattyn27-Oct-07 13:25 
GeneralRe: Accessing multiple groups of radiobuttons Pin
Steve Landers27-Oct-07 13:56
Steve Landers27-Oct-07 13:56 
QuestionHow to display char & integer type variables toether in a list box Pin
nuweima25-Oct-07 19:56
nuweima25-Oct-07 19:56 
AnswerRe: How to display char & integer type variables toether in a list box Pin
Luc Pattyn26-Oct-07 14:22
sitebuilderLuc Pattyn26-Oct-07 14:22 

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.