Results 1 to 2 of 2

Thread: [RESOLVED] Control initialisation order wrong when loading form with user control

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2004
    Location
    England
    Posts
    9

    Resolved [RESOLVED] Control initialisation order wrong when loading form with user control

    When I load a form with a user control the order of initialisation is supposed to be:-
    Initialise
    readproperties
    resize 1
    (according to 'Creating an activex control' > 'Life and times of a UserControl Object' in help)

    but it is actually being carried out in the following order:-

    Initialise
    resize 1
    readproperties

    as displayed in the immediate window. This means that any code in resize that needs to use recovered properties cannot do so.

    Can anyone explain why this happens. and what to do about it?

    Thanks in advance
    Last edited by B Anderson; Feb 23rd, 2005 at 07:23 AM.

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