Click here to Skip to main content
16,015,072 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Visual Inherited Form Load Pin
programmervb.netc++18-Feb-09 7:56
programmervb.netc++18-Feb-09 7:56 
GeneralRe: Visual Inherited Form Load Pin
Dave Kreskowiak18-Feb-09 10:27
mveDave Kreskowiak18-Feb-09 10:27 
GeneralRe: Visual Inherited Form Load Pin
Tom Deketelaere18-Feb-09 22:31
professionalTom Deketelaere18-Feb-09 22:31 
AnswerRe: Visual Inherited Form Load Pin
Tom Deketelaere18-Feb-09 22:36
professionalTom Deketelaere18-Feb-09 22:36 
GeneralRe: Visual Inherited Form Load Pin
Dave Kreskowiak19-Feb-09 2:09
mveDave Kreskowiak19-Feb-09 2:09 
GeneralRe: Visual Inherited Form Load Pin
Tom Deketelaere19-Feb-09 2:39
professionalTom Deketelaere19-Feb-09 2:39 
GeneralRe: Visual Inherited Form Load Pin
programmervb.netc++19-Feb-09 4:56
programmervb.netc++19-Feb-09 4:56 
GeneralRe: Visual Inherited Form Load Pin
Tom Deketelaere19-Feb-09 5:10
professionalTom Deketelaere19-Feb-09 5:10 
programmer_vb.net_c++ wrote:
I am unsure what you mean by override the text property in the parent form, is that something I can do in the designer or do I need to modify the generated code...


In the parent form:
Public Overrides Property Text() As String
    Get
        Return MyBase.Text 'change this
    End Get
    Set(ByVal value As String)
        MyBase.Text = value 'change this
    End Set
End Property

If you do that (and change the lines indicate) you override the text property.

programmer_vb.net_c++ wrote:
Although I have fix the errors that I was getting in the designer now I am not getting errors when I add to the child form new controls they just disappear.


This is really weird behavior, never had that happen to me.
I would take the following steps in finding out what happens:
-Close all open windows (code/design windows)
-Clean solution
-Rebuild solution
-restart VS
--> test if it works now
if not:
-create new project
-import parent form
--> test if it works now
if not:
-create new project
-create (simple) parent form (start with a blank one, and then add the controls you want/need)
--> test if it works now

If it works on the last step, my guess would be you have a reference doing something strange. I know its far fetched but I had some very weird behavior with a previous (very bad) component we used.

Let me know if you find a solution or not, in the mean while I'll go tru my early notes and see if I didn't have something similar in the past.
QuestionDataView correct date filtering Pin
kanchoette18-Feb-09 4:33
kanchoette18-Feb-09 4:33 
AnswerRe: DataView correct date filtering Pin
Dave Kreskowiak18-Feb-09 4:47
mveDave Kreskowiak18-Feb-09 4:47 
AnswerRe: DataView correct date filtering Pin
Eddy Vluggen18-Feb-09 4:53
professionalEddy Vluggen18-Feb-09 4:53 
GeneralRe: DataView correct date filtering Pin
kanchoette18-Feb-09 8:39
kanchoette18-Feb-09 8:39 
GeneralRe: DataView correct date filtering Pin
Eddy Vluggen18-Feb-09 20:41
professionalEddy Vluggen18-Feb-09 20:41 
GeneralRe: DataView correct date filtering Pin
kanchoette18-Feb-09 20:45
kanchoette18-Feb-09 20:45 
Questionprint data gridview Pin
Mohamed Safi Samsudeen18-Feb-09 2:23
Mohamed Safi Samsudeen18-Feb-09 2:23 
AnswerRe: print data gridview Pin
Vimalsoft(Pty) Ltd18-Feb-09 3:13
professionalVimalsoft(Pty) Ltd18-Feb-09 3:13 
AnswerRe: print data gridview Pin
ABitSmart18-Feb-09 3:14
ABitSmart18-Feb-09 3:14 
QuestionCreating a grouped list with LINQ Pin
kanchoette18-Feb-09 1:48
kanchoette18-Feb-09 1:48 
AnswerRe: Creating a grouped list with LINQ Pin
ABitSmart18-Feb-09 2:39
ABitSmart18-Feb-09 2:39 
QuestionCopy variables of an object not the reference. Pin
Jay Royall18-Feb-09 1:18
Jay Royall18-Feb-09 1:18 
AnswerRe: Copy variables of an object not the reference. Pin
Jay Royall18-Feb-09 2:12
Jay Royall18-Feb-09 2:12 
GeneralRe: Copy variables of an object not the reference. [modified] Pin
ABitSmart18-Feb-09 2:45
ABitSmart18-Feb-09 2:45 
GeneralRe: Copy variables of an object not the reference. Pin
Jay Royall18-Feb-09 3:15
Jay Royall18-Feb-09 3:15 
GeneralRe: Copy variables of an object not the reference. Pin
Luc Pattyn18-Feb-09 3:05
sitebuilderLuc Pattyn18-Feb-09 3:05 
Questionupdating database in vb.net Pin
parkash_C17-Feb-09 23:51
parkash_C17-Feb-09 23:51 

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.