luciano_f 5 Posted September 22, 2023 When I open the tmainmenu or Tpopupmenu designer I always have to resize it. I would like to be able to save and restore the Designer size, how could I do it? Share this post Link to post
Attila Kovacs 629 Posted September 22, 2023 I've implemented a routine in a wizard that captures the editor ('TMenuBuilder') using Screen.OnActiveFormChange and automatically calculates the menu size from TMenuWin.FNCHeight TMenuWin.FMenuHeight and TMenuItemWin.FCaptionExtent. That task would be suitable for GExperts if there isn't anything related to this matter yet. @dummzeuch ? Share this post Link to post
dummzeuch 1505 Posted September 22, 2023 @Attila Kovacs I had started some work in this direction (not just for TMenuBuilder but also some of the other tool windows that seem to open at random positions (Action Manager, Popup Menu Builder ...) but never finished it. If you have got some working code, I'd be willing to try including it into GExperts. Best way would be to open a feature request on Sourceforge, attaching the code. Share this post Link to post
luciano_f 5 Posted September 22, 2023 (edited) 2 hours ago, dummzeuch said: @Attila Kovacs I had started some work in this direction (not just for TMenuBuilder but also some of the other tool windows that seem to open at random positions (Action Manager, Popup Menu Builder ...) but never finished it. If you have got some working code, I'd be willing to try including it into GExperts. Best way would be to open a feature request on Sourceforge, attaching the code. I believe I found the solution I activated several things in GExpert and now it is doing what I need, see Edited September 22, 2023 by luciano_f Share this post Link to post
dummzeuch 1505 Posted September 22, 2023 3 hours ago, luciano_f said: I believe I found the solution I activated several things in GExpert and now it is doing what I need, see Hm, looks like I actually finished that work I was talking about, and had forgotten 😉 1 1 1 Share this post Link to post
luciano_f 5 Posted September 23, 2023 10 hours ago, dummzeuch said: Hm, looks like I actually finished that work I was talking about, and had forgotten 😉 Yes you have done a great job with Gexpert. Even the formatter is much faster than the native Delphi one Share this post Link to post
dummzeuch 1505 Posted September 23, 2023 Actually I invested many hours to improve the performance of the formatter. But that was many years ago. I don't know how I found the time for that. Probably by not wasting so much time in front of the bloody TV... 1 1 Share this post Link to post
Ian Branch 127 Posted September 23, 2023 And we are better off for it. Thank you. Share this post Link to post