Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #437

Re: Strange behavior of user controls

From "Nobody" <nobody@nobody.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Strange behavior of user controls
Date 2011-09-23 16:31 -0400
Organization Aioe.org NNTP Server
Message-ID <j5iqao$6tt$1@speranza.aioe.org> (permalink)
References <yTMeq.905$vg.316@newsfe29.ams2>

Show all headers | View raw


"Ivar" <ivar.ekstromer000@ntlworld.com> wrote in message 
news:yTMeq.905$vg.316@newsfe29.ams2...
> I've been using these two user controls for years and I have never seen 
> this before
> Does anybody have any idea why the usercontrols will show with default 
> properties instead of the set properties?
>
> Thanks for any replies

This could happen if you don't have code to save/restore/init the properties 
in these events:

InitProperties
ReadProperties
WriteProperties

Try using "VB6 ActiveX Ctrl Interface Wizard" Add-in in a new UserControl, 
which generates the code for you. Just start the Wizard, and click Next(You 
can keep clicking on Next till the end if you wish).

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Strange behavior of user controls "Ivar" <ivar.ekstromer000@ntlworld.com> - 2011-09-22 21:30 +0100
  Re: Strange behavior of user controls "Nobody" <nobody@nobody.com> - 2011-09-23 16:31 -0400
    Re: Strange behavior of user controls "Ivar" <ivar.ekstromer000@ntlworld.com> - 2011-09-23 23:27 +0100
      Re: Strange behavior of user controls "Nobody" <nobody@nobody.com> - 2011-09-24 21:08 -0400

csiph-web