Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 13:22:27 Martin Schreiber wrote:
> Please send the updated test program.
>
Which operating system?

Martin



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 13:33:22 Julio Jiménez wrote:
> 2016-01-15 13:22 GMT+01:00 Martin Schreiber :
> > Please call tfbservice.cancel() if you don't want to close the
> > connection. "tfbservice.connected:= false" stops the service for me. What
> > means "the program hangs"? In "tfbservice.connected:= false"? Please send
> > the updated test program.
>
> The program hangs means it stops responding... frozen Have to kill it.
>
But where? Please try 'Target'-'Interrupt'.

> BTW, for testing if a service is running what's the way,  busy function?
>
Yes, tfbservice.busy() returns true if a service is running on the connection.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 13:48:35 Julio Jiménez wrote:
> I forgot to say the last BT was using tfbservice.cancel().
>
> Using tfbservice.connected:= false
>
> I get:
>
> #0  B7FDCCB0 :0 ??()
> #1  0810CC9D msethread.pas:300 TMSETHREAD__WAITFOR(this= variable>)
[...]

tfbservice.onasyncend does not run in main thread. The main thread is in a 
locked state, so it is possible to use the gui-elements of an application in 
onasyncend but because of a Windows restriction it is not possible to create 
windows which showmessage does -> deadlock. Because of consistency I 
implemented the restriction on Linux too.
Please use for example:
"
procedure tmainfo.dofinalizado(const sender: tfbservice;
   const aborted: Boolean);
begin
 guibeep();
// showmessage('Done...');
end;
"
I'll add an end event which runs in main thread.
Does nback work for you?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 14:08:46 Martin Schreiber wrote:

> I'll add an end event which runs in main thread.

git master b1033eaabd62d029ee30c0158f2b8af6b7286382 has 
tfbservice.onasyncendmain.
"
procedure tmainfo.endmain(const sender: tfbservice; const aborted: Boolean);
begin
 if aborted then begin
  showmessage('Aborted');
 end
 else begin
  showmessage('Finished');
 end;
end;
"
Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 16:35:32 Julio Jiménez wrote:
>
> BTW, the service is cancelled client side (in the program) but server
> continues executing it. In fact database is restored ok. So seems something
> is not working as expected (or running service can't be stopped once you
> run it).
>
In the documentation I did not find another way than to close the connection. 
If you find something other please report.
BTW most details are not documented. I had to search in Firebird sources and 
even there the information is sparse.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 17:19:28 Julio Jiménez wrote:
> 2016-01-15 14:35 GMT+01:00 Martin Schreiber :
> > On Friday 15 January 2016 14:08:46 Martin Schreiber wrote:
> > > I'll add an end event which runs in main thread.
> >
> > git master b1033eaabd62d029ee30c0158f2b8af6b7286382 has
> > tfbservice.onasyncendmain.
> > "
> > procedure tmainfo.endmain(const sender: tfbservice; const aborted:
> > Boolean);
> > begin
> >  if aborted then begin
> >   showmessage('Aborted');
> >  end
> >  else begin
> >   showmessage('Finished');
> >  end;
> > end;
> > "
>
> Working but... a little issue.
>
> Event if fired twice so it shows Aborted dialog and then it shows Finished
> dialog (the two windows). And of course.. the service continues executing
> in the server as I commented in my last message.

I don't understand. First onasyncend is called in service thread context, 
later onasyncendmain in main context. Or do you mean something other?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 16:35:32 Julio Jiménez wrote:
>
> Does nback work for you?
>
>
> nback does the copy but once it finishes fires an exception:
>
> #0  08058B92 :0 fpc_unicodestr_decr_ref()
> #1   :0 ??()
>
> Attached updated example/test  project with changes...

Please tray again with git master e5e164282b9f98b887d1feaddf8ca558316d84a2.
What I do not understand is why isc_service_start() does not return with nbak 
until the servise is completed.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 18:42:25 Julio Jiménez wrote:
> 2016-01-15 18:39 GMT+01:00 Martin Schreiber :
> > Please tray again with git master
> > e5e164282b9f98b887d1feaddf8ca558316d84a2. What I do not understand is why
> > isc_service_start() does not return with nbak
> > until the servise is completed.
> >
> > Martin
>
> nbackup command doesn't return log info. may be because it's very cpu
> intensive... dunno
>
> BTW, I don't like nbackup... is not binary compatible with other versions
> and have issues.

I didn't know it. Which issues? I use it and a DB backup tool with issues is a 
nightmare.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Popup hint for widgets in designer [was: wish (code folding)]

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 18:52:53 Fred van Stappen wrote:
>
> PS: Huh, yes, MSEide doc-help is needed (and it is a big mountain, like a
> Swiss mountain).

I see some of them if I look out of the window. ;-)

> PS2: Yep, I know, I said I will do it, I have to do it. 
> PS3: But MSEgui doc-help is needed too ... and that is a Tibet mountain.
> PS4: Do not forget hints, they are never too many ... ;-)
> PS5: Maybe a proposition, never seen but maybe good, ... hint for
> menu-items... ;-)
>
MSEgui has hints for menu items.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Fwd: Firebird services

2016-01-15 Thread Martin Schreiber
On Friday 15 January 2016 18:39:19 Martin Schreiber wrote:
> On Friday 15 January 2016 16:35:32 Julio Jiménez wrote:
> > Does nback work for you?
> >
> >
> > nback does the copy but once it finishes fires an exception:
> >
> > #0  08058B92 :0 fpc_unicodestr_decr_ref()
> > #1   :0 ??()
> >
> > Attached updated example/test  project with changes...
>
> Please tray again with git master e5e164282b9f98b887d1feaddf8ca558316d84a2.

I had to change the AV fix because of a sideeffect (git master 
5b3fb47142de6896e78ee6e7ca9e35621a15348a). Please retest.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Wine.

2016-01-16 Thread Martin Schreiber
On Saturday 16 January 2016 21:20:20 Fred van Stappen wrote:
> Hello.
>
> MSEide is working very well with Wine (Windows emulator for *nix system).
> I like it because you may compile-debug-run live your projects for Windows,
> staying on your main Linux or FreeBSD system. No need for complicated
> cross-compilation nor virtual system, you may use the same root-code for
> Windows too.
>
> But there is a little graphic problem, all the simple image in button are
> hidden (example combobox-button) and the dots in grid list too.
>
> See picture:
>
>
> Do you have a idea what is the cause of that, a missing Windows font ?
>
The problem exists since many years AFAIK. Maybe it is a problem with the 
pixmap format (monochrome with monochrome mask) MSEgui uses. One probably 
should ask Wine people.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Number of Make in MSEide.

2016-01-18 Thread Martin Schreiber
On Tuesday 19 January 2016 01:29:36 Fred van Stappen wrote:
> Hello Martin.
>
> Now that fpc has lot of targets, (processor, os,..), IMO, 4 options of
> compilation is a few little. Same for macros, 6 is just enough..
>
> What do you think to expand it to 9 ?
>
I think that are too many options. You are in a special case because you make 
tools for all possible platforms. Most users want do that.
It is easy to switch groups of macros or build combined macros which can be 
selected in 'Project'-'Options'-'Macros' or 'Project'-'Options'-'Make'.
For building production code for different platforms it is advantageous to use 
scripts.

> If you agree there are good news. ;-)
> For MSEide, all the work is done in attachment, tested and ready to commit.
> And well indented !

Thank you very much for your valuable contribution!

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Get/set cell of TWidgetGrid ?

2016-01-20 Thread Martin Schreiber
On Wednesday 20 January 2016 16:00:44 Fred van Stappen wrote:
> Hello.
>
> I try to set the cell of a TWidgetGrid with this:
>
> aWidgetGrid[1][2] := 'test' ;
>
> and to get it with
>
> astring := aWidgetGrid[1][2];
>
> But without luck.
>
> How must it done ?
>
Please use the "gridvalue" property of the individual inserted column 
dataedits. Because "gridvalue" is the default property it can be simplified 
for example in case of a tstringedit to:
"
 columnwidget[0]:= 'abc';
"
where "columnwidget" is a tstringedit which has been inserted in a 
twidgetgrid, [0] is the row index.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TLabel.Options lao_nounderline

2016-01-21 Thread Martin Schreiber
On Thursday 21 January 2016 14:12:21 Michael Ebner wrote:
> Hi all,
>
> TLabel.Options and the meaning of lao_nogray I have found.
>
> But what is lao_nounderline for?
>
Normally tlabel.caption '&abc' will be displayed as "abc". lao_nounderline 
shows "&abc".
The display has not been updated in design mode, should been fixed in git 
master 8913e7e321079f4b763217fa422f2f176f0928ed.

Martin--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Number of Make in MSEide.

2016-01-23 Thread Martin Schreiber
On Thursday 21 January 2016 23:37:39 Fred van Stappen wrote:
> Hello.
>
> OK, project options is complete now: multi compiler and multi debugger too
> ;-)
>
> All tested and working.
>
> https://github.com/fredvs/ideU
>
Nice! Was it difficult to integrate into MSEide?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Number of Make in MSEide.

2016-01-24 Thread Martin Schreiber
On Sunday 24 January 2016 12.22:46 Fred van Stappen wrote:
> > Nice! Was it difficult to integrate into MSEide?
> 
> Hello Martin.
> 
> Once I understood your trick, it was easy.
> 
> For example, I just add the cherry of top of cake: list of exe-extensions in
> Project Options = 15 minutes !
> 
> I was thinking that it was not interesting for you so I just upgraded ideU.
> 
Correct, I probably would solve such a problem simply with different project 
templates.
But I am always interested to know how people work with MSEide code. 
Some of it is more than 10 years old so probably working with it is not so 
easy.

Martin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Number of Make in MSEide.

2016-01-26 Thread Martin Schreiber
On Tuesday 26 January 2016 20:35:57 Fred van Stappen wrote:
> > Nice! Was it difficult to integrate into MSEide?
>
> All was understandable for me but I loose for one thing:
> adding row or change value of tmemodialogedit in new option lists
> (Compiler-used, Debugger-used and Exe-Extensions lists).
>
> Procedure initpr() does his work perfectly, for new projects the lists are
> created like wanted.
>
> Also, if some tbooleanedit are changed, it is correctly saved after [OK] in
> projectoption stat.
>
> But after changing value of tmemodialogedit or adding new row, the changes
> are not saved.
>
> I have read, study and restudy your code: all seams the same for those 3
> new options-list vs your code.
>
In order to transfer the values from dialogform to options 
instance "tcustomrttistat.valuestoobj()" is used:
"
procedure formtoprojectoptions(fo: tprojectoptionsfo);
var
 int1: integer;
begin
{$ifdef mse_with_ifi}
 mainfo.statoptions.valuestoobj(fo);
{$endif}

...

 tcustomrttistat = class(tmsecomponent,istatfile)
...
   procedure valuestoobj(const sourceroot: tcomponent);
 //reads values from components with matching property-component names
 //or statvarnames
   procedure objtovalues(const destroot: tcomponent);
 //writes values to components with matching property-component names
 //or statvarnames
"
-> please rename "execcommand" edit widget to "exeused".

> Other thing.
>
> May I propose you to make forms edited by MSEdesigner visible in
> Traybar-buttons ? Otherwise, to show a edited form, it must be selected in
> menu-view-theform (and it is lot of work ! ;-) )
>
I it was so at the beginning but there were too many items. Suggestion: place 
the forms in a dockpanel in tabs mode, please see attachment.

Martin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Number of Make in MSEide.

2016-01-27 Thread Martin Schreiber
On Wednesday 27 January 2016 17:03:32 Fred van Stappen wrote:
> > please rename "execommand" edit widget to "exeused".
>
> Ooops, indeed, it does the trick. ;-)
> (And how is it possible that I did not see it ;-( )
>
> May I ask you how much time it takes for you to find the bug ?
>
About 10 minutes and about five minutes to write the answer mail.

> You are really too strong.
>
> Many thanks Martin.
>
> > It was so at the beginning but there were too many items.
>
> Really ? (I do not feel so).
>
Often there are twenty loaded forms which definitely are too much panel 
buttons.

> > Suggestion: place the forms in a dockpanel in tabs mode, please see
> > attachment.
>
> I really like MSE dock feature.
> But I do not understand how to deal with button-mouse, how to drag-drop to
> have tabs or not.
>
If the drag handles are not visible show them by clicking to the small circle 
button with hint "Lock children".
If the children are tiled aligned drag the handle of a child to the opposite 
side in order to change the tiling direction from horizontal to vertical or 
vice-versa. In order to switch to tabbed mode drag a handle to the centre of 
the panel. In order to switch from tabbed mode to tiled mode drag the handle 
to the left or bottom side.
 
> For example, I like the dock here in attachment.
>
> But I did it once (by random), save it as layout... and was never able to
> do it a other time. By chance, it was saved otherwise, I would be still
> busy to try to re-do it.
>
Please disable "Lock children" in order to see the structure and send a new 
screenshot.

> Last problem...
>
> It is about function pos(string1, string2)...
>
> I use it with success in many units but, in main.pas:
>
> if pos('Default',debuggerused[int3]) > 0 then
>
> gives that error:
>
> main.pas(3205,7) Fatal: Syntax error, "THEN" expected but "(" found
> Fatal: Compilation aborted
>
> Why? What unit is needed for pos() and why error in that unit (main.pas)
> and ok with all the others ?
>
> Is it because pos() is inside this: ?
>
> with projectoptions,o,texp do begin
> ...
>   if pos('Default',debuggerused[int3]) > 0 then
>str3:= 'Default Debugger' else
> ...
>
Probably because tform has a "pos" property. Please use "system.pos()". Pascal 
base functions are defined in unit "system".
http://www.freepascal.org/docs-html/current/rtl/system/index.html

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] what methods should be described

2016-01-27 Thread Martin Schreiber


On 28.01.2016 07:54, Michael Ebner wrote:
> Hi all,
>
> on http://wiki.freepascal.org/Reference:_MSEgui/TWidget properties an
> methods are rather complete. In a few days I'll begin with the methods.
>
> There are many methods. I think, not all are relevant to the average
> developer, and I spend better my time with other widgets than make the
> dokumentation of TWidget perfect...
>
> Now the question: What methods should be described in the dokumentation,
> and what are more for internal use?
Now it becomes difficult. ;-)
Maybe skip twidget procedures and functions completely for now. Other 
users can make suggestions what twidget methods are important or 
document twidget methods they use themselves.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Debug with MSEide.

2016-01-28 Thread Martin Schreiber
On Thursday 28 January 2016 11:36:10 Fred van Stappen wrote:
> Hello Martin.
>
> Could you explain your (best) way to debug a program with MSEide?
>
[...]

First I need to finish another task. I am sure there are more users who can 
help.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] MSEide+MSEgui for win64

2016-01-29 Thread Martin Schreiber
Hi,
There is a new target for 64 bit Windows (git master 
436b0b5d21768986a5b784c74da9947869b4ceed), please test.

A somewhat working gdb is here:

ftp://ftp.equation.com/gdb/64/gdb.exe

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Debug with MSEide.

2016-01-29 Thread Martin Schreiber
On Thursday 28 January 2016 11:36:10 Fred van Stappen wrote:
> Hello Martin.
>
> Could you explain your (best) way to debug a program with MSEide?
>
Not the "best" way but how I debug programs. It heavily depends on the actual 
problems.
In order to check why a subroutine in a GUI program doesn't what it should I 
set a breakpoint on the start of the procedure/function, run the program and 
trigger the calling of the subroutine by the necessary actions (click on 
button or select a menu item...). After the program stopped at the breakpoint 
I step through the code by F8/F7 and add or check interesting watches or 
inspect values by moving the mouse above the corresponding identifier.
Sometimes it is useful to modify a variable for testing purpose. It can be 
done by editing the 'Result' column in 'Watches' window.

If there is an exception I activate 'Project'-'Options'-'Debugger'-'Stop on 
Excep.', run the program and check the 'Stack' window when the exception 
happens. A double click in 'Stack' window on the row with the subroutine 
which throws the exception shows the source code. If the reason for the 
exception is not immediately recognisable I set a breakpoint to the 
interesting code, restart the program and and check the correct execution by 
stepping after stop on the breakpoint.
If there are runs of the subroutine without throwing an exception it is 
sometimes possible to define a breakpoint condition in order to filter the 
interresting run. Double click in source editor on the breakpoint row shows 
the according breakpoint in 'Breakpoints' window. Enter the filter expression 
in 'Condition' column.
Another option is to set 'Ignore' of the breakpoint to a big value and 
restarting the program. After stop by the exception check 'Count' of the 
breakpoint, set 'Ignore' to one less than 'Count' and restart the program. It 
will stop at the breakpoint in the run which throws the exception.

In a complex asynchronous program it sometimes happens that a variable will be 
changed by a unknown subroutine. In order to check what changes a already set 
value show the value in 'Watches', RightClick-'Address Watchpoint *'. This 
adds an item in 'Watchpoints' which stops the program if the according 
address will be overwritten.

> How to use Watches, Stack, ... forms ?
>
See above.

> How to use BreakPoints, Watches,...?
>
See above.

> The utility of Exec Line Hint On...?
>
It switches on the blue dots for the source lines with debuginfo.

> Maybe a example with a bug and all the steps to debug it.
>
Another user maybe can provide a concrete example.

> Also how to use Stack, Symbol, Memory, CPU and Threads forms.
>
For a stopped program:

'Stack' shows the subroutine call stack.
'Symbol' shows what gdb knows about the listed symbols.
'Memory' provides a memory dump.
'CPU' shows the CPU registers.
'Threads' shows the threads. Clicking in a row selects the current thread 
context.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] dir edit of filedialog disappears after resizing filedialog

2016-01-30 Thread Martin Schreiber
On Saturday 30 January 2016 09:27:36 che fou wrote:
> Hi
> try open a file in the mseide , resize the filedialog so the dir edit
> width becomes equal to the text inside , then close and open the
> filedialog again , you will notice that the dir edit disappears .
> i don't know if its normal behaviour !

Which operating system?

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] dir edit of filedialog disappears after resizing filedialog

2016-01-30 Thread Martin Schreiber
On Saturday 30 January 2016 09:27:36 che fou wrote:
> Hi
> try open a file in the mseide , resize the filedialog so the dir edit
> width becomes equal to the text inside , then close and open the
> filedialog again , you will notice that the dir edit disappears .
> i don't know if its normal behaviour !

No. ;-)

Please try again with git master ece3f09191bb47c7dc2351f561a93e56f24ce9f8.

Martin



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] form maximized / minimized

2016-01-30 Thread Martin Schreiber
On Sunday 31 January 2016 01:43:26 Patrick Goupell wrote:
> Is it possible to capture when the user clicks the form maximize /
> minimize buttons in the upper right corner of the form?

"onresize" is triggered by maximize, "onhide" by minimize. "window.windowpos" 
returns the current state.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnNavigRequest

2016-01-31 Thread Martin Schreiber
On Monday 01 February 2016 07:55:18 Michael Ebner wrote:
> Hi all,
>
> what is OnNavigRequest for?
>
MSEgui supports "geographical" focus navigation by arrow keys through calling 
navigrequest() of the parent widget.
"onnavigrequest" is called at the end of navigrequest() in order to allow to 
change the default behaviour.
Please note that in order to react on widgets placed in a form 
tform.container.onnavigrequest must be used because tform uses a child widget 
(container) for the client area.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] big tstringgrid.rowcount causes hang at compile time

2016-02-01 Thread Martin Schreiber
On Monday 01 February 2016 14:30:21 che fou wrote:
> Hi
> if you try some thing like 1millon mseide will freeze .
>
At compile time? Please send a test program.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] big tstringgrid.rowcount causes hang at compile time

2016-02-01 Thread Martin Schreiber
On Monday 01 February 2016 14:30:21 che fou wrote:
> Hi
> if you try some thing like 1millon mseide will freeze .
>
Aha, this writes 1'000'000 rows with its string values in FPC class streaming 
system to *.mfm file which is slow. Don't do that. ;-)
At runtime it is fast.
git master 6117c8ed9fe4308916799cd417558597762aa15b uses tbufstream instead of 
tfilestream which speeds up things a lot.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui on Win2000?

2016-02-01 Thread Martin Schreiber
On Monday 01 February 2016 23:42:50 Graeme Geldenhuys wrote:
> Hi Martin,
>
> Does MSEgui (or MSEide) not support Win2000 any more? I've updated one
> of my Windows development VM's which runs Win2000. I updated
> MSEide+MSEgui from the repository, it builds fine, but when I run the
> mseide.exe it crashes instantly. See attached screenshot.
>
Current git master a584c4883bb2e57de081a12aa0a38dce5bcfd72b works for me on 
win2000. There is an article in about the error message:
https://support.microsoft.com/en-us/kb/838857
Does it run in debugger?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui on Win2000?

2016-02-01 Thread Martin Schreiber
On Tuesday 02 February 2016 07:35:52 Martin Schreiber wrote:

> Current git master a584c4883bb2e57de081a12aa0a38dce5bcfd72b works for me on
> win2000. There is an article in about the error message:
> https://support.microsoft.com/en-us/kb/838857

And there are many more...

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] big tstringgrid.rowcount causes hang at compile time

2016-02-02 Thread Martin Schreiber
On Tuesday 02 February 2016 14:17:39 che fou wrote:
> yes its faster now , thanks
> btw , how to assign an image in imagelist to the first row cell , like
> the black triangle in dbstringgrid .
>
Please use a tdataicon in a twidgetgrid and activate .options 
co_nohscroll.
Another option is to implement your own tfixcol descendant or to 
use "onbeforedrawcell/onafterdrawcell".

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] ow_hintoff

2016-02-02 Thread Martin Schreiber
On Wednesday 03 February 2016 08:22:43 Michael Ebner wrote:
> Hi all,
>
> what is ow_hintoff really doing?
>
It overrides the hint state of the parent widget(s):
"
function twidget.getshowhint: boolean;
begin
 result:= (ow_hinton in foptionswidget) or
  not (ow_hintoff in foptionswidget) and
   ((fparentwidget = nil) or fparentwidget.getshowhint);
end;
"

> I have a TEdit with [ow_mousefocus, ow_tabfocus, ow_arrowfocus,
> ow_keyreturntaborder, ow_mousetransparent, ow_destroywidgets, ow_hintoff]
> and it shows a hint.
>
Can not reproduce, please send a test project which shows the problem.

> (By the way: what is ow_disabledhint for?)
>
It activates hints for disabled widgets.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Wine.

2016-02-03 Thread Martin Schreiber
On Wednesday 03 February 2016 21:45:58 Fred van Stappen wrote:
> > One probably
> > should ask Wine people.
>
> Not lot of movement there :
> https://forum.winehq.org/viewtopic.php?f=8&t=26021
>
Sad. :-(
Maybe add a simple MSEgui exe which shows the problem and a screenshot how it 
should look and/or make a bug report?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] minimum packages needed to use msegui in linux

2016-02-07 Thread Martin Schreiber
On Sunday 07 February 2016 18:29:26 che fou wrote:
> >   $ sudo apt-get install libX11-dev
> >   $ sudo apt-get install libXft-dev
>
> thanks , yes this resolves the dependency on lx11 , but still
> -lpthread -lc -ldl

Please install the glibc-devel package.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] What are these options for?

2016-02-08 Thread Martin Schreiber
On Monday 08 February 2016 08:15:48 Michael Ebner wrote:
> Hi all,
>
> OptionsWidget, what are the following options for?
>
>
> ow_subfocus, //reflects focus to children

If a widget gets focus it immediately focuses a child widget. Used for 
containerwidgets like tgroupbox.

> ow_nochildpaintclip,
Normally before a widget paints its children the painting region of the canvas 
will be clipped by "frame.paintrect" if there is a frame instance. That means 
that children normally can not paint into the frame area of its parents. 
ow_nochildpaintclip inhibits this.

> ow_nochildclipsiblings, 
Normally before a widget paints a child it removes the opaque areas of 
overlapping siblings of the child from the painting region of the canvas. 
ow_nochildclipsiblings inhibits this.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] What are these options for?

2016-02-09 Thread Martin Schreiber
On Wednesday 10 February 2016 08:02:13 Michael Ebner wrote:
> ow_nochildpaintclip, in the attached project I see no difference.
>
> Maybe I understood something wrong, maybe there is an issue.
>

Please set frame.colorframe to cl_transparent in order to show the effect. The 
frame is painted in dopaintoverlay() -> it overwrites the child painting.
The attached screenshot additionally has frame.levelo and leveli set.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-09 Thread Martin Schreiber
On Wednesday 10 February 2016 08:45:02 che fou wrote:
> Hi
> is it possible to compile c files inside mseide ? .
>
Yes, MSEide can be used for building gcc projects.
I normally set up a make file and call make or a make script 
in 'Project'-'Make'-'Make Program'.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread Martin Schreiber
On Wednesday 10 February 2016 09:16:02 che fou wrote:
> thatks , is that mean i can't using fpc and gcc in the same project ?.
>
You can use fpc and gcc in the same project. Setup the make script 
accordingly.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Bitmap on Raspbian

2016-02-16 Thread Martin Schreiber
On Tuesday 16 February 2016 14:10:23 Jean Michel Rizzardi wrote:
> Hi,
>
> I a m developing a program for Raspberry Pi (first model).
> As I cant run MSEide (fatal error on Raspbian),

Hmm, I probably packed the wrong binary :-(
Please use
http://mseide-msegui.sourceforge.net/bin/rpi/mseide.tar.gz
and the source from here (master branch):
https://gitlab.com/mseide-msegui/mseide-msegui
it works for me on RPi 1.

> I chose to develop under 
> Windows then transfer the source code and compile on the Raspberry.

Another recommended option is to do cross compiling and debugging from Linux 
32 bit host, please see MSEide+MSEgui README.TXT.

> All is fine except for a TImage on my form, which displays the bitmap under
> Windows but not when the program is run on the Raspberry.
> What is the best way to be sure that external resources are included in the
> compiled  program ?

If an image is loaded at design time it always should be contained in the 
binary. Please send a simple test program which shows the problem.

P.S.: Please register on the mailinglist:
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Thanks, Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Happy tickets benchmark

2016-02-16 Thread Martin Schreiber
On Tuesday 16 February 2016 16:06:41 Fred van Stappen wrote:
> Very impressive the result of MSElang.
>
It's LLVM's merit.

> I am ready to try/use it ;-)
>
Not ready yet. There is a long way to go.
Interesting the answer of the FPC team on any benchmark that it is not 
significant for "real" programs. AFAIK "real" FPC programs also are not the 
fastest and smallest. ;-)

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Bitmap on Raspbian

2016-02-16 Thread Martin Schreiber
On Tuesday 16 February 2016 14:10:23 Jean Michel Rizzardi wrote:
> As I cant run MSEide (fatal error on Raspbian),
The wrong binaries have been replaced on SourceForge, thanks for reporting.
https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.0/

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] ow1_noparentwidthextend, ow1_noparentheightextend, ow1_canclosenil,

2016-02-24 Thread Martin Schreiber
On Wednesday 24 February 2016 08:02:41 Michael Ebner wrote:
> Hi all,
>
> what's ow1_noparentwidthextend and ow1_noparentheightextend for?
>
twidget.getminscrollsize() checks the widgetrects of it's children while 
calculating the necessary virtual size in order to not clip the children. 
Children with ow1_noparentwidthextend or ow1_noparentheightextend are ignored 
for the respective dimension.
For example TScrollBox uses the result of getminscrollsize in order to adjust 
the scrollbars, TExpandingWidget to adjust its size.

>
> Is the following text correct:
>
> If ow1_canclosenil is set, the function CanClose is executed when the
> Widget should loose the focus. To inhibit this, the function have to
> return false. The virtual function CanClose returns true by default, but
> can be overrided and also execute CanClose of all child widgets.
>
Correct.
twidget.canclose() is called anyway by changing the focused 
widget in a form. ow1_canclosenil additionally calls canclose(nil) which 
simulates closing the form. Some widgets distinguish between loosing focus to 
another widget of the form or by closing the form. For example in a data 
entry form mandatory fields need to be checked for canclose(nil).

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide - all images missing where DISPLAY > :0

2016-02-24 Thread Martin Schreiber
On Wednesday 24 February 2016 10:06:34 Graeme Geldenhuys wrote:
> Hi Martin,
>
> Any idea why MSEide doesn't paint any toolbar images when MSEide is used
> on a X server running on DISPLAY :1 or higher?
>
> I noticed this when I used two computers to generate one large desktop
> area (using Xdmx) running on DISPLAY=:1. The easiest way to test is
> probably with the Xnest X Server. Here is a startup script for the latter.
>
> [ test.sh ]
> #!/bin/bash
> Xnest -ac :2 &
> export DISPLAY=:2
> jwm &
> xterm &
> ---
>
> Now run MSEide from the opened xterm.

The missing icons are probably because of missing xrender -> no support of 
grayscale or RGB-Mask. There also seems to be no 8-bit visual available by 
default. What returns xdpyinfo?

[...]
>
> On a side note:
>   The fonts (interface and editor) are wrong too, and can't seem to be
>   changed either.
>
Probably because of missing xft which needs xrender.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-24 Thread Martin Schreiber
Hi,

MSEide+MSEgui 4.2 has been released:
https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.2/

There are also new versions of MSEgit, MSEspice and MSErun:
https://sourceforge.net/projects/mseuniverse/files/

New target: Windows 64 bit.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-24 Thread Martin Schreiber
On Thursday 25 February 2016 00:03:16 Graeme Geldenhuys wrote:
>
> It's the week for upgrades. I'm currently busy upgrading two of my
> FreeBSD systems that haven't had anything (or minimal) done for almost 4
> years. So far so good. ;-)
>
Ouch! The last time I tried to upgrade FreeBSD it went miserably wrong. 
Although I must confess my FreeBSD knowledge is minimal.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidget is ready for revision

2016-02-24 Thread Martin Schreiber
On Thursday 25 February 2016 08:19:56 Michael Ebner wrote:
> http://wiki.freepascal.org/Reference:_MSEgui/TWidget
>
Looks good, thank you very much!

Typo:
"
The options ow1_noparentwidthextend and ow1_noparentheightextend are usually 
used together with scrolling widgets like TScrollBox or with 
TExpandingWidget. These widgets change their size or scrolling are***a*** 
regarding to their child widgets.
"
Maybe
"
If ow1_canclosenil is set, the function CanClose is executed when the Widget 
should loose the focus.
"
could be changed to 
"
If ow1_canclosenil is set, the function CanClose with NIL as "newfocus" 
parameter is additionally executed when the Widget should loose the focus.
"
because "CanClose()" is first called anyway even 
without "ow1_canclosenil".

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-25 Thread Martin Schreiber
On Thursday 25 February 2016 09:12:03 che fou wrote:
> the text preview in the project option dialog has a problem when
> resizing horizontally, i think its incorrect anchor values ! .

Can not reproduce, see attachment. Are there any special steps necessary to 
trigger the issue?

Martin
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-25 Thread Martin Schreiber
On Thursday 25 February 2016 09:43:49 che fou wrote:
> i am on windows

Yup, I can reproduce it there. It depends on the setting of osc_expandshrinkx, 
either the issue is on Windows or on Linux...
I am investigating.
Can you retest current git master? It works for me on Windows.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-25 Thread Martin Schreiber
On Thursday 25 February 2016 10:59:23 Martin Schreiber wrote:
> On Thursday 25 February 2016 09:43:49 che fou wrote:
> > i am on windows
>
> Yup, I can reproduce it there. It depends on the setting of
> osc_expandshrinkx, either the issue is on Windows or on Linux...

Nope, it is something completely different.
Next try: git master 1d72dca7f5e39585992a4597a7bc6932d0c9a0a5.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2

2016-02-25 Thread Martin Schreiber
On Thursday 25 February 2016 10:29:28 Graeme Geldenhuys wrote:
> On 2016-02-25 08:43, che fou wrote:
> > just keep resizing horizontally back and forth ,
> > you end up with misaligned text preview .
>
> Oh, I hate those bugs with a passion. It took me forever to iron out
> similar bugs in fpGUI.
>
Mee too in MSEgui. :-)

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TLabel is ready for revision

2016-02-25 Thread Martin Schreiber
On Friday 26 February 2016 07:55:33 Michael Ebner wrote:
> http://wiki.freepascal.org/Reference:_MSEgui/TLabel

Looks good, thank you very much!

- In the first picture please use "Label3.color:= cl_Yellow" it is more common 
and does not need to initialise the face property.
- The red frame most likely is bigger than 1.

- The links "Anchors", "Bounds" and "Visible" are wrong.

Martin



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TSimpleWidget ready for revision

2016-02-25 Thread Martin Schreiber
On Friday 26 February 2016 08:15:03 Michael Ebner wrote:
> http://wiki.freepascal.org/Reference:_MSEgui/TSimpleWidget
>
TSimpleWidget also is used as filler in a Layout or the like.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2: Cannot run a program from the IDE

2016-02-26 Thread Martin Schreiber
On Friday 26 February 2016 08:50:51 r.chast...@net-c.fr wrote:
> Hello Martin and other!
>
> I continue this discussion:
> http://forum.lazarus.freepascal.org/index.php/topic,31678.msg203311.html#ms
>g203311
>
> I have just installed it (Windows 10, FPC 3.0.0). I can compile demo.prj,
> but when I try to run it from the IDE (target, continue), I get this
> message: "Signal received. Signal: ?, Unknown signal. Function: ??"
>
> When I run directly demo.exe (by double clicking), it executes without
> problem.
>
> I don't use 64-bit FPC. I installed FPC from the file
> fpc-3.0.0.i386-win32.exe.
>
MSEide is also 32Bit? A problem with virus scanner? I assume 64Bit Windows 10? 
Which gdb? Please enter the absolute path to the wanted gdb 
in 'Settings'-'Configure MSEide'-'$DEBUGGER' to be sure.

Can somebody reproduce the problem?

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide+MSEgui 4.2: Cannot run a program from the IDE

2016-02-26 Thread Martin Schreiber
On Friday 26 February 2016 09:31:08 r.chast...@net-c.fr wrote:
> Thank you for your answer.
>
> Yes, MSEide is also 32-bit.
>
> Entering the absolute path to gdb didn't solve the problem, but I tried to
> click on 'Restart debugger' and now the problem is solved !
>
Sorry, I didn't mention that gdb must be restarted after changing the 
${DEBUGGER} macro, MSEide does not automatically kill a running gdb after a 
settings change.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Cannot compile pipes example from mseuniverse

2016-02-26 Thread Martin Schreiber
On Saturday 27 February 2016 06:37:28 r.chast...@net-c.fr wrote:
> Hello! I tried to compile the pipes demo from mseuniverse
> (samples\process\pipes) with MSEide+MSEgui 4.2. There is an error on this
> line:
>
> procedure tmainfo.setvalueexe(const sender: TObject; var avalue: msestring;
>    var accept: Boolean);
> begin proc.input.writeln(avalue); // main.pas(52,13) Error: identifier
> idents no member "writeln" end;
>
> How to fix that?
>
Please try again with git master 4459ee79b2f1cd33508066883d7f673c9e8fd74d
https://gitlab.com/mseide-msegui/mseuniverse

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
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 on winxp is faster than win7

2016-03-19 Thread Martin Schreiber
On Thursday 17 March 2016 18:10:41 che fou wrote:
> Hi
> i just tested msegui on an old pc (pentium4  1.8ghz) and winxp , i
> surprised that the drawing is (i mean the gui update) is smooth and
> faster than in my actual pc (i3 + win7) .
> maybe the gdi32 api's on xp is faster than win7 !!.
>
AFAIK gdi32 is not hardware accelerated with some Windows versions. Maybe 
there are other problems? Is there something special with the application?

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-25 Thread Martin Schreiber
On Thursday 24 March 2016 17:06:45 Krzysztof wrote:
> Hi,
>
> I would like to try migrate my LCL app to MSEGui but I don't know if
> something is missing in MSEGui:
> 1. My app is "chat" kind. In LCL, for messages view I used TIpHTMLPanel.
> Does MSEGUI has something similar? In fact I don't need HTML, RTF is
> enough. Selectable formatted text with images (as emoi icons or user
> profile picture)

MSEgui has TTextEdit which must be placed in a TWidgetGrid. The MSEide source 
editor uses that combination. TTextEdit supports formatted text but no 
images. The best probably would be to make a MSEgui widget which uses an 
external HTML engine/library. This is already on todo-list. Do you have 
suggestions?

> 2. Handle fontawesome icons ( https://fortawesome.github.io/Font-Awesome/ )
> . They are icons colection based on true type font (.ttf, .otf). In LCL I
> used TFreeTypeFont, TIntfFreeTypeDrawer and TLazIntfImage. In fpGUI -
> TAgg2D

That means you need to rasterize TrueType glyphs to a pixmap and show them in 
a widget? MSEgui has a freetype based font engine in lib/common/graphics/ 
which can do the job. Please ask if you need extensions in the API, I'll make 
them ASAP. I prefer to do developments based on real applications. :-)

> 3. Is there any example how to use themes / styles? There is demo 
> but it is hard to analyze it, too much properties. Any doc or quick
> explanation?

Quick explanation:
Every TWidget has the properties TWidget.Frame and TWidget.Face.
If they are not used the only resource they need is a single nil-pointer.
TFrame defines the border of the widget, TFace the client area, please see 
Michaels explanation on Wiki:
http://wiki.freepascal.org/Reference:_MSEgui/TFrame
http://wiki.freepascal.org/Reference:_MSEgui/TFace

TFrame and TFace both have the property "Template" which links to TFrameComp 
and TFaceComp respectively. T*Comp broadcast their property settings to all 
connected frames and faces. There is also TFont.Template and TFontComp.
TSkinController sets the "Template" properties, colors and other widget 
specific properties of created widgets based on the property settings of 
TSkinController, please see the skin of MSEide in apps/ide/guitemplates.pas 
for an example.
Alexandre made the "skin center" application in order to simplify the 
management of skins:
http://thread.gmane.org/gmane.comp.ide.mseide.user/32140
He also made an application which generates the imagelist for pixmap based 
frames.

> 4. Same for layouts 

MSEgui uses TWidget.Anchors, TSpacer, TSplitter, TLayouter and code in 
OnLayout event for layout purpose.
Explanation probably is best done by a concrete example, please write what you 
want to achieve.

> 5. TListView with OwnData / OwnDraw support (something like
> virtualtreeview)

TTreeItemEdit placed in a TWidgetGrid. TWidgedGrid (component palette 
tab 'Edit') is a grid widget where inserted edit widgets build data columns. 
That means it is possible to combine a TreeItemEdit column with a text-, a 
datatime, an image and a button column for example. The inserted widgets with 
all their properties and events are fully working. Examples of TTreeItemEdit 
are here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/attic/msedocumenting/mse/trunk/help/tutorials/widgets/treeview
For flat data items there is TItemEdit (also placed in a TWidgetGrid). There 
is also TListView (tab 'Widget') for a flat list of items showed in a 
rectangular area.

> 6. Macos. I'm providing app for linux and windows only but 
> in future I would like for Macos too. Are any plans to implement this
> target?
>
Do you mean OS X? Porting MSEgui to OS X by using X11 probably is no big 
effort. I would prefer to make a Quartz backend. I fear that MAC people will 
not accept anything which is not 200% Apple-like.

Feel free to ask questions about MSEide+MSEgui here on the list.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-25 Thread Martin Schreiber
On Friday 25 March 2016 16:57:27 Krzysztof wrote:
>
> > MSEgui has TTextEdit which must be placed in a TWidgetGrid. The MSEide
> > source editor uses that combination. TTextEdit supports formatted text
> > but no images. The best probably would be to make a MSEgui widget which
> > uses an external HTML engine/library. This is already on todo-list. Do
> > you have suggestions?
>
> Well, I tried port LCL native HTML renders (like TIpHTMLPanel) to
> fpGUI but it is too much painful. Too much LCL dependencies. Except
> TKMemo from http://www.tkweb.eu/en/delphicomp/ which is my latest
> discover. Pure RTF render "written from scratch" accepting images,
> blocks etc. Looked at the code, very nice written HTML structure based
> on FPC class nodes.
> About external render. Long time ago (Delphi 7) I used HTMLayout  from
> http://www.terrainformatica.com . But it is deprecated and they
> created next generation Sciter which is multiplatform (
> http://sciter.com ). The possibilities are amazing, just look at
> portfolio (ESET, Norton, Avast, Comodo). On windows they use GDI but
> on linux GTK3, too bad that not pure X :/ .
> Other multiplatform HTML renders which I have on my TODO to test is:
> - NetSurf (http://www.netsurf-browser.org)
> - Servo (https://servo.org)
> - litehtml (https://github.com/litehtml/litehtml) - this one is
> interesting. It only render HTML to blocks. Contents (images, text)
> are drawed by callbacks. So it parse HTML, calculate blocks position
> and rest is drawed by MSEgui canvas. No socks, no dependencies. Just
> check these callbacks:
> https://github.com/litehtml/litehtml/wiki/document_container
>
What do you think about WebKit?

> > > 2. Handle fontawesome icons (
> > > https://fortawesome.github.io/Font-Awesome/ ) . They are icons
> > > colection based on true type font (.ttf, .otf). In LCL I used
> > > TFreeTypeFont, TIntfFreeTypeDrawer and TLazIntfImage. In fpGUI - TAgg2D
>
Can you render the icons to png's and then load them into a TImageList at 
design time?
If not I'll take a look how to do the job with TFontCache and friends. Once 
the glyphs are in a TImageList they can be selected in many MSEgui widgets. 
TFace and TFrame also have the possibility to show pixmaps so actually every 
TWidget can show an icon.

[...]

> Thanks for links. Very helpful. I need to study it first. The goal is
> to create slightly rounded buttons and edits with smooth gradients.
> Just like modern UI like GNOME.
> Second goal is more fancy button. Like this Mac OS:
> http://fpgui.sourceforge.net/images/full/fpgui_agg-powered.png . Seems
> that everything can be done using FrameImage.

Most likely. For example this application has been made with MSEgui:
http://almin-soft.ru/index.php?multimedia/xelplayer/xelplayer-screenshots

> BTW: Do you know how to get system colors at runtime of MSE
> application on KDE/GNOME/XFCE etc? On windows it is simply, on unix
> based not really.
>
I don't know if there is a standard. Probably not. Does anybody know?

> > MSEgui uses TWidget.Anchors, TSpacer, TSplitter, TLayouter and code in
> > OnLayout event for layout purpose.
> > Explanation probably is best done by a concrete example, please write
> > what you want to achieve.
>
> I just want to know how to start. Then I'll learn by analyzing source.
> I see that MSE widgets don't have Align property.

MSEgui widgets often use the "Anchors" property:
http://wiki.lazarus.freepascal.org/Reference:_MSEgui/TWidget#Anchors

> So let say that I 
> would like to have panel ontop main form. Inside this panel 3 buttons
> "Add", "Edit", "Delete" aligned on left side in one row. There should
> be 4 pixels space between each button and they should handle autosize
> correctly in case of translations. In this panel is also TEdit aligned
> to right side. On main form resize, buttons should be anchored to left
> side, edit to the right.

I'll make a demo.

> Second example is more complicated. Floating panel. One big panel (in
> fact, scrolled window) contain e.g. 100 small panels, 40x40px each.
> Now when, main panel is resizing, panels are arranged as grid, but if
> there is no space for panel in row, it should break line and start
> from new one and so one. Only vertical scrollbar can be visible
>
For this task a TListView from tab 'Widget' probably is the most efficient 
solution. Another option is to use a 'TScrollBox' and to arrange the children 
in TScrollBox.OnLayoutChanged.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-25 Thread Martin Schreiber
On Friday 25 March 2016 17:56:49 Martin Schreiber wrote:
>
> I'll make a demo.
>
Here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/layout
One with TSpacer, one with TLayouter.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-25 Thread Martin Schreiber
On Friday 25 March 2016 18:52:28 Krzysztof wrote:
> I could do what I always wanted
> to do in my app - don't use any HTML/Report control. Instead use
> TDrawGrid (or whatever equivalent MSEGUI has) with one stretched
> column. Each chat message would be new row in grid which I can draw as
> I only can imagine, for example profile picture on left, message on
> center, time on right.

That should be possible with TWidgetGrid. Activate TWidgetGrid.OptionsGrid 
og_rowheihgt in order to enable variable rowheight, insert a TDataIcon or a 
TDataImage for the icon colum, a TTextEdit for the textcolumn and a 
TDateTimeEdit for the date (all available in component palette 'Edit'). In 
TTextEdit activate TextFlags and TextFlagsActive tf_wordbreak and in 
TWidgetGrid.DataCols.Options1 co1_autorowheight.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-26 Thread Martin Schreiber
On Friday 25 March 2016 18:59:58 Krzysztof wrote:
> > Here:
> > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/
> >layout One with TSpacer, one with TLayouter.
>
> Thanks again!
> BTW: Do you know which audio library Xelplayer is using in backend?
>
Maybe Alexandre can answer the question. The source is available on his 
website.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-26 Thread Martin Schreiber
On Friday 25 March 2016 17:56:49 Martin Schreiber wrote:
>
> Can you render the icons to png's and then load them into a TImageList at
> design time?
> If not I'll take a look how to do the job with TFontCache and friends.

An example is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/graphics/ftglyphs

It needs MSEgui git master 0277701d9fb48394343e5d415dbc858a51f5c573
https://gitlab.com/mseide-msegui/mseide-msegui

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-26 Thread Martin Schreiber
On Saturday 26 March 2016 13:19:57 Krzysztof wrote:
> I have question about IDE itself. Is it possible to have everything
> docked in one window? (like lazarus AnchrDockingDsgn package)

Yes, there is a docking area in main window. Although doing so is not 
recommended. The "command central" should be small and always visible. 
Normally one uses 'View'-'Panels'-'New Panel' in order to combine related 
windows. Please do not use the window title bar in order to drag and dock 
windows but the slim grip at right edge.

> I'm also 
> missing code completition so much :(

Parameter listing (Shift+Ctrl+Space) and code navigation (Ctrl+LeftClick) are 
supported. The searched directories must be listed 
in 'Project'-'Options'-'Debugger'-'Source directories'.

> . I guess that I can use MSEide 
> for designing and Lazarus code editor for coding right?

Sure.

> Last question: 
> is it possible to have build modes (debug, release) in MSE project?
>
Yes, please take a look on 'Project'-'Options'-'Make'-'Make Options'. The 
default template projects use 'Project'-'Make' and 'Project'-'Build' for 
debugging and 'Project'-'Make 4' for release.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-26 Thread Martin Schreiber
On Saturday 26 March 2016 14:52:43 Graeme Geldenhuys wrote:
> On 2016-03-26 12:19, Krzysztof wrote:
> > I have question about IDE itself. Is it possible to have everything
> > docked in one window?
>
> Yes, MSEide's docking is years ahead of Lazarus's. Simply select "View
> -> Panels -> New Panel". Create as many as you need, drag any IDE
> windows using the right edge double-grip and dock them as you need in
> the panels.
>
Ups, Graeme was faster. :-)

[...]

> TIP:
> MSEide can import project settings from another project. So once you
> have one project set up, you can create a new project, and import the
> settings from the previous project. Look at "Project Options -> Storage"
>
Also sometimes useful 'View'-'Load Window Layout'.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] av when clicking on the ribbon of tdbstringgrid scrollbar (both design/runtime)

2016-03-30 Thread Martin Schreiber
On Wednesday 30 March 2016 14:43:33 che fou wrote:
> Hi Martin
> and there are many other av's that comes rarely and then disappears ,
> the last one happened , i remember only when i scrolling the source
> editor by the mouse wheel , but again it disappears when closing and
> reopen the ide .
>
Works for me. Please report if you find out how it can be reproduced and run 
MSEide in MSEide and check the stack window in case of an exception.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] av when clicking on the ribbon of tdbstringgrid scrollbar (both design/runtime)

2016-03-31 Thread Martin Schreiber
On Wednesday 30 March 2016 19:50:59 che fou wrote:
> this is the callstack after the av

Please try again with git master f0d129dcd5c83420fc125b587cd5744184ebc9b6, 
thanks for reporting.

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Wednesday 30 March 2016 22:34:21 Krzysztof wrote:
>
> Sorry for delay. Had less time on weekend than I thought. I'm
> analyzing now your examples by trying to reproduce them by my self in
> empty project. The one with TSpacer was easy. With TLayouter not. When
> reducing form width, edit stop moving on half form while there is
> still space to the layouter on left side. Don't know what is
> responsible for this.

Please send your example. SourceForge mailinglist does not accept *.zip so 
please use *.7z or *.tar.gz in order to pack *.prj, *.pas and *.mfm files.

> It would be easy to analyze if properties were 
> set in source code in costructor. For example I also could not find 
> what is responsible for space between buttons. Had to expand all
> properties tree and finally found it in "place" (this property was not
> bolded). I'm struggled why my edit is moving only to the center of the
> form and then stops
>
Please do RightClick-'Show as Text' on the form in order to see the property 
settings and the widget structure.


Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Wednesday 30 March 2016 22:56:33 Krzysztof wrote:
> > An example is here:
> > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/graphics
> >/ftglyphs
> >
> > It needs MSEgui git master 0277701d9fb48394343e5d415dbc858a51f5c573
> > https://gitlab.com/mseide-msegui/mseide-msegui
> >
> > Martin
>
> Trying this example now. Downloaded msegui from git repo. In IDE ->
> Settings -> Configure MSEide, changed ${MSEDIR} to my git directory.
> Opened ftglyphs without error, main form designer also showed without
> errors but when running get Exitcode: 217. When running compiled
> binary from console then getting this output:
>
> An unhandled exception occurred at $004DEC05 :
> egdi : Invalid pixmap.

Which operating system? 
Please build the project with debuginfo by 'Project'-'Build', 
activate 'Project'-'Options'-'Debugger'-'Stop on Excep.' and check the stack 
window when the program stops by the exception if you like to debug.
>
> BTW: How to change output dir for all *.o and *.ppu files to local lib
> dir? Tried Project -> Options -> Make -> Make directory but getting
> "Make ***ERROR*** 1" in MSEide center (directory "lib" exists)
>
Please add "-FU" to 'Project'-'Options'-'Make'-'Make options'
http://www.freepascal.org/docs-html/current/user/usersu14.html#x37-440005.1.3
'Make Directory' is the current directory where FPC will be started.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Wednesday 30 March 2016 10:56:33 pm Krzysztof wrote:
> Trying this example now. Downloaded msegui from git repo. In IDE ->
> Settings -> Configure MSEide, changed ${MSEDIR} to my git directory.
> Opened ftglyphs without error, main form designer also showed without
> errors but when running get Exitcode: 217. When running compiled
> binary from console then getting this output:
>
> An unhandled exception occurred at $004DEC05 :
> egdi : Invalid pixmap.

Most likely a 64 bit issue. I am investigating...

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Thursday 31 March 2016 10:29:14 am Martin Schreiber wrote:
> On Wednesday 30 March 2016 10:56:33 pm Krzysztof wrote:
> > Trying this example now. Downloaded msegui from git repo. In IDE ->
> > Settings -> Configure MSEide, changed ${MSEDIR} to my git directory.
> > Opened ftglyphs without error, main form designer also showed without
> > errors but when running get Exitcode: 217. When running compiled
> > binary from console then getting this output:
> >
> > An unhandled exception occurred at $004DEC05 :
> > egdi : Invalid pixmap.
>
> Most likely a 64 bit issue. I am investigating...
>
Yup, please try again with MSEgui git master 
39118126e46bbb30e62ed89002a709f5504aa6f6, see attachment.

Martin


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Thursday 31 March 2016 14:02:41 Krzysztof wrote:
>
> Here is example. Try to run it and shrink form width. Edit stop moving
> in half way. Can't find which property is responsible for this.

It is because of tdrawgrid1. Please set tdrawgrid1.anchors an_right to true 
for example.

In order to align the child widgets on top of the layouter widgets set the 
align_glue properties to wam_start.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-03-31 Thread Martin Schreiber
On Thursday 31 March 2016 17:28:50 Krzysztof wrote:
> > On Thursday 31 March 2016 14:02:41 Krzysztof wrote:
> >> Here is example. Try to run it and shrink form width. Edit stop moving
> >> in half way. Can't find which property is responsible for this.
> >
> > It is because of tdrawgrid1. Please set tdrawgrid1.anchors an_right to
> > true for example.
> >
> > In order to align the child widgets on top of the layouter widgets set
> > the align_glue properties to wam_start.
>
> Ahh didn't know that widgets which are not as TLayouter childs are
> also affected. Removed grid and working as expected. Still learning :)

The container area of a TForm is a TScrollBox which manages the client area 
size.
By default TForm.Container.Frame.ClientHeight* and ClientWidth* values are 0 
which means automatic and TForm.Container.Frame.SbHorz.Options and 
SbVert.Options have the sbo_showauto flag set.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Stacked widget?

2016-03-31 Thread Martin Schreiber
On Thursday 31 March 2016 18:59:19 Krzysztof wrote:
> Hi Martin,
>
> Is there any container widget which show only one widget at same time?
> Something like LCL TNotebook (or Qt QStackedWidget).
> In fact, in my 
> Lazarus app I don't use TNotebook but simply TPanel with runtime code:
> Control.ManualDock(Panel, nil, alClient).
>
> I guess that in MSEgui I can simply drop TSimpleWidget or TEventWidget
> as major container and add aligned subcontrols as "views" and play
> with Show/Hide on them. Just wondering if MSEgui has something
> dedicated.
>
Use a TTabWidget as container and insert TTabPage as children. Activate 
TTabWidget.tab_options tabo_notabs in order to hide the tabs at runtime.

> BTW: What is equivalent for Qt QWidget? I mean basic totally
> transparent widget without decorations, borders, background as base
> for visual descendants? In LCL it is TGraphicControl and
> TCustomControl.
>
In MSEgui it is TWidget. MSEgui does not distinguish between widgets which can 
have children (Delphi TCustomControl) and simple graphic elements (Delphi 
TGraphicControl). TWidget can have children and has the properties Frame 
(TFrame) and Face (TFace) and therfore full decoration support. TWidget.Frame 
and Twidget.Face need a single nil-pointer resource only if disabled.
In order to make it transparent set TWidget.Color to cl_transparent.

http://wiki.freepascal.org/MSEide_%26_MSEgui#Architecture_overview

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Stacked widget?

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 14:18:10 Krzysztof wrote:
> > In MSEgui it is TWidget. MSEgui does not distinguish between widgets
> > which can have children (Delphi TCustomControl) and simple graphic
> > elements (Delphi TGraphicControl)
>
> This is great. I guess that it also use own windows (like AlienWindows in
> fpGUI)

Yes.

> BTW: Can i add own widget to IDE and use it at designtime?

Yes. From README.TXT:
"
How to add custom components to MSEide
**
There is a project 'apps/myide/mymseide.prj' as a demo.
Start MSEide, open project 'apps/myide/mymseide.prj', 'Project'-'Build',
'Target'-'Continue',
the IDE with the new component 'tmybutton' will be compiled and
started in the the debugger.
Binary name is 'mymseide' (linux) or 'mymseide.exe' (win32).

If you wish to do it from scratch:

- Create a register unit for your components 
  (see 'apps/myide/regmycomps.pas' for an example).
- Enter the unitname followed by a comma 
  ('myregunit,' if your regunitfile is 'myregunit.pas') in 
  a file named 'regcomponents.inc'.
- Build the IDE with -dmorecomponents as option.

If you want add custom icons to your components:

- Convert 24*24 pixel BMP or PNG files with tools/bmp2pas to
  an icon unit ('*_bmp.pas').
- Add the name of the icon unit to 'uses' in your register unit.
"
Also sometimes useful 'View'-'Component Store' where one can copy component(s) 
with their property settings for reuse.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Totally rounded button (knob)

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 14:25:33 Krzysztof wrote:
> Hi Martin,
>
> Is there anything like Knob button? 

Yes, examples are here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/attic/msedocumenting/mse/trunk/help/tutorials/widgets/roundbutton
see attachment.

>
> BTW: Is it possible to set little rounding on button edges using
> TFrame and not using FrameImage / TImageList?

No. There's a tool from Alexandre in order to create the pixmaps.

Martin
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 17:16:29 Krzysztof wrote:
> >> BTW: How to change output dir for all *.o and *.ppu files to local lib
> >> dir? Tried Project -> Options -> Make -> Make directory but getting
> >> "Make ***ERROR*** 1" in MSEide center (directory "lib" exists)
> >
> > Please add "-FU" to 'Project'-'Options'-'Make'-'Make options'
> > http://www.freepascal.org/docs-html/current/user/usersu14.html#x37-440005
> >.1.3 'Make Directory' is the current directory where FPC will be started.
>
> Thanks, working perfect. I noticed that adding -Cg reduces binary size
> from 4MB to 1.7MB (linux 64bit). Maybe it should be added by default
> into IDE make options?
>
Interesting.
"
-Cg 
Enable generation of PIC code. This should only be necessary when generating 
libraries on linux or other Unices.
"
http://www.freepascal.org/docs-html/current/user/usersu15.html#x38-450005.1.4

'Project'-'Make 4' uses smartlinking and optimisation which should reduce 
binary size too. Using it by default makes debugging difficult. With 64 bit 
FPC 2.6.4 it is not possible to smartlink MSEide with 2GB ram, 32 bit needs 
more than 1GB.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 01:18:14 Graeme Geldenhuys wrote:
> On 2016-04-01 20:37, Krzysztof wrote:
> > As in subject. Very handy option
>
> It is there... kind of, but not a very user friendly way.
>
> Select "Project -> Open Project" The combobox to the left of the Name
> caption - click its Down arrow button and you will see a list of
> previous opened projects.
>
> There is bugs and scope for improvement though.
>
>   1. Bug: Create a new project and save it. Open a previous project.
>   Now try and open the new project you just created a second
>   ago - it doesn't appear in the history list.
>
Please try again with git master f78b8ea1055bb3f6833d2b82e8cfc53d1b3411d6.

>   2. Feature Request: Make "recent projects" a menu item.
>
I try to make as less of menu items as possible and to design the UI as 
orthogonal as possible. There is  a history-dropdown-edit in every MSEide 
file-dialog. In order to satisfy orthogonality there must be a "recent files" 
menuitem for all file-dialogs what I don't like.

>   3. Feature Request: Make the amount of history configurable. Currently
>   it is hard-coded to 10 items only. I often work on a group of
>   projects that is more than 10 projects. So I loose the history
>   items, and have to navigate directories.
>
I also try to limit the count of different configuration items in MSEide. git 
master has a default value of 15. Often there is a dropdown item with a 
common ancestor directory as the searched file. I select it and use directory 
navigation in order to select the actual item.

>   4. Feature Request: Implement "Project Groups". As I mentioned in (3)
>   I often work on a group of project. They all relate to one
>   "large project", but consist of many *.prj files. eg: web
>   front-end, back-end, middle tier, desktop apps, utilities,
>   unit tests etc.
>
What should project groups do?
In order to compile a group of applications I normally use MSErun or scripts. 
MSErun has similar macro settings as MSEide and a target tree, see 
attachment.
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/tools/mserun

Martin
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-02 Thread Martin Schreiber
On Friday 01 April 2016 21:37:57 Krzysztof wrote:
> Hi Martin
>
> As in subject. Very handy option especially for newbie as me who often
> switch between MSE examples and own test projects to compare or check
> something.
>
Please see answer from and to Graeme.

> BTW: Do you also have sometimes "GDB timeout" error? I experience this
> quite often when have two IDE opened. It freezes my whole KDE desktop,
> can't click on antything for 15-20 seconds.
>
gdb often crashes with 64 bit FPC programs probably because FPC uses DWARF on 
64 bit instead the default STABS on 32 bit.
What can be done:
- try other gdb versions.
- use 32 bit FPC and gdb.
- Disable 'Target'-'Watches on' or delete or disable not used watches in watch 
window.

Are there no problems with a single running MSEide?

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Totally rounded button (knob)

2016-04-02 Thread Martin Schreiber
On Friday 01 April 2016 22:35:54 Krzysztof wrote:
> >> BTW: Is it possible to set little rounding on button edges using
> >> TFrame and not using FrameImage / TImageList?
> >
> > No. There's a tool from Alexandre in order to create the pixmaps.
>
> Where is it?
>
The thread is here:
http://thread.gmane.org/gmane.comp.ide.mseide.user/32140/focus=32353

Sadly Alexandre doesn't want to work with git so the project could not be 
cloned to MSEuniverse.
Maybe you can find it on his website:
http://almin-soft.ru/index.php?komponenty/mseframeimagemaker/tags/mseframeimagemaker

I added support for transparent pixmaps, this version is here:
https://gitlab.com/mseuniverse/alminsoft/tree/master/tools/mseimagelistextractor

but because there is no original git repository it possibly has not been 
merged.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-02 Thread Martin Schreiber
On Friday 01 April 2016 23:52:08 Krzysztof wrote:
> Hi,
>
> I'm still learning Frame and Faces. There is a lot of sub properties
> so sometimes I'm little lost. I have flat TRichButton (pic1), I want
> to change "on mouse" / "hover" frame (pic2) from gray 3d / light to
> the one uniform custom color. I thought that I should look in
> Frame.Color, but it doesn't change anything until I set
> Frame.FrameWidth but 3d gray frame is still present when mouse is on
> button (pic3 and pic4). So where is setting? In FaceMouse?
>
The default frame and hover and click effect of buttons is drawn in client 
area additionally to TButton.Frame. In order to switch it of activate 
TButton.Frame.OptionsSkin fso_flat and fso_noanim.

In order to implement a custom hover frame it is possible to use 
Frame.FrameImage_* properties. The index in FrameImage_List is the sum of 
FrameImage_Offset* where * means the widget states. TimageList has an 
additional TimageList.IndexLookup property which can be used to map multiple 
stages to a single image index.

Another option is to use TFrame.FrameFace where an item of a TFaceList can be 
selected depending on widget state.
An example is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/buttons/hoverframe
it needs MSEgui git master e037c5246cfe1c3ac242f850762fbe6193a724fd.

I suggest to extend the frameimagemaker tool to a complete frame/face designer 
which deals with the boring work of frame designing and widgetstate mapping.

> BTW: Is there official full documentation for MSEgui classes?
> Especialy for enums: options, optionsskin, optionswidget,
> optionswidget1, state, localprops, localprops1 and all similar
> properties in frame.* and face*.

TFrame and TFace are documented here:
http://wiki.freepascal.org/Reference:_MSEgui/TFrame
http://wiki.freepascal.org/Reference:_MSEgui/TFace

Martin
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 13:58:39 Graeme Geldenhuys wrote:
>
> I believe you still have Delphi 7 or Kylix 3 around, so take a look
> there. They had excellent Project Group support, and I greatly miss that
> features since I moved to FPC back in 2005.
>
Ouch, the main reason why I didn't implement project groups in MSEide is that 
I never was happy with Delphi project groups. ;-)

> > In order to compile a group of applications I normally use MSErun or
> > scripts. MSErun has similar macro settings as MSEide and a target tree,
> > see
>
> I don't know MSErun. Is that only for building multiple project?

Yes, I use it for running test suites too.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 16:53:23 Krzysztof wrote:
> > Are there no problems with a single running MSEide?
>
> Didn't notice such problem with only one IDE
>
Then it becomes difficult...
Currently I often work with three running MSEide's for MSElang development and 
I didn't see such problems on 32bit Linux.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 17:47:04 Krzysztof wrote:
>
> > I suggest to extend the frameimagemaker tool to a complete frame/face
> > designer which deals with the boring work of frame designing and
> > widgetstate mapping.
>
> What is frameimagemaker? Do you mean mseimagelistextractor?
>
Yes, Alexandre changed the name AFAIK.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TCanvas.RoundRect ?

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 17:51:56 Krzysztof wrote:
> Hi Martin,
>
> I'm playing with TPaintBox and MSEgui canvas to see diferences between
> LCL TCanvas. Does MSEgui have equivalent for LCL RoundRect? There is
> DrawEllipse, DrawCircle but what aboud rounded rectangle?
>
It needs to combined with arcs and lines.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 17:53:22 Krzysztof wrote:
> > An example is here:
> > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/
> >buttons/hoverframe it needs MSEgui git master
> > e037c5246cfe1c3ac242f850762fbe6193a724fd.
>
> Ahh one thing. You forgot to remove your macros from project options
> and it is not compiling by default ;)
>
Should be fixed now.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
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 API Documentation

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 19:52:43 Graeme Geldenhuys wrote:
> On 2015-09-03 06:44, Martin Schreiber wrote:
> > Thanks. Is it possible to store it in a different directory tree? I like
> > to add it to MSEuniverse doc/fpdoc:
> > https://gitlab.com/mseuniverse/mseuniverse/tree/master/doc/fpdoc
>
Looks good, thanks! Here the correct link:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/docs/fpdoc

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-03 Thread Martin Schreiber
On Sunday 03 April 2016 21:50:40 Fred van Stappen wrote:
>
> Now for MSE, to disable Tmainfo.frame.sbhorz and Tmainfo.frame.sbvert, I
> set Tmainfo.frame.sbhorz.height := 0, Tmainfo.frame.sbvert.height := 0 ->
> ok, no more sbhorz/sbvert. (is it the good way ?)
>
There is also TForm.Container.Frame.SBHorz/Vert.Options sbo_showauto which can 
be disabled.

> Sadly, if setting at init of program -> Tmainfo.height := 300 -> only the
> bottom of the form is show -> see attachment.
>
Because the focused widget need to be scrolled into view. This is independent 
from visibility of scrollbars. In order to define a fixed clientsize set 
TForm.Container.Frame.ClientWidth/ClientHeight and 
ClientWidthMin/ClientHeightMin.
>
>
> How must I do to see the top of the form, like in second attachment ?
>
Maybe better to place the lower widgets in a container widget and to change 
the visible property of the container widget.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE code editor - double click selection

2016-04-03 Thread Martin Schreiber
On Monday 04 April 2016 01:50:39 Graeme Geldenhuys wrote:
> On 2016-04-03 22:41, Krzysztof wrote:
> > In IDE code editor is missing double click selection. Often used for
> > copy & paste. This is just my habit from Lazarus
>
> Not just a Lazarus habit... ALL editors support double-click to select
> functionality. I wish Martin will had that too.
>
> The work-around is to keep the Shift key in, then double-click a word.
> No idea what the reasoning is behind this non-standard behaviour.
>
In MSEide double click is consequently used for window navigation. In source 
editor double click shows the breakpoints window if there is a breakpoint set 
in the according row. Double click in a row of breakpoint window shows the 
according source line.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-04 Thread Martin Schreiber
On Monday 04 April 2016 17:24:41 Fred van Stappen wrote:

> I have some trouble with Tfilenameedit.
>
> If using:
>
> uos_LoadLib(Pchar('/home/fred/uos_mse/lib/Linux/64bit/LibPortaudio-64.so'))
> -> it works.
>
> But when using:
> Afilenameedit.value :=
> '/home/fred/uos_mse/lib/Linux/64bit/LibPortaudio-64.so' ;
> uos_LoadLib(Pchar(Afilenameedit.value)) ; -> it does not work.
>
> Do you have a idea why it does not work ?
>
Because TFileNameEdit.Value is a "filenamety" not an "AnsiString". Please 
use "uos_LoadLib(Pchar(AnsiString(Afilenameedit.value)))" or one of the 
functions in "lib/common/kernel/msedynload.pas", they have "filenamety" 
parameters.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE code editor - double click selection

2016-04-04 Thread Martin Schreiber
On Monday 04 April 2016 17:23:18 Fred van Stappen wrote:
>
> If yes, could you give me some light how to code it (for example 2x click =
> select all the word) ?
>
The code is in "tsourcepage.editontextmouseevent()" 
of "apps/ide/sourcepage.pas".

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Used symbols in commit messages

2016-04-04 Thread Martin Schreiber
On Tuesday 05 April 2016 00:14:32 Graeme Geldenhuys wrote:
> Hi Martin,
>
> What are the meanings of the [prefixed] symbols in your commit messages?
>
> I'm assuming they denote Fixes, Bugs, Changes, Deleted etc? I found the
> following symbols and guessing there meaning, but not 100% sure. Would
> you mind elaborating on this?
>
+ = Addition of functionality
* = Change of functionality
- = Removal of functionality

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE code editor - double click selection

2016-04-05 Thread Martin Schreiber
On Tuesday 05 April 2016 10:31:56 Fred van Stappen wrote:
> > The code is in "tsourcepage.editontextmouseevent()"
> > of "apps/ide/sourcepage.pas".
> >
> > Martin
>
> Excellent, thanks.
>
> Huh, I do not see a double-click in mouse eventkindty...
> There are ek_mousewheel,   ek_mousemove,ek_mousepark,   
> ek_mouseenter,ek_mouseleave,ek_mousecaptureend,
> ek_clientmouseenter,ek_clientmouseleave.
>
> But I do not see 2x click. (Sure I miss something... ;-( )
>
The info is in shiftstatesty (ss_double,ss_triple). There is also 
twidget.isdblclicked().

Did you see that MSEide actually does select the word by Shift+DblClick? 
Shift+TrplClick selects the whole row BTW.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE code editor - double click selection

2016-04-05 Thread Martin Schreiber
On Tuesday 05 April 2016 22:02:43 Fred van Stappen wrote:
> > Did you see that MSEide actually does select the word by Shift+DblClick?
> > Shift+TrplClick selects the whole row BTW.
> >
> > Martin
>
> Huh, no I did not see it ;-(
>
> Nice to know it.
>
> By the way, why do you use Shift+DblClick ?
>
> Is DblClick (alone) used for something else ?
>
In MSEide DblClick is used in order to change the active window. Examples: 
DblClick on a component in form editor shows the component in object 
inspector, DblClick in a beige object inspector event row shows the event 
handler, DblClick in stack window shows the according source...
In source editor DblClick shows the according breakpoint in breakpoints window 
if there is one.
"Shift" has been chosen because all text selection operations by key or mouse 
use "Shift".

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-05 Thread Martin Schreiber
On Tuesday 05 April 2016 21:57:05 Fred van Stappen wrote:
> Hello Martin.
>
> OK, -> MSE_Simple_Player is working. ;-)
>
> And congrats for MSE-synchronize(), it works perfectly.
>
Hint: in MSEgui one can also use application.lock()/unlock() instead of 
synchronize().

> I have only a last problem with the TSlider used to show/change the
> position of the song.
>
> See picture -> the slider under the mouse-arrow ->
>
> For fpGUI/LCL it uses onClick-event of the slider if the user change the
> position.
>
> OnMouseDown -> Aslider.tag := 1 ->  this is used by the position-procedure,
> if Aslider.tag = 1 -> do not update the position of the slider.
>
> Then, if the position of the slider is changed by the user, a seek() is
> done at the new position of the slider.
>
> OnMouseUP -> Aslider.tag := 0 -> the position-procedure can be done again.
>
> But I do not find how to get OnMouseDown/UP with MSE for Tslider.
>
> How could I do this ?
>
OnSetValue with disabled TSlider.ScrollBar.Options sbo_thumbtrack should 
provide the wanted functionality. Currently it does not work, I must check 
why not.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-06 Thread Martin Schreiber
On Wednesday 06 April 2016 08:22:02 Martin Schreiber wrote:

> > But I do not find how to get OnMouseDown/UP with MSE for Tslider.
> >
> > How could I do this ?
>
> OnSetValue with disabled TSlider.ScrollBar.Options sbo_thumbtrack should
> provide the wanted functionality. Currently it does not work, I must check
> why not.
>
Please try again with git master 0ae75ae29b23dc42b52d77e4e2de2ca0e52f381d.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-06 Thread Martin Schreiber
On Wednesday 06 April 2016 12:14:41 Fred van Stappen wrote:
>
> But... the position in song changes each time when the position of the
> slider has changed by the user, I would prefer that the position in song
> changes only when the mouse-button is released.
>
> Is it possible to do that ?
>
Have you disabled TSlider.ScrollBar.Options sbo_thumbtrack?

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-06 Thread Martin Schreiber
On Wednesday 06 April 2016 19:06:28 Fred van Stappen wrote:
> > > Is it possible to do that ?
> >
> > Have you disabled TSlider.ScrollBar.Options sbo_thumbtrack?
>
> Hello.
>
> TSlider.ScrollBar.Options -> [sbo_moveauto,sbo_showauto,sbo_valuekeys]
> ->  sbo_thumbtrack is set to "false".
>
For me OnSetValue is called on button release only if sbo_thumbtrack is false. 
Do you really use MSEgui git master version? If so please send a testproject 
which shows the problem.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-07 Thread Martin Schreiber
On Thursday 07 April 2016 11:52:16 Fred van Stappen wrote:
> Hello Martin
>
> > Do you really use MSEgui git master version?
>
> Yes.
>
> >If so please send a testproject
> > which shows the problem.
>
> https://github.com/fredvs/uos -> Please try
> /uos/examples/SimplePlayer_MSE.prj
>
sbo_thumbtrack is true, see attachment. Because the property default value has 
been changed MSEide must be current too.

Martin
--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Form without auto sbhorz/sbvert ?

2016-04-07 Thread Martin Schreiber
On Thursday 07 April 2016 13:57:59 Fred van Stappen wrote:
> > sbo_thumbtrack is true, see attachment.
>
> Huh, see my attachment ->
>
> > Because the property default value has been changed MSEide must be
> > current too.
>
> Ooops, indeed, using new-MSEide sbo_thumbtrack is set to true (I was using
> old MSEide). Huh... when (and where) did you commit that change ?
>
In 2016-04-06 09:24:03 f6e88fce69a57f51e352726a4d69fc7891e8f410:
"
diff --git a/lib/common/editwidgets/msegraphedits.pas 
b/lib/common/editwidgets/msegraphedits.pas
index 
2698aa63d8c94d93ff704dd8699c12620428b6b2..86fcb775571ca0e42ea38b02ac7131bbf03e91dd
 
100644
--- a/lib/common/editwidgets/msegraphedits.pas
+++ b/lib/common/editwidgets/msegraphedits.pas
@@ -1,6 +1,6 @@
-{ MSEgui Copyright (c) 1999-2015 by Martin Schreiber
+{ MSEgui Copyright (c) 1999-2016 by Martin Schreiber
 
 See the file COPYING.MSE, included in this distribution,
 for details about the copyright.
 
 This program is distributed in the hope that it will be useful,
@@ -29,11 +29,12 @@ uses
 
 const
  defaultsliderwidth = 200;
  defaultsliderheight = 20;
  defaultboxsize = 13;
- defaultsliderscrollbaroptions = defaultscrollbaroptions + [sbo_valuekeys];
+ defaultsliderscrollbaroptions = defaultscrollbaroptions + 
+
[sbo_valuekeys,sbo_thumbtrack];
"
> But..., using new-MSEide and setting sbo_thumbtrack to false...
> -> Changing position of slider now do not change position of song, even
> when releasing mouse-button.
>
Please use "avalue" property.
http://thread.gmane.org/gmane.comp.ide.mseide.user/17756/focus=17758
"
procedure tmainfo.changepos(const sender: TObject; var avalue: realty;
   var accept: Boolean);
begin
   uos_Seek(PlayerIndex1, InputIndex1, round(avalue * inputlength));
end;
"

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Black mouse cursor on black background

2016-04-08 Thread Martin Schreiber
On Friday 08 April 2016 13:01:55 Graeme Geldenhuys wrote:
> Hi Martin,
>
> Have you seen this behaviour before, and any idea how to fix it? I just
> installed MSEide inside Win7 64-bit. I always use dark editor themes.
> But I can't in Win7, because the mouse cursor appears black, on a black
> background, so I can't see it. I can see the edit cursor thought.
>
> It's not my theme, because this same theme works perfectly on my Win2000
> system. There the mouse cursor and editor cursor is visible, even on a
> dark editor theme.
>
> See attached screenshot. In the sceenshot I switched to the
> solarize_dark.sdef included in the MSEide repo. It was rather hard to
> take a screenshot, and unfortunately my timing was out, so the edit
> cursor was invisible. But as I mentioned, the edit cursor (blinking
> vertical line) is not a problem.

The caret is an XOR operation drawn by MSEgui.

> Only the "I" shaped mouse cursor is. 
>
MSEgui uses the default Windows pointer shape loaded 
by "windows.LoadCursor(0,IDC_IBEAM)". It seems that it is black only. Is this 
normal?

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


  1   2   3   4   5   6   7   8   9   10   >