Re: user control width property
- From: "MP" <Nomospam@xxxxxxxxxx>
- Date: Fri, 16 Sep 2005 14:32:14 -0500
"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eO5cWotuFHA.252@xxxxxxxxxxxxxxxxxxxxxxx
> "MP" <Nomospam@xxxxxxxxxx> wrote in message
> news:432ae8d5$0$4864$8b463f8a@xxxxxxxxxxxxxxxxxxxxxx
> >
> '==========
> Private Sub UserControl_Resize()
Thanks Ken,
that was the secret, put the line UserControl.Width = x in the
UserControl_Resize event.
I didn't think of that...I had it in the Initialize event.(actually in a sub
that was called in the initialize event
I was able to set all other controls sizes and locations in that event so
didn't realize I couldn't set the control itself in the same place
>
> Also... when using Me, as soon as you hit the dot, you'll see all
available
> choices. That list will consist of any procedures you've declared as
Friend
> or Public.
Yep, I noticed it only had my custom properties available, I just didn't
realize it wouldn't have it's own intrinsic properties.
Thanks Bryan and Ken for your help on this one. Much appreciated.
Saved me many hours of random experimentation.
:-)
Mark
.
- References:
- user control width property
- From: MP
- Re: user control width property
- From: alpine
- Re: user control width property
- From: MP
- Re: user control width property
- From: MP
- Re: user control width property
- From: Ken Halter
- user control width property
- Prev by Date: Re: convert date from VB to java
- Next by Date: Hide form then show form closes form
- Previous by thread: Re: user control width property
- Next by thread: Re: user control width property
- Index(es):
Relevant Pages
|