Thanks for the reply Christian. > I think you should not create a new one in resizing event! I think so, too, but was trying something!
> just have the autoresizingMask right. Here is the problem, because none of the mask (unless I didn't understand how to use them) does what I'm expecting: either the left or the right border of my control is locked to the corresponding border of the window, or the both. What I'm expecting is a right border locked to the right, and a left border keeping the same distance from the middle of the window. Maybe is it not possible? > And enable resizing of subviews. How should I do that? Thanks. Jean-Luc Arnaud Le 04/02/2016 17:29, Christian Schmitz a écrit : >> I'm trying this code in the Resizing event of my window: >> >> v = new MyNSProgressBarMBS(Self.Width/2+100, Self.Height, >> w.Width-10-(w.Width/2+100), > I think you should not create a new one in resizing event! > > just have the autoresizingMask right. > And enable resizing of subviews. > > > Sincerely > Christian > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
