Hi All,
For anyone playing around with the ResizingAdmin and resizable dialogs, I
have one tip since I don't have the doc done.
For things to work properly, you have to give every control in the dialog a
resource ID. It is quite common to give static controls the ID of -1.
This will only work if you only have 1 static control. If you have more
than 1 control with the id of -1 only one of them will resize correctly.
Originally, I thought I had code that would allow static controls to have
-1 for the ID. But, it doesn't work, and after looking into it, I realized
it just won't work.
Another thing is: earlier this week Staffan said:
*OK, there is only one control in each of those so I cannot test the
methods in ResizingAdmin in my application, but your word 'yet' makes me
believe that tab-embedded control and PS dialog support is just around the
corner, which would allow a full implementation. *
My intention all along was to have ResizingAdmin work with embedded
ControlDialog and PropertySheetDialog dialogs. I have both of those
working now, just have a few things to clean up.
PropertySheetDialog dialogs will work well. Existing dialogs will work
just by inheriting ResizingAdmin.
For ControlDialogs embedded in a tab control: these also will work, but
you will need to add a few lines of code to existing dialogs. You will
need to identify the tab control and which dialogs are embedded in that tab
control to the ResizingAdmin. I haven't worked out the semantics yet, but
it will be a method call in the ResizingAdmin class.
--
Mark Miesfeld
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users