Hi,

I'm looking for similar samples. Can you post ur example?

Thanks
A

--- In [email protected], "xmwang1982" <[EMAIL PROTECTED]> wrote:
>
> Hi, I solved the re-render issue by myself. I just have added one row 
> to call validateNow() method of UIComponent.
> 
> However, it is still better to know some visio-like examples for me. 
> Please help. Thanks.
> 
> --- In [email protected], "xmwang1982" <askycn@> wrote:
> >
> > Hi experts,
> > 
> > I am going to design component called "connector", which draws a line
> > between the point at which you press your mouse and the point at which
> > you release your mouse. Before release mouse, the line end point
> > should follow the mouse -- like you see in MS visio when you draw a
> > line to connect 2 objects.
> > 
> > Base on UIComponent, I wrote a component which draws a line on screen
> > between 2 given points. Then in MouseMove event, I tried to change the
> > end point. However, the component doesn't re-render itself. 
> > 
> > What's wrong with it? Do you known any open-source examples looks like
> > visio?
> > 
> > Thanks a lot.
> >
>


Reply via email to