Click here to Skip to main content
15,891,607 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Text file as code Pin
cstrader2324-Sep-07 10:15
cstrader2324-Sep-07 10:15 
Questionlink label problem Pin
bapu28894-Sep-07 9:02
bapu28894-Sep-07 9:02 
AnswerRe: link label problem Pin
Rizwan Bashir5-Sep-07 0:27
Rizwan Bashir5-Sep-07 0:27 
QuestionRe: link label problem Pin
bapu28895-Sep-07 8:15
bapu28895-Sep-07 8:15 
QuestionEdit A Subcontrol within a control Pin
Polymorpher4-Sep-07 9:02
Polymorpher4-Sep-07 9:02 
AnswerRe: Edit A Subcontrol within a control Pin
Dave Kreskowiak4-Sep-07 11:48
mveDave Kreskowiak4-Sep-07 11:48 
GeneralRe: Edit A Subcontrol within a control Pin
Polymorpher4-Sep-07 12:01
Polymorpher4-Sep-07 12:01 
GeneralRe: Edit A Subcontrol within a control Pin
Dave Kreskowiak4-Sep-07 15:38
mveDave Kreskowiak4-Sep-07 15:38 
You're going to have to add code to your control to handle dragging the grid around at design time. The designer won't do it for you because it doesn't support designing constituent controls seperate from the user control that contains them, at the controls runtime.

The properties will all have to be re-exposed as public properties of the user control.

A user control's runtime doesn't begin when the forms project the control is used in is finally run. A User Control's runtime begins when an instance of the control is created on the host form.

From your description, it sounds like it would be better to just break the datagridview out on its own and not have it as a constituent of a user control.




A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionPanel VScrollBar to also control's Datagrid's VScrollBar! Pin
jensenx4-Sep-07 7:22
jensenx4-Sep-07 7:22 
AnswerRe: Panel VScrollBar to also control's Datagrid's VScrollBar! Pin
Dave Kreskowiak5-Sep-07 6:10
mveDave Kreskowiak5-Sep-07 6:10 
GeneralRe: Panel VScrollBar to also control's Datagrid's VScrollBar! Pin
jensenx5-Sep-07 8:02
jensenx5-Sep-07 8:02 
GeneralRe: Panel VScrollBar to also control's Datagrid's VScrollBar! Pin
jensenx8-Sep-07 7:10
jensenx8-Sep-07 7:10 
QuestionGlobal variables Pin
A.D.Scott4-Sep-07 4:36
A.D.Scott4-Sep-07 4:36 
AnswerRe: Global variables Pin
Christian Graus4-Sep-07 4:47
protectorChristian Graus4-Sep-07 4:47 
GeneralRe: Global variables Pin
A.D.Scott4-Sep-07 4:53
A.D.Scott4-Sep-07 4:53 
GeneralRe: Global variables Pin
Christian Graus4-Sep-07 5:17
protectorChristian Graus4-Sep-07 5:17 
GeneralRe: Global variables Pin
Dave Kreskowiak4-Sep-07 5:23
mveDave Kreskowiak4-Sep-07 5:23 
GeneralRe: Global variables Pin
Christian Graus4-Sep-07 6:13
protectorChristian Graus4-Sep-07 6:13 
AnswerRe: Global variables Pin
Dave Kreskowiak4-Sep-07 4:56
mveDave Kreskowiak4-Sep-07 4:56 
GeneralRe: Global variables Pin
Pascal Ganaye4-Sep-07 5:55
Pascal Ganaye4-Sep-07 5:55 
GeneralRe: Global variables Pin
Dave Kreskowiak4-Sep-07 6:08
mveDave Kreskowiak4-Sep-07 6:08 
GeneralRe: Global variables Pin
Polymorpher4-Sep-07 9:14
Polymorpher4-Sep-07 9:14 
GeneralRe: Global variables Pin
Dave Kreskowiak4-Sep-07 11:47
mveDave Kreskowiak4-Sep-07 11:47 
GeneralRe: Global variables Pin
Polymorpher4-Sep-07 11:52
Polymorpher4-Sep-07 11:52 
GeneralRe: Global variables Pin
Dave Kreskowiak4-Sep-07 15:41
mveDave Kreskowiak4-Sep-07 15:41 

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.