Hi Martin,

Attached is a patch to update Miha's MDI demo. It did not compile with
the latest MSEgui.

BTW:
Is that the only way to implement MDI with MSEgui (using the docking
trick), or does MSEgui have improved MDI support (since that demo)?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Index: contributed/miha/GuiMDIChild.pas
===================================================================
--- contributed/miha/GuiMDIChild.pas	(revision 119)
+++ contributed/miha/GuiMDIChild.pas	(working copy)
@@ -15,7 +15,7 @@
 
 uses
   msegui,mseclasses,mseforms,msedock,MSESysUtils,msegraphics,Classes,SysUtils,
-  mseactions, msemenus, mseshapes;
+  mseactions, msemenus, mseshapes, mseact;
 
 type
   TMDIController = class;
@@ -101,6 +101,7 @@
 implementation
 
 uses
+  msegraphutils,
   GuiMDIChild_mfm;
 
 //TMDIDockController >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Index: contributed/miha/main.pas
===================================================================
--- contributed/miha/main.pas	(revision 119)
+++ contributed/miha/main.pas	(working copy)
@@ -7,7 +7,7 @@
 uses
  msegui,mseclasses,mseforms,msemenus,msesimplewidgets,mseactions,GuiMDIChild,
  msedock,msefiledialog,msestat,msestatfile,GuiViewText,msefileutils,mseshapes,
- msebitmap;
+ msebitmap, mseact;
 
 type
   tmainfo = class(tmseform)
@@ -35,7 +35,7 @@
 implementation
 
 uses
- main_mfm;
+  mseglob, main_mfm;
 
 procedure tmainfo.OnExecActionExit(const sender: TObject);
 begin
Index: contributed/miha/GuiStyle.pas
===================================================================
--- contributed/miha/GuiStyle.pas	(revision 119)
+++ contributed/miha/GuiStyle.pas	(working copy)
@@ -16,7 +16,8 @@
 uses
   msegraphics, msebits 
   {$ifdef mswindows},windows{$endif}
-  {$ifdef linux},msestat,strutils,sysutils,classes{$endif};
+  {$ifdef linux},msestat,strutils,sysutils,classes{$endif},
+  msegraphutils, msefont;
 
   procedure SetDesktopSkin;
 
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to