Results 1 to 2 of 2

Thread: Inherited Form - Missing Component

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    101

    Question Inherited Form - Missing Component

    Good day.

    I had a generic form created, named frmGeneric containing a Tab Control.

    I created an inherited form from frmGeneric and I place a Label in the Tab Control.

    I have a problem here. Everytime I rebuild project containing frmGeneric, the Label in Tab Control of the inherited form will disappear.

    If I check through the object list in Property window, the Label is still there.

    Why this happen ? And how can I solve this problem ?

    Thanks.

    SonicWave

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    101

    Red face

    Good day.

    Just now I accidentally manage to get the problem solved.

    What I did is, I change the property MODIFIER of the Tab Header of Tab Control to PROTECTED (Previously is FRIEND) . And finally, even I rebuild, the label is still there.

    Although it is fixed, but I still don't understand why.

    ANyone, please explain to me.

    Thanks a lot.

    SonicWave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width