Menu

cyResizer Update selected Control

Anonymous
2015-05-10
2015-05-11
  • Anonymous

    Anonymous - 2015-05-10

    Hi,

    I've a problem using cyResizer: The goal: There is a selected component (e.g. TShape) - and I'm editing e.g. Border-Width in an TEdit (like Delphis Object Inspector) ->
    when I set new value to ShapeX.Pen.Width and then raise ShapeX.Update -> the new borderwidth is drawn, but only when cyResizer is not active. When resizer is activated it does not work - and i can't find out why... can you help?
    I've also tried ShapeX.Repaint or ShapeX.Refresh and dif. combinations of it -> no luck...

    Would be great if someone could help,
    best Michael

     
  • Maurício

    Maurício - 2015-05-11

    Hi,

    quite simple :

    Shape10.Pen.Width := Shape10.Pen.Width * 2;

    if cyResizer1.Active then
    cyResizer1.Invalidate;

    Regards,
    Mauricio

     
  • Anonymous

    Anonymous - 2015-05-11

    Works perfect! Thanks a lot.. I've made a donation, your components are great (esp. cyResizer)...
    Best
    Michael

     
  • Maurício

    Maurício - 2015-05-11

    Hi again,

    thenk you Michael.
    Your name will be added to donators list file!

    Regards,
    Mauricio

     

Anonymous
Anonymous

Add attachments
Cancel