CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Location
    Oakville, Ontario
    Posts
    48

    General Question [RESOLVED]

    Hello Gurus;

    I am in the midst of learning vb's User Control capabilities (just created my own Calendar control) and I think I am missing something. The following is a snippet of code from a tutorial:

    [vbcode]
    'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES!
    'MappingInfo=tmrTicker,tmrTicker,-1,Interval
    Public Property Get Interval() As Long
    Interval = tmrTicker.Interval
    End Property

    [/vbcode]

    My question is about the commented line that has MappingInfo=etc...What does this line do? As the comment indicates it above, it would seem that it executes. I have been looking for a simple explanation for this, but even the tutorial I grabbed the example from does little to shed ample light. Thanks much.
    Last edited by Ahara; March 24th, 2004 at 08:39 AM.

  2. #2
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    Hi
    Seems this sample uses the user control interface wizard to add or map some properties of the usercntrol.
    hence seems VB6 wizard needs these comments to know which members it added so when you open the wizard again you can find them listed.

  3. #3
    Join Date
    Nov 2002
    Location
    Oakville, Ontario
    Posts
    48
    Indeed, the wizard was used....Thanks very much for clearing this up for me

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

Featured