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


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

Re: User Control Font Object

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From "Mike Williams" <Mike@WhiskyAndCoke.com>
Newsgroups comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion
Subject Re: User Control Font Object
Date Wed, 17 Aug 2011 22:36:00 +0100
Organization A noiseless patient Spider
Lines 23
Message-ID <j2hc7a$3gk$1@dont-email.me> (permalink)
References <j2h6hi$smr$1@dont-email.me> <j2ha3l$kul$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding 7bit
Injection-Date Wed, 17 Aug 2011 21:35:38 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="ROU/pHTUUzLAtsAao71TJg"; logging-data="3604"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PQ6mQAp1XjCyoI9ih7cBoLJedzXEr5HY="
In-Reply-To <j2ha3l$kul$1@dont-email.me>
X-Newsreader Microsoft Windows Mail 6.0.6002.18197
Cancel-Lock sha1:EXBUzZEDyRcAgw9Kc/O1xXxNGuI=
X-Priority 3
X-MSMail-Priority Normal
X-MIMEOLE Produced By Microsoft MimeOLE V6.0.6002.18463
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:380

Cross-posted to 2 groups.

Show key headers only | View raw


"Karl E. Peterson" <karl@exmvps.org> wrote in message 
news:j2ha3l$kul$1@dont-email.me...

> As Nobody suggested, you need to persist the design-time choice. 
> Something like this, maybe... [code snipped]

Thanks Karl. I had actually added code to the UserControl_ReadProperties and 
WriteProperties Subs which already contains code for other things I was 
doing, but nothing I placed there for fonts solved the problem and so for 
brevity I left it out of the code I posted. It was your suggestion of using 
the the Ambient property which did the trick. I very rarely get involved 
with UserControls and I did not know about that. I suppose I should have 
spent more time investigating the various properties in the help files, but 
by the time I had decided to post here I had tried all sorts of stuff for 
hours and hours and my head was beginning to spin ;-)  Thank you, Karl. It 
is working fine now. Thank you to Nobody as well for his solution. I'll have 
a look at that later.

Mike



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


Thread

User Control Font Object "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-08-17 20:06 +0100
  Re: User Control Font Object "Nobody" <nobody@nobody.com> - 2011-08-17 16:37 -0400
    Re: User Control Font Object "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-08-18 00:22 +0100
  Re: User Control Font Object Karl E. Peterson <karl@exmvps.org> - 2011-08-17 13:59 -0700
    Re: User Control Font Object "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-08-17 22:36 +0100
      Re: User Control Font Object Karl E. Peterson <karl@exmvps.org> - 2011-08-17 15:00 -0700

csiph-web