On Tuesday 07 October 2014 22:11:00 amateur wrote: > I found fo_screencentered but don`t see desktop center... > > If you have two monitors are not correctly displayed position of the > form (when using fo_screencentered)/ > fo_screencentered uses "application.workarea" which queries the window property "net_workarea", fo_screencenterdvirt uses the whole virtual screen. Please check if "application.workarea" reports correct values for you, if not check why not. ;-) I suggest to set a breakpoint in msegui.pas " function tguiapplication.workarea(const awindow: twindow = nil): rectty; var id: winidty; begin id:= 0; if awindow = nil then begin if factivewindow <> nil then begin id:= factivewindow.fwindow.id; end; end else begin id:= awindow.fwindow.id; end; result:= gui_getworkarea(id); <<<<----- end; " And to step into gui_getworkarea() in order to see what happens.
Martin ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

