Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi
Hello!
You work so quickly :)
 I meant what are the steps to reproduce the user problem with fullscreen 
 normal? It works for me.
It works for me too with archlinux + openbox + ATI card

But beta reporter use this linux (based on puppylinux) with Intel 915GM.
http://www.smokey01.com/pemasu/UpupPrecise/UpupPrecise3831/precise-3.8.3.1-SCSI.iso

He also report that he try with nVidia GF8600GT and got same issue.
 Please try again with MSEgui git master
 d18c01a246ab6cd67815c91f0e524b6db1cc23c3. The modified xelplayer files are
 here:

 http://gitorious.org/mseuniverse/alminsoft
I send new binary to him, now waiting his answer
 Why do you use wo_noframe? Window sizing would be much simpler without.
I want to run anywhere and get same interface. And of cause it was 
interest for me to make it:)


One question:
I make new project and write next:

// button onexecute event
procedure tmainfo.on_execute(const sender: TObject);
begin
   case b_fullscreen.tag of
   0 : begin
   b_fullscreen.tag := 1;
   mainfo.options := mainfo.options + [fo_fullscreen] - [fo_defaultpos];
   end;
   1 : begin
   b_fullscreen.tag := 0;
   mainfo.options := mainfo.options - [fo_fullscreen] + [fo_defaultpos];
   end;
   end;
end;

//resize form event
procedure tmainfo.on_resizeform(const sender: TObject);
begin
   writeln('resize event');
   writeln('l=',left);
   writeln('t=',top);
   writeln('w=',width);
   writeln('h=',height);
end;
=

Run project and click twice on button.
Got next output:
==
resize event   - here when form created
l=401
t=194
w=403
h=280
resize event   - here when first click (go to fullscreen) Why left 
=400 and top = 176? As logical it must be = 0
l=400
t=176
w=1920
h=1080
resize event   - here when second click (go from fullscreen). here 
now questions
l=401
t=194
w=403
h=280
==


Yours,
A.M.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] msefiledialogext (@minoshi)

2013-07-30 Thread minoshi
29.07.2013 15:10, Martin Schreiber пишет:
 Hi Alexandre,

 I saw you make an extended filedialog component. I suggest to inherit from
 tfiledialogcontroller, tfiledialog and tfiledialogfo instead to modify
 msefiledialog.pas.
 Please report if you need more virtual procedures and functions.

 Martin

I use it only for couple projects. A know that my way not correct but it 
was simplest way to make it.

Martin, i not promise but i try found time for make component as you 
suggest.


A.M.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 09:28:20 minoshi wrote:

 One question:
 I make new project and write next:
 
 // button onexecute event
 procedure tmainfo.on_execute(const sender: TObject);
 begin
case b_fullscreen.tag of
0 : begin
b_fullscreen.tag := 1;
mainfo.options := mainfo.options + [fo_fullscreen] -
 [fo_defaultpos]; end;
1 : begin
b_fullscreen.tag := 0;
mainfo.options := mainfo.options - [fo_fullscreen] +
 [fo_defaultpos]; end;
end;
 end;

Hint: fo_defaultpos is used to forget the design time form position on first 
creation of the window so the windowmanager can place the window freely. 
Don't set fo_defaultpos in the on_execute procedure. This triggered a MSEgui 
bug, fixed in mentioned git master d18c01a246ab6cd67815c91f0e524b6db1cc23c3.

 //resize form event
 procedure tmainfo.on_resizeform(const sender: TObject);
 begin
writeln('resize event');
writeln('l=',left);
writeln('t=',top);
writeln('w=',width);
writeln('h=',height);
 end;
 =

 Run project and click twice on button.
 Got next output:
 ==
 resize event   - here when form created
 l=401
 t=194
 w=403
 h=280
 resize event   - here when first click (go to fullscreen) Why left
 =400 and top = 176? As logical it must be = 0
 l=400
 t=176
 w=1920
 h=1080
 resize event   - here when second click (go from fullscreen). here
 now questions
 l=401
 t=194
 w=403
 h=280
 ==

I suggest:

 tmainfo = class(t*form)
[...]
  private
   widgetrectbefore: rectty;
  public
 end;

procedure tmainfo.fullscreenexe(const sender: TObject);
begin
 if window.windowpos = wp_fullscreen then begin
  widgetrect:= widgetrectbefore;
  window.windowpos:= wp_normal;
 end
 else begin
  widgetrectbefore:= widgetrect;
  window.windowpos:= wp_fullscreen;
 end;
end; 


Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi

 I suggest:
 
   tmainfo = class(t*form)
 [...]
private
 widgetrectbefore: rectty;
public
   end;

 procedure tmainfo.fullscreenexe(const sender: TObject);
 begin
   if window.windowpos = wp_fullscreen then begin
widgetrect:= widgetrectbefore;
window.windowpos:= wp_normal;
   end
   else begin
widgetrectbefore:= widgetrect;
window.windowpos:= wp_fullscreen;
   end;
 end;
 

And?

if window switched in fullscreen mode on_resize event still show, that
width and height = fullscreen width and height
left and top = not fullscreened left and height


A.M.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 11:42:13 minoshi wrote:

 And?

 if window switched in fullscreen mode on_resize event still show, that
 width and height = fullscreen width and height
 left and top = not fullscreened left and height

Can not reproduce. In my testcase left and top are 0.

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Ivanko B
What is the actual case of application?

Fast loading|manipulating a huge-size mixture of data of several
predefined types - integer, string, real  record with strings (not
UNION-ed because of refcounting). It's not mine personally  but by
FreePascal.Ru. Those guys also suggest to keep virtual (different from
real phys memory used) array length counting so that to allocate much
more length as really needed to avoid frequent (per each new element)
REALLOC (SetLength by FPC) calls which are very slow.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Ivanko B
UnicodeString
=
is this compatible with MSESTRING ?

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Ivanko B
There is no list for handling data of any type in MSEgui.
==
DCALC seems to manages all these (even integers etc) as TOBJECT.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Ivanko B
With recods replaced by classes/objects.

2013/7/30, Ivanko B ivankob4m...@gmail.com:
 There is no list for handling data of any type in MSEgui.
 ==
 DCALC seems to manages all these (even integers etc) as TOBJECT.


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 12:08:15 Ivanko B wrote:
 What is the actual case of application?
 
 Fast loading|manipulating a huge-size mixture of data of several
 predefined types - integer, string, real  record with strings (not
 UNION-ed because of refcounting). It's not mine personally  but by
 FreePascal.Ru. Those guys also suggest to keep virtual (different from
 real phys memory used) array length counting so that to allocate much
 more length as really needed to avoid frequent (per each new element)
 REALLOC (SetLength by FPC) calls which are very slow.

MSEgui has such a mechanism for dynamic arrays (additem() with count 
parameter).

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 12:10:05 Ivanko B wrote:
 UnicodeString
 =
 is this compatible with MSESTRING ?

msestring = UnicodeString.

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui's dyn array/list for handling data of any type ?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 12:13:09 Ivanko B wrote:
 There is no list for handling data of any type in MSEgui.
 ==
 DCALC seems to manages all these (even integers etc) as TOBJECT.

Ouch.

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi

 Can not reproduce. In my testcase left and top are 0.

 Martin

It seems differences in Xserver build params.

Ok. And how take position of current screen?


A.M.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi
 Ok. And how take position of current screen?


mainfo.rootpos from msegui.pas. Am i right?




--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 15:21:06 minoshi wrote:
  Can not reproduce. In my testcase left and top are 0.
 
  Martin

 It seems differences in Xserver build params.

Very unlikely. Please send a testcase which shows the problem.

 Ok. And how take position of current screen?

application.screenrect or application.workarea.

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 16:05:03 minoshi wrote:
  Ok. And how take position of current screen?

 mainfo.rootpos from msegui.pas. Am i right?


twidget.rootpos is the position of the widget relative to the top level 
widget. For the top level widget (normally the form) it is 0,0.

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi



Very unlikely. Please send a testcase which shows the problem.



In attachment

My output is :
==
resize event
l=309
t=287
w=403
h=280
resize event
l=308
t=269
w=1920
h=1080
resize event
l=309
t=287
w=403
h=280
==


test.tar.bz2
Description: application/bzip
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 17:50:17 minoshi wrote:
  Very unlikely. Please send a testcase which shows the problem.

 In attachment

 My output is :
 ==
 resize event
 l=309
 t=287
 w=403
 h=280
 resize event
 l=308
 t=269
 w=1920
 h=1080
 resize event
 l=309
 t=287
 w=403
 h=280
 ==

I get

resize event
l=309
t=287
w=403
h=280
resize event
l=0
t=0
w=1024
h=768
resize event
l=309
t=287
w=403
h=280

Which Window manager?

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread minoshi
Please do not think I'm kidding you

http://www.youtube.com/watch?v=Kpa6arpejG0feature=youtu.be


Yours,
A.M.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 18:47:58 minoshi wrote:
  Which Window manager?

 openbox 3.5.0

This is on openbox 3.5.0:

resize event
l=309
t=287
w=403
h=280
resize event
l=0
t=0
w=1024
h=768
resize event
l=309
t=287
w=403
h=280

Can you try with another WM? Do you use MSEgui from current git master branch?
Can somebody reproduce the problem?

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] fullscreen, how?

2013-07-30 Thread Martin Schreiber
On Tuesday 30 July 2013 18:53:31 minoshi wrote:
 Please do not think I'm kidding you

 http://www.youtube.com/watch?v=Kpa6arpejG0feature=youtu.be

;-)

Martin

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk