Re: Drag/Resize Samples
- From: "Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Jan 2009 10:11:27 -0000
I think I'll give up with this method Larry. There seem to be too many
problems with it
As well as the ghost image issue - which never went away, even after moving
the code from the Form to the UC - there's also a problem with the "move"
code losing the MouseUp events.
Also, if you TAB around multiple instances of the UC on a Form then the last
one created doesn't seem to get a transparent background, until it's been
moved once and then it works as intended. The background shows as white but
isn't selectable, implying that VB thinks it's transparent but some paint
even has been lost
Tony Proctor
"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23ut2vMCbJHA.4080@xxxxxxxxxxxxxxxxxxxxxxx
Sorry, forgot to add that my SendMessage is currently in the Form module.
This is more to do with the history of the experiment than a design choice
(i.e. I tried raw picturebox controls before I tried UCs)
I change it all around and see if that helps
Tony Proctor
"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message
news:%23Je1DtBbJHA.1532@xxxxxxxxxxxxxxxxxxxxxxx
"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
I was experimenting with this suggestion a bit more Larry, and it seemed
to
work OK with UserControls, right up to the point I changed to using a
UserControl array. After that, a movement of a control (which only
contained
a PictureBox and a TextBox inside it, and had a Transparent BackStyle)
left
ghost image behind. Is this another known problem?
I don't see that. With a backstyle transparent, the UC can't be clicked
on, can it?
In the quick test I did, the MouseDown event didn't fire, I had to use
the event
from the picturebox.
Are you calling Sendmessage from within the UC module, or the form's
module?
(I used the UC module, and as I said, saw no trouble)
LFS
.
- Follow-Ups:
- Re: Drag/Resize Samples
- From: Larry Serflaten
- Re: Drag/Resize Samples
- References:
- Re: Drag/Resize Samples
- From: Tony Proctor
- Re: Drag/Resize Samples
- From: Larry Serflaten
- Re: Drag/Resize Samples
- From: Tony Proctor
- Re: Drag/Resize Samples
- Prev by Date: Re: Restrict special characters
- Next by Date: Re: Drag/Resize Samples
- Previous by thread: Re: Drag/Resize Samples
- Next by thread: Re: Drag/Resize Samples
- Index(es):
Relevant Pages
|