Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: NOT VB .... VBA Pin
Dave Kreskowiak9-Sep-05 2:23
mveDave Kreskowiak9-Sep-05 2:23 
GeneralRe: NOT VB .... VBA Pin
OMalleyW9-Sep-05 2:59
OMalleyW9-Sep-05 2:59 
GeneralRe: NOT VB .... VBA Pin
Dave Kreskowiak9-Sep-05 4:10
mveDave Kreskowiak9-Sep-05 4:10 
GeneralRe: NOT VB .... VBA Pin
OMalleyW9-Sep-05 4:34
OMalleyW9-Sep-05 4:34 
QuestionHow to cumulate input values Pin
directred9-Sep-05 1:01
directred9-Sep-05 1:01 
AnswerRe: How to cumulate input values Pin
Dave Kreskowiak9-Sep-05 2:15
mveDave Kreskowiak9-Sep-05 2:15 
GeneralRe: How to cumulate input values Pin
directred9-Sep-05 3:09
directred9-Sep-05 3:09 
QuestionWindows Form Inheritance Issue Pin
Jason Stamp9-Sep-05 0:33
Jason Stamp9-Sep-05 0:33 
I am creating a new VB.NET application where I have a base form that inherits from System.Windows.Forms.Form. Within that base form I have put a number of panels on the form, using docks or anchors for each to layout my sections. This base form has been copiled as part of a class library to be used in describing an application.

I have then created a VB.NET windows application project with a main form that inherits from my base form in the class library that I have created. The dll for this is referenced in my new windows application.

When I open my main form in the windows application I can see all the panels in the correct layout, these panels modifiers have been set to protected friend in the base form so I can add new controls to them in the main form.

Everything works well until I start to add controls to them or try to create event handlers for these panels. In the main form code window, I cannot see the panel objects in the list of objects with events, in order to select an event to use in the declaration drop down list. I can manually add an event handler in code. If I do either of these things, the designer decides to bugger up the layout of the inherited panels.

The only way I can reset them, is to change the inherits from in the main form to System.Windows.Forms.Form then back to the base form.

Everything looks OK again then in the designer and when I run the application, until I make any changes in the main form which in turns buggers up the layout of my inherited panels.

Are there any known issues in VB.NET with what I am trying to achieve, and advice would be appreciated.

Cheers

Jason


Questiongetting homepath for currently logged in user Pin
Shivani Arora8-Sep-05 23:59
Shivani Arora8-Sep-05 23:59 
AnswerRe: getting homepath for currently logged in user Pin
Dave Kreskowiak9-Sep-05 2:10
mveDave Kreskowiak9-Sep-05 2:10 
GeneralRe: getting homepath for currently logged in user Pin
jcrussell11-Sep-05 15:49
jcrussell11-Sep-05 15:49 
Questionsetting the image of crystal report object during the runtime Pin
Hemesh8-Sep-05 20:30
Hemesh8-Sep-05 20:30 
QuestionMovable Toolbar Pin
kenexcelon8-Sep-05 20:25
kenexcelon8-Sep-05 20:25 
QuestionBYPASS LOGIN Pin
tatchung8-Sep-05 19:35
tatchung8-Sep-05 19:35 
AnswerRe: BYPASS LOGIN Pin
Dave Kreskowiak9-Sep-05 2:01
mveDave Kreskowiak9-Sep-05 2:01 
Questionhoe to access last record in Access 2000 table Pin
Swiss Mantoro8-Sep-05 17:57
Swiss Mantoro8-Sep-05 17:57 
AnswerRe: hoe to access last record in Access 2000 table Pin
crash_cverride8-Sep-05 22:27
crash_cverride8-Sep-05 22:27 
GeneralRe: hoe to access last record in Access 2000 table Pin
Swiss Mantoro8-Sep-05 23:15
Swiss Mantoro8-Sep-05 23:15 
Generalhoe to access last record in Access 2000 table Pin
Swiss Mantoro8-Sep-05 23:21
Swiss Mantoro8-Sep-05 23:21 
Questiondynamic RichTextBox accesing the Selection FontStyle Pin
Taen_Karth8-Sep-05 17:40
Taen_Karth8-Sep-05 17:40 
AnswerRe: dynamic RichTextBox accesing the Selection FontStyle Pin
Christian Graus8-Sep-05 17:59
protectorChristian Graus8-Sep-05 17:59 
GeneralRe: dynamic RichTextBox accesing the Selection FontStyle Pin
Taen_Karth8-Sep-05 18:10
Taen_Karth8-Sep-05 18:10 
GeneralRe: dynamic RichTextBox accesing the Selection FontStyle Pin
Christian Graus8-Sep-05 18:11
protectorChristian Graus8-Sep-05 18:11 
GeneralRe: dynamic RichTextBox accesing the Selection FontStyle Pin
Taen_Karth9-Sep-05 16:40
Taen_Karth9-Sep-05 16:40 
AnswerRe: dynamic RichTextBox accesing the Selection FontStyle Pin
PranjalSharma12-Sep-05 0:28
PranjalSharma12-Sep-05 0:28 

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.