Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-26 Thread fredvs
> There is application.queueasynccall() ...

Ha, ** VERY MUCH ** better. ;-)

---> No more underrun error, no scratch when opening dialog files, no
scratch when switching float<>tab or opening/closing forms.

Synchronization: perfect. (maybe even better than fpc-queue()).

OK, re-come back to {$DEFINE mse} when using uos (that was updated, of
course).

Well done Martin.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSE Canvas. (Answer from Martin)

2017-09-27 Thread fredvs
Ooops, your message did not appear in nabble.com --> here a copy:

On Tuesday 26 September 2017 15:05:21 fredvs wrote:
> Hello Martin.
>
> How to draw lines on a canvas with MSE ?
>
> For example,
> LCL: Canvas.Line(x,y, cx, cy)...
> fpGUI: Canvas.drawLine(x,y,cx,cy)...
>
See lib/common/graphics/msegraphics.pas tcanvas:
"
   procedure drawline(const startpoint,endpoint: pointty;
const acolor: colorty = cl_default);
   procedure drawline(const startpoint: pointty; const length: sizety;
const acolor: colorty = cl_default);
   procedure drawlinesegments(const apoints: array of segmentty;
 const acolor: colorty = cl_default);

   procedure drawlines(const apoints: array of pointty;
   const aclosed: boolean = false;
   const acolor: colorty = cl_default;
  const first: integer = 0; const acount: integer = -1);
overload;
   //-1 = all
   procedure drawlines(const apoints: array of pointty;
   const abreaks: array of integer; //ascending order
   const aclosed: boolean = false;
   const acolor: colorty = cl_default;
  const first: integer = 0; const acount: integer = -1);
overload;

   procedure drawvect(const startpoint: pointty; 
   const direction: graphicdirectionty;
   const length: integer; const acolor: colorty =
cl_default);
   overload;
   procedure drawvect(const startpoint: pointty;
  const direction: graphicdirectionty;
  const length: integer; out endpoint: pointty;
  const acolor: colorty = cl_default); overload;
"
> Does it exist a demo of some use of MSE canvas/draw lines ?
>
http://freepascal.ru/article/mse/20060205191314/
"mp()" is a shorthand of "makepoint()", ms() of makesize().

> Would it be possible to draw on the canvas of a TSlider.scrollbar.face ?
> This to draw the wave-form of a song as background of a slider.
>
Activate tslider.scrollbar.face, select a tfacecomp in template and use 
tfacecomp.onafterpaint.
"
procedure tmainfo.faceafterpaint(const sender: tcustomface;
   const canvas: tcanvas; const arect: rectty);
begin
 canvas.drawline(arect.pos,ms(arect.cx-1,arect.cy-1),cl_red);
 //ms is shorthand for makesize
end;
"
Needs MSEgui git master 49a6c90d8643b5b01b6ea3c3a31ecaebf564cd56 because of
a 
regression.



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-27 Thread fredvs
Hello Martin.

OK. (but a bit tricky...).

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-09-27 Thread fredvs
Hello Martin.

Works perfectly.

Thanks.

PS: Demo asap.



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Extended Tfilelistview.

2017-10-10 Thread fredvs
Hello Martin.

I have excellent result with this:

var
x : integer;
datalist_files : tfiledatalist;
begin

datalist_files := tfiledatalist.create();

// This does not work --->
// datalist_files.mask := '"*.mp3" "*.wav" "*.ogg" "*.flac"';

datalist_files.adddirectory('/home/fred/mp3/Home cookin',fil_ext1);

datalist_files.options := [flo_sortname,flo_sorttype];

demogrid.rowcount := datalist_files.count;

for x := 0 to datalist_files.count -1 do
begin
demogrid[0][x] := datalist_files.items[x].name;
demogrid[1][x] := fileext(datalist_files.items[x].name);
demogrid[2][x] := inttostr(datalist_files.items[x].extinfo1.size div 1000) +
' kb';
demogrid[3][x] :=
formatdatetime('-MM-DD',datalist_files.items[x].extinfo1.ctime);
end;

end;

See picture:
 

But how to apply a filter/mask ?

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-25 Thread fredvs
> What error? 

Very difficult to debug...

There is that error message: 
#1  6252 unknown "bpmdetect" 0x00412576 in fpc_dynarray_incr_ref ()

If setlength(thebuffer) is big (have to determinate how much) ,
length(thebuffer) = -1085102592571150095 !

And then the application crash with a big memory leak. ;-(

> The array size of 4*20 megabyte should be OK.

Ha, ok, then it is something else... 

Thanks.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-25 Thread fredvs
Hello.

Is there a maximum length for a array of cfloat?

I have problem with conversion of audio files into array of samples if
length of array is  > 20 megas. ;-(

Thanks.
.
Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-26 Thread fredvs
Hello.

Yep, I get it ;-)

To detect the BPM of a audio file, first that file must be converted into a
buffer of samples.

This is done by a other thread.

But, on my system, after decoding +- 1 mega, the conversion become slower.

I did use a pause(length_of_file div ratio) before to use the converted
buffer to get the BPM.

But pause(length_of_file div ratio) is not enough when the audio file > 1
mega and the buffer is not fully completed.

The trick was to use:

while not thread_terminated do pause(100);

That way, the buffer is completed before to use the GetBPM function.

And it works perfectly now ;-)

Sorry for the noise.

Thanks.

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-14 Thread fredvs
Hello Martin.

I did install last GhostBSD11.1-mate-amd64.

With this release, MSE works perfectly out of the box.

Sorry for the noise.

Fre;D

 



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Reactivate my project

2017-12-19 Thread fredvs
Thanks Graeme.

uos has {$DEFINE mse} in define.inc.

If you uncomment this when using uos in a MSEgui projet,  mseThread will be
used in place of fpc TThread, same for MSEtimers.

Here a MSE/uos project: https://github.com/fredvs/strumpract/releases/

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Wasn't a member of msegui mailing list anymore :(

2017-12-19 Thread fredvs
> Has it all the mails since the start of the list? 

Huh, it has all the mails sine you start MSE-nabble account (even those not
sent by nabble.com).

(Maybe you did not choose to add all the previous mails when you created
MSE-nabble account)

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSE and XLib. @Graeme

2017-11-06 Thread fredvs
Ooops.

Well seen Martin.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-11-01 Thread fredvs
> Why? A crash should not happen. 

Because the wrong value is still there (if not corrected).  And the mix is
done by a timer of 100 ms.  So when the mix occurs, each 0.1 second there is
a modal error message (no time to close it).  And finally it crash.

PS: All works like wanted with the tuned spinedit.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] display images

2017-11-01 Thread fredvs
Hello Martin.

I battle hard with id3 tag. (http://id3.org/Home)

id3 version 2 is in the pocket >

var
   BufferTag: array[1..128] of char; 
F: file; 

 begin
 AssignFile(F, '/test.mp3'); 

  Reset(F, 1); 
   Seek(F, FileSize(F) - 128); 
   BlockRead(F, BufferTag, SizeOf(BufferTag)); 
  
 CloseFile(F); 
 writeln('tag : ' + copy(BufferTag, 1, 3)); 
 writeln('title : ' + copy(BufferTag, 4, 30)); 
 writeln('artist : ' + copy(BufferTag, 34, 30)); 
 writeln('album : ' + copy(BufferTag, 64, 30)); 
 writeln('date : ' + copy(BufferTag, 94, 4));
 writeln('comment : ' + copy(BufferTag, 98, 30)); 
 writeln('genre : ' + inttostr(ord(BufferTag[128])));

end;

Now time for something not so easy... ---> id3 version 3 and his image tag.

I have already something.

But how could I show those picture data with MSE?
If I have a buffer filled with picture data (png or jpg), how to use that
buffer to show the image ?

Thanks.

PS: If somebody has already deal with id3v3 image tag, any advice is more
than welcome.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] display images

2017-11-02 Thread fredvs
> I use ID3Lib from this web site: www.muetze1.de. 

Ha, I do not know this one.
I will try it,  many thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-11-02 Thread fredvs
> We should fix bugs not circumvent them.

Ok, I will do a test program to show the problem.

But ASAP (sorry I a m overbooked).

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSE and XLib. @Graeme

2017-11-06 Thread fredvs
Sorry, I cannot resist.

>From Ubuntu 17.4 and child ( Mint, etc, ... ) -->

$ sudo apt-get install libX11-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package libX11-dev

$ sudo apt-get install libXft-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package libXft-dev



Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-12 Thread fredvs
Hello Martin.

I get a error message when trying to run mseide (or other msegui apps) on
GhostBSD Mate 64 (http://www.ghostbsd.org):

---> mseide: Undefined symbol "ppoll" ---> then the application stops.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-12-12 Thread fredvs
Hello.

StrumPract 1.6.0 is released !

StrumPract is various tools for musicians.

Like:

Learn to play drums set in 4 lessons and develop your art.
Practice your other instruments with a editable drums machine.
Tune your guitar and bass.
Play audio files and loop it.
Find the BPM of a song and synchronize it with the Drums set.
DJ console for auto-mixing, with 2 players and direct-output of mic.
Record your ideas-jam.

And much more...

Binaries for Linux 64/32, Windows 64/32, ARM-Rpi 32 and FreeBSD 64 are here:

https://github.com/fredvs/strumpract/releases/

Have fun.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-12 Thread fredvs
> Works for me on FreeBSD 11.0

Yes, for me too on a "Pure X" FreeBSD OS.

> Do you really need it?

Me no, but maybe other people use GhostBSD.
And if for you it is only a $ifdef to add somewhere  ;-)

But, ok, forget about it.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> Please set "valuemax" to a very big value instead. 

Ok, valuemax = 99 and valuemin = '' .

Now, if for example 200 is entered ---> reset to 100.
And if  value = '' or < 0 --> reset to 0.

Perfect.

Huh, for the totally dummies, is it possible to do a filter if a character
is entered in place of a number or '' ?

(This to prevent error messages).

Thanks.



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-31 Thread fredvs
> It can be closed by pressing "Enter".

Yes, but for lazy people (like me) it is lot of work to press a key.  ;-)

Also, because the message-form is modal, if a process is running that needs
to access value of the spinedit, it can make trouble if the message-form was
not closed.

Also, in the case of StrumPract, if auto-mix is on, if a not valid value is
entered (and not auto-corrected), it can crash the program when the mix
occurs.

All that to say that with MSErealspinedit and all his features, I have all
to do like I want.

Perfect.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-31 Thread fredvs
>  It contradicts the value entry philosophy of MSEgui.

Hello Martin.

OK, I I have kept the philosophy of MSEgui.

But I did change only one thing: in place of a modal error-message (that
need to manually be closed), I use a hint-timed-form (that closes it-self
after 2 seconds).  And to avoid crash, the wrong value is corrected (it is
commented in the hint-timed-form) .

https://github.com/fredvs/strumpract/releases/tag/1.5.3

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> It contradicts the value entry philosophy of MSEgui

OK, I understand but maybe it could be good, if for example a new value >
valuemax is entered, that a error range message is displayed (like MSE do
now) but after the old value before changing is restored.

For example if you assign:

valuemax := 100
valuemin := 0
value := 50

And a user enter a new value --> 200.
It will be a error range and after closing the error message, the new value
(here 200) will be still in the edit-frame.

IMHO, I would prefer to restore the old value (here 50) after the error
message.

Or maybe restore the defaultvalue in place of the old one

My 0.0009 cents..

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> Press Esc in order to restore the previous value.

Ha, good to know (and to add to the hint text of a spinedit).

Perfect Martin.

(But I think that I will use "ontextedited" to check-correct value and a
kind of timed-hint-message-self-closed-form to explain the error value
entered).

Many thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Chinese characters

2018-05-06 Thread fredvs
Hello.

> Still no success with registering at SorceForge mseide-msegui-talk?

You may also register via ==>

http://mseide-msegui-talk.13964.n8.nabble.com

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-06 Thread fredvs
Hello Martin.

>  objectinspectorfo.activate;  <<--! 

Wow you are really **too** strong.

And I have to install a alarm on my pc, there are trolls that add buggy code
when I am not there.

Sincerely, I do not remember when/why I did add those bug. 

 I am very happy that the mistery is gone.

And, of course, thanks to You.

OK, original MSE code used and that strangely added bug deleted.
Works like charm now.

**Many** thanks for your patience Martin.

Fre;D








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-06 Thread fredvs
>Mint people did not react to my questions and bug reports so I gave up on 
> Mint. Would you like to take over the task? 

Yes, of course.
What may I do '?

(And they will see how boring I can be !).

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs @Linux Mint users

2018-06-11 Thread fredvs
Hello Martin.

I do not like that pretentious and stupid JosephMcc

The good news is that I will use a other Linux distro.

What do you recommend?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs @Linux Mint users

2018-06-11 Thread fredvs
>  If you want that MSEide+MSEgui works optimal on your distribution you must
become active yourself. 

If I'm still active for Mint it will be to persuade people to not use it.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs

2018-06-10 Thread fredvs
> You should still check if the Z-order problems.

Ok, I will do asap.

Huh, maybe 2 big fish that will correct their bugs (Mint + Fedora).
I cross my fingers.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-10 Thread fredvs
 https://github.com/linuxmint/Cinnamon/issues/7622#issuecomment-395513360

Was I boring enough ?

;-)

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-08 Thread fredvs
Hello Martin.

https://github.com/linuxmint/Cinnamon/issues/7622#issuecomment-395513360

Aaaargh, indeed they are boring too.

They want that a template is filled, not sure how to fill it:

```
 * Cinnamon version (cinnamon --version)
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Graphics hardware *and* driver used
 * 32 or 64 bit
 ```

**Issue**



**Steps to reproduce**



**Expected behaviour**



**Other information**


Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-07 Thread fredvs
Hello Martin.

And reporting to Github issues ?

https://github.com/linuxmint

Maybe I can open one there ?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-07 Thread fredvs
Hello Martin.

https://github.com/mate-desktop/mate-panel/issues/815

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-07 Thread fredvs
And this:

https://forums.linuxmint.com/viewtopic.php?f=206=270731

;-)

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs

2018-06-14 Thread fredvs
IMHO, like you Julio, I think it is hopeless.

Martin, do you remember the  "soname" bug in fpc ?
How many posts did we sent in fpc-mailinglist?

The problem with gurus is that it is impossible for them to recognize a
error or that they do not understand the issue.

Did you remember that in fpc-bug-tracker, for that "soname" bug, even
Florian agreed to fix it?
But marcov, the Big guru refuse to fix it (because so he must agree that he
was wrong).

The same appends for me in FreeBSD forum.
All the proves were there (that the multi-arch design of FreeBSD is
incompatible with their linker+garbage manager).

Those people does not want to read your explanation because they could note
that they are wrong.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs

2018-06-14 Thread fredvs
> I am sure Mint team has people who can read.

I am sure the way Mint team treat us is **totally** scandalous.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Updated spanish translation

2018-06-18 Thread fredvs
>  already changed the order,

Ooops, ok, sorry.

Included updated file.

mseconsts_fr.zip
  

Fre;D 



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Updated spanish translation

2018-06-18 Thread fredvs
> French translation is also affected by this issue.

Attached up to date French translation.

Fre;D

mseconsts_fr.zip
  



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs @Linux Mint users

2018-06-12 Thread fredvs
> I becomes even more strange: 

It is hopeless.

Sorry for bothering you with that buggy-stupid-closed-mind project.

What distresses me most is that I had chosen that studid distro like the
majority of Linux users.

But, yes the majority is stupid.

Huh, may I ask you what is your favorite Linux distro?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs

2018-06-13 Thread fredvs
> What could be done? 

I will (try to) ask to distros-test sites (like distrowatch.com) to also
test if a distro is ICCCM compatible.

Martin, you did add some test-programs, does one test if the system uses
ICCCM recommended methods ?
This to help those distros-test sites to do their own test+result.

IMHO, a label like "This distro is conform with ICCCM" should be very useful
for people that choose a Linux + Xorg distro.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Mint window manager bugs @Linux Mint users

2018-06-11 Thread fredvs
https://github.com/linuxmint/Cinnamon/issues/7641

Ha it is a "design decision"...

Sorry, I cannot be more boring, they are too stupid.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread fredvs
> In order to set the scrollbar positions set container.frame.scrollpos. 

Huh, not too easy for me to understand.

container.frame.scrollpos.x := container.frame.scrollpos.x + 100;
 
==> Error: Argument cannot be assigned to

container.frame.scrollpos_x := container.frame.scrollpos_x + 100;;

==> Compiles but does work only once.

>Maybe it is already at 100% after the first call?

No, only 20 %. 

Sorry, I do not understand how scrollpos works.

For example, if a Tslider.width = 16 * parent_form.width, how to jump to the
3th page (if each page = 1 form.width) using the scrollbar by code ?

> container.clampinview(); 

Ha, thanks. (But what is this ?).
OK, exploration in view,..

;-)

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-09 Thread fredvs
> > Sincerely, I do not remember when/why I did add those bug. 

Yes, after more concentration I did remember why.

In the past, when using docked forms into main form, the focus of Object
instector was loosed.

But it was fixed (but did not know) in 2016.

By the way, that Esc feature makes life easier.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-30 Thread fredvs
Re-hello.

Here a video showing the scrollbar that does not appear with a TDockForm.

At begin of video, you may see that with a  TMainForm it works perfectly.

msedockform_scroll.mp4
  

Of course checking StrumPract code is a joke but maybe you have a idea where
I have to look for that hidden scrollbar.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-30 Thread fredvs
> You are joking? 

Huh, yes.

Ok, changing

tdockpanel1fo = class(tdockpanelform)

with 

tdockpanel1fo = class(tdockform)

Fixes the "1" auto-added for title-form.

There is still a problem with vertical scrollbar that will not appear if the
height of container > height of dockform .

(And this is not a joke).

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-31 Thread fredvs
Hello.

OK, I did follow your order:

1) Create a simple demo.
2) OK, it works out of the box  (==> Aaargh).
3) Delete the files of extra-dockform in StrumPract.
4) Re-create those extra-dockform from scratch + paste older-code.
5) Run it and... now perfect, out-of-the-box...!
6) ;-)

msedockform_scroll_ok.mp4

  

Ok, solved.
But yes, strange things appear those days, maybe it is related with this...

By the way, is it possible to hide the "Maximize" icon of a form and not
permite to maximize a form while 2Xclick on the title-bar ?

Thanks.

Fre;D








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-29 Thread fredvs
Hello Martin.

OK, I get the active form in tab with basedock.dragdock.activewidget and if
a tab is changed with the form.onshow of the activewidget,

All works perfectly.

But, when a tab is changed, the title of the the tdockpanelform is changed
for "1".
How to keep the original assigned title (not this automatic change) ?

Thanks.



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-30 Thread fredvs
> Please send a simple testprogram which shows the problem. 


Hello.

Here video of a test program (not ready to show the code).

msedockpanel_title.mp4
  

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-30 Thread fredvs
> Then I'll wait for the simple test case. It is better than guessing. 

OK, here a very simple test case (review the video to reproduce the thing):

https://github.com/fredvs/strumpract


Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-03 Thread fredvs
Hello Martin.

> Please do not set traces.count to 20

Ha, ok. I did use:

  tchart.traces.count := 20;
  tchart.traces.maxcount :=  tchart.traces.count + 1;

And with this I get a perfect result.

 

But, ok, I will study your code.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-03 Thread fredvs
> That would be a bug. How to reproduce? 

1) Create a new project.
2) On the form, add a Tgroupbox with same size as the form.
3) On that Tgroupbox add a other Tgroupbox with same size as the parent.
4) Try to access the form with Esc + Clck...

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-03 Thread fredvs
> Set traces.xserrange to 0.9, xserstart to 0.05. Set traces[0].offset to -10

Ooops, I have to buy a bigger cristal ball because mine did not show that.

OK but very tricky.

( Would it be a horrible crime to use:
  tchart.traces.count := 20; 
  tchart.traces.maxcount :=  tchart.traces.count + 1; )

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-03 Thread fredvs
> I think there should not be more controls if not absolutely necessary.

Maybe.

Did you note that Esc + Click works only for 1 parent ?
If that parent is child of a other parent, that root parent cannot be
accessible.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-04 Thread fredvs
Hello.

> Please send a simple testcase if it does not work for you. 

msemem.zip
  

Click on tchartleft or tchartright, for me even with Esc, the mainfo can not
be accessed.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-04 Thread fredvs
Hello.

What I do:

- Click on playleft (tgroupbox) ---> OK, playleft is selected.
- Press Esc, then maintaining Esc pressed, click again on playleft ---> OK,
spectrumgroup (tgroupbox) is selected.
- Still with Esc pressed (not released), click again on playleft  > 
playleft is selected back (not mainfo).
- Still with Esc pressed (not released), click again on playleft  >  OK,
spectrumgroup is selected.
- Still with Esc pressed (not released), click again on playleft  > 
playleft is selected back (not mainfo).
- Still with Esc pressed (not released), click again on playleft  >  OK,
spectrumgroup is selected.
- Etc ---> Only switch between playleft and spectrumgroup (no mainfo
selected)

Maybe I miss something (or Mint is once again guilty).

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-04 Thread fredvs
Re-hello.

Huh, in my system, it works if... you use the right-button click + Esc...

OK, solved. (but strange that mix of button by system).

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Form accessible via form-designer ?

2018-05-31 Thread fredvs
Hello Martin.

In MSEFormDesigner, when a form is covered, for example by a tdockpanel, the
Object inspector cannot be accessed via the form designer-click-on-widget.

It must be done with the list in Object inspector.

The same for each widget that accept childs.

Would it be not good to have the possibility to add a icon on the form, like
for NoGui widgets?
While clicking one those icon, it will select in Object inspector the
correspondent widget, like when clicking on that widget. 

Of course that "Show Parent-icons in Form Designer" could be optional.

 

What do you think?

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-31 Thread fredvs
Hello Martin.

As workaround, here a way to hide the maximize button and not maximize if
2xclick on menubar:

procedure tmainfo.updatelayout();
begin

bounds_cxmax:= 0;
bounds_cxmin:= 0;
bounds_cymax:= 0;
bounds_cymin:= 0;

... // do the resize things if needed...

bounds_cxmax:= bounds_cx;
bounds_cxmin:= bounds_cx;
bounds_cymax:= bounds_cy;
bounds_cymin:= bounds_cy;
end;

 

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-06-01 Thread fredvs
> That means that your window manager hides the maximize button only if
cxmin, cxmax, cymin and cymax are set?

Yes, exactly. 

> Looks suboptimal to me

For me too, what has cxmin/cymin to do with maximization...?

My Linux system is last Mint 18 (and his own window manager).

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-01 Thread fredvs
> Please press the Esc-key until the wanted parent widget is selected. 

... Click + Esc... wow yes, indeed it works.

(But I still believe that a icon is faster and easier).

OK, I will try to do it myself (advices are welcome where to look in code).

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-01 Thread fredvs
Hello Martin.

I am a little afraid about the resource used by tprogressbar.

Included a simple demo to show it.
msemem.zip
  

The tprogressbar.value is assigned by a timer with a random value:

When rendering the tprogressbar: cpu used = 70 %.

 

Without rendering the tprogressbar, cpu used = 28 %.

 

Is there a other-less-resource-used way to mimic a  tprogressbar ?
Do you think that drawing on a custom canvas would need less resource ?

Thanks.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-02 Thread fredvs
Hello Martin.

Ok, I did test Tchart vs TProgressbar.

My verdict is:

- If TProgressbar does not have fading and frame is original (not use a
template) and not = nil (only a "pure" ) then the ressource
used by 20 TProgressbars is more or less equal than ressource used by 1
TChart of 20 bars.

- If TProgressbar use fading or frame is custom ===> much more ressource
used than a Tchart.

Some questions:

What is mwcnoise() / flo64($) ?
Is it a alternative to random() ?

Is it possible to have a TChart with only verticals bars (not linked like in
demo) that mimic a TProgressbar ?

Here updated demo that uses both TProgressbar and/or Tchart.

msemem.zip
  

Thanks.

Fre;D







--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-02 Thread fredvs
Hello Marin.

How to fit all the bars in a TChart ?

On the picture, you may see that last bar is missing.
Changing for bigger tchart.width did not solve.

 

Included demo of this.

msemem.zip
  

Thanks.

Fre;D

PS: Indeed, Tchart uses less resource.




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-02 Thread fredvs
> Is it possible to have a TChart with only verticals bars (not linked like
in 
> demo) that mimic a TProgressbar ? 

Ha, ok, ---> charkind := tck_bar.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
> Don't have your beloved JWM at hand? 

Only for FreeBSD.
But ok, I will test it on FreeBSD asap.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
Hello Martin.

>Steps are: 

>LeftClick "tchartleft". 
>Press ESC-Key. 
>Release ESC-Key. 
>Press ESC-Key. 
>Release ESC-Key. 
>Press ESC-Key. 
>Release ESC-Key. 

I am totally sorry but on my Linux Mint 64 it does not work.

LeftClick "tchartleft".  ---> OK, tchartleft selected.
Press ESC-Key.  (with left button maintened)--> OK, playleft selected.
Release ESC-Key. ---> nothing appends
Press ESc-key  ---> nothing appends

> or
>LeftClick "tchartleft". 
>Release LeftButton. 
>Press ESC-Key. 
>Release ESC-Key. 
>Press ESC-Key. 
>Release ESC-Key. 
>Press ESC-Key. 
>Release ESC-Key. 

LeftClick "tchartleft".  ---> OK, tchartleft selected.
Release LeftButton. --> OK, tchartleft still selected.
Press ESC-Key.  ---> nothing appends
Release ESC-Key. ---> nothing appends
Press ESc-key  ---> nothing appends

;-(

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
Hello Martin.

> AFAIK Mint uses forks of Gnome2 and Gnome3 as window managers which have
> very bad quality.

Yes, I know that Mint is not the best.
But, according to https://distrowatch.com, Mint is still the most popular
Linux distro.

IMHO, you should install it and test/adapt MSEgui for it.

My 0.1 cent, of course.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
Hello Martin.

> Do you use the original MSEide? 

Aaaargh.

Indeed, with original MSEide it works with left button.

I have to check ideU code.

Very, very, very sorry for the noise.

(And if you are not too angry, maybe you could give light where is code for
this).

Once again: sorry.

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
> Do you use the original MSEide? 

No, it is with ideU (but form-designer and all MSEgui-manager-things are the
same as last MSEide commits).

OK, I will test with last MSEide.

Write you later.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
Hello Martin.

> Does your window manager "eat" Esc-keys?
Huh, what is "eat" Esc keys ?

> What if you use another window manager? 
Sorry, I do not have any other window manager installed (and no energy to
install a other now).

That said, using right-button + Esc key works like charm and for me, that
way it is perfect.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
Hello Martin.

OK, I get it.

msedesigner_esc.mp4
  

There is only one bemol.

It is that I have to add a line in original formdesigner.pas.

In proc designkeyevent(), at line 3964, 
...
selectcomponent(comp1); 
  
activate; // this added

Otherwise, it is the Object Inspector that is focused and pressing Esc has
no effect.

With activate, the designerform has focus again and Esc works.

I would highly prefer to not touch to anything about
MSEFormDesigner/ObjectInspector/Components and always use the original but
here, I fall.

Or maybe for you adding "activate ;" at line 3964 in original code would not
be too painful...
formdesigner.zip
  

(But why the designerform-focus in loosed in ideU is a mystery).

That said, big Wow for this Esc feature (and of course the icon-parent-idea
has no interest any more).

Thanks.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-05 Thread fredvs
> Works for me. Maybe there is another bug? 

Yes, I know that it works with MSEide.

But what I do not understand is that using the same original
formdesigner.pas/objectinspector.pas and their dependencies works different
with ideU.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 accessible via form-designer ?

2018-06-07 Thread fredvs
> It has been fixed in the mean time in Gnome 3:
> and should be fixed in Cinnamon and Mate too.

Not sure to get it.
Do you mean that the bug is fixed for  Gnome 3, Cinnamon and Mate ?

If yes, it should be fixed for Mint too because Mint uses Mate or Cinnamon.

> I tried to submit Mint bug reports but got no reaction from Mint people.
Do you remember the bug reports you did, can you give a link of this ?

Thanks.

Fre;D







--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] OnTabChanged ?

2018-05-29 Thread fredvs
Hello Martin.

On a tabbed form (currentsplitdir = sd_tabed) how to know that a other tab
(form) was selected ?

How to know what active form (=tab) is active ?

Is tdockpanelform the good choice for extra-dock panels?
 ( if you remember the StrumPract main form, I want to have others
dock-forms that have the same behaviour that the main-form ===> auto-height
when dragging a new form into the dockpanel and auto-height when the
dockpanel is tabbed and a other tab is selected.)

I was able to get the same behaviour as mainform of StrumPract for
extra-dockpanels with .currentsplitdir = sd_horz but with currentsplitdir =
sd_tabed the auto-height is not working.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Tprogressbar and resource used ?

2018-06-01 Thread fredvs
Hello Martin.

> Removing the fades probably also speeds up things. 

Yes, it is what I want to show you.
Removing the fades makes use only 35 % of resource.


 

But I will study your answer, write you later.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-31 Thread fredvs
> You can try to set .bounds_cxmax/bounds_cymax. 

Yes, of course it set like this.
But maximize button is still visible and 2xclik on the titlebar maximize it.

Maybe is it possible with MSE to have forms without any title-bar ? 

Setting



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] OnTabChanged ?

2018-05-31 Thread fredvs
Ooops,it was snipped...

Maybe, is it possible with MSE to have forms without any title-bar ? 

And then create a virtual title-bar with only system+minimize icon.
And set the position of menu-panel in bottom of that virtual title-bar ?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread fredvs
Hello Martin.

OK, capito the use of to_single.  Thanks for the light.

> Without to_single it will be triggered repetitive after setting
> ttimer.enabled to true

> don't touch ttimer.enabled in ttimer.ontimer. 

OK.

But how do you do for something like this:

procedure ttimer.ontimer();
begin
if all_is_ok then dothis_and_continuetimer()
else dothat_and_stoptimer();
end;

?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] windows

2018-06-23 Thread fredvs
>  IIRC as long there is a frame there also is a close button on allwindow
managers I know. 

There is a window without any frame in fpGUI.




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] windows

2018-06-23 Thread fredvs
> There is a window without any frame in fpGUI. 

 



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread fredvs
> setting ttimer.enabled to false in dothat_and_stoptimer() is OK. 

Hum,...

Why not directly in ttimer.ontimer() ?

 procedure ttimer.ontimer(); 
 begin 
 if all_is_ok then dothis_and_continuetimer() 
 else ttimer.enabled := false;
 end; 
 
This question because of:
> don't touch ttimer.enabled in ttimer.ontimer. 

?



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] StrumPract is released !

2018-06-24 Thread fredvs
Hello. 

StrumPract 1.7.0 is released ! 

StrumPract is various tools for musicians. 

Like: 

Learn to play drums set in 4 lessons and develop your art. 
Practice your other instruments with a editable drums machine. 
Tune your guitar and bass. 
Play audio files and loop it. 
Find the BPM of a song and synchronize it with the Drums set. 
DJ console for auto-mixing, with 2 players and direct-output of mic. 
Record your ideas-jam. 

And much more... 

Added in this release:
- DJ and Jam layout.
- Better BPM detector.
- Better Drums synchronization.
- Zoom for wave forms. 
- Frequencies spectrum.

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strmpract_dj.png> 

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strmpract_jam.png> 

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strmpract_dockall.png> 

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strmpract_floatall.png> 

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strmpract_taball.png> 

Binaries for Linux 64/32, Windows 64/32, ARM-Rpi 32 and FreeBSD 64 are here: 

https://github.com/fredvs/strumpract/releases/

Have fun. 

Fre;D 




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] How to use form-scrollbars ?

2018-06-19 Thread fredvs
Hello Martin.

Sorry, I do not understand the goal of clampinview.

Now about container.frame.sbhorz.pageup/pagedown.

With a simple demo-test it works.
This demo use the same waveform.pas than a other more complicated project. 

See attachment and video.

msescrolltest.zip
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrolltest.zip>  
msescrollpage_alone.mp4
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrollpage_alone.mp4> 
 

But inside a more complicated project, with same code, it does not work.

See video.
msescrollpage_strum.mp4
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrollpage_strum.mp4> 
 

The menu-items Up/Down to scroll use this:
(waveform.pas, line 239)

procedure twavefo.pageup(const sender: TObject);
begin
 container.frame.sbhorz.pageup ; 
end;

procedure twavefo.pagedown(const sender: TObject);
begin
container.frame.sbhorz.pagedown ;
end;

And there is no call to wavefo from outside, nor any timer working.
But you may see in video that scrolling by code works only once in
StrumPract.

https://github.com/fredvs/strumpract

;-(

Do you have a idea what is wrong ?

:-)

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] display images

2017-10-27 Thread fredvs
Hello.

Can MSE display animated png ?

https://en.wikipedia.org/wiki/APNG

This because mp3 picture-tag can only deal with png or jpg images.
(And because no mp3 player exists that can render animated png pictures).

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-24 Thread fredvs
Hello Martin.

What about link MSE assistive with Image Recognition Software ?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-25 Thread fredvs
> What application are you thinking about? 

Google has something: Google Image Recognition.  But not sure it can be used
for assistive.

There is also Amazon Rekognition.

But I have to agree that I did not test those api-app of images recognition.

Fre;D

PS:  Maybe, to be ready, add a "recognition" or "description" property for
images

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-11 Thread fredvs
http://forum.lazarus.freepascal.org/index.php/topic,39632.msg272694/topicseen.html

---> WoW



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TrayWidget - popup is not showing if tray has frame

2018-01-03 Thread fredvs
If I may...

Since MSE has now also a huge assistive interface (and also because no other
has it), I am not so sure that a MSE Window Manager would be "a one more
Window Manager" like you said, Martin, a few years ago,

JWM (Joe Window Manager) has accepted in his to become assistive but... no
movement...

--> https://github.com/joewing/jwm/issues/331

And I am not talking about the tray-icons problems with lot of Window
Manager.

...

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-10 Thread fredvs
> It goes as scheduled. Next task is finishing modular compilation.

Super. 

> I must finish another project including TAssistiveHandler.

Perfect.

Thanks.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] MSElang news.

2018-01-10 Thread fredvs
Hello Martin.

Do you have some news about MSElang project ?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Some change in mseconst.pas...

2018-01-15 Thread fredvs
Hello Martin.

May I propose to  change some values in mseconst.pas ?

If yes, here what I use:

en_modalresulttext: defaultmodalresulttextty = (...
'Y all' (vs All), ...)

en_modalresulttextnoshortcut: defaultmodalresulttextty =
'Yes all' (vs All), ...)

Included  mseconst.pas modified.

mseconsts.gz
  

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Updated mseconst_es unit

2018-01-16 Thread fredvs
Hello Martin.

Included updated mseconst_fr.pas.

mseconsts_fr.gz
  

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Updated mseconst_es unit

2018-01-17 Thread fredvs
> mr_yesall is missing, please do a git pull first. 

Ooops, sorry.

Done.

mseconsts_fr.gz
  

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-21 Thread fredvs
Hello Martin.

Sorry for that question, but internet did not help me to  find a answer.

Does a program compiled by a lid of LLVM family need special libraries to
run ?
Or must a LLVM system be installed (like Java or Python do) ?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-24 Thread fredvs
> since fpc llvm backend has been abandoned (seems likely)

http://wiki.lazarus.freepascal.org/LLVM



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-25 Thread fredvs
> so the situation is clear 

Hum, +-, Florian did a commit 3 weeks ago.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Cross compile from Intel 64 Linux to ARM 64 Linux ?

2018-01-30 Thread fredvs
Hello Martin.

The combat was hard but I win the war ;)

It works, Pascal code + fpc = Android native library that works.

For the people that are interested here how to do:

1) Use the Java arguments for all your exported methods like this (2 first
parameters):

procedure MyAndroidProc(PEnv: PJNIEnv; Obj: JObject); cdecl;   
begin
// do something
end;

2) Export your method using that name (maybe it is possible to change this
in Java calling class but that way it works):

 MyAndroidProc name 'Java_nameoftheJavaApplication_MyAndroidProc';

3) Compile your library with -Parm (for 32 bit) and -Tandroid parameters.

4) In your Android Studio project, create 2 directories and add your library
into it : 
- nameoftheJavaApplication/app/src/main/jniLibs/armeabi and 
- nameoftheJavaApplication/app/src/main/jniLibs/armeabi-v7a

5) In Java code android, add this code to force Android to compile only 32
bit application (fpc + android64 is not yet ready)

android {

defaultConfig {

ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
}

6) Create a Java class with all the exported method of your library
(header).

7) In your main Java class, load the library with LoadLibrary().

8) Compile your apk application, transfer it to your Android mobile (with
Android Studio).

9) Enjoy.


Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Cross compile from Intel 64 Linux to ARM 64 Linux ?

2018-01-29 Thread fredvs
> Which compiler? 

FPC (or MSElang, of course).

OK, the people of CodeTyphon did a excellent work.
Their Cross tool chain work perfectly:

Target OS (-T) ---> Linux
Target CPU (-P) family ---> aarch64

OK, it works for cross-compiling Intel64 --> ARM64.

Target OS (-T) ---> Linux
Target CPU (-P) family ---> aarch64

Just needed to add this ARM64 libraries in the host os lib-search-path:
ld-linux-aarch64.so.1, libc.so, libdl.so and libpthread.so.

Then, with the help of the CT cross-chains, it compiles and works like
charm.

But this Java library works only on "pure" Linux ARM64 system.

For a Android ARM64 system, while trying to load the library, there is that
error:

java.lang.UnsatisfiedLinkError: dlopen failed: library
"ld-linux-aarch64.so.1" not found

So Android seems to not have ld-linux-aarch64.so.1 installed by default.

And even adding that library in the myproject.apk library folder did not
help.
(I do use Android Studio --> WoW).

The good news is that the ELF of FPC-Java-library is recognized and accepted
by Android.

The not so good news is that Android seems to use a other loaded than
ld-linux-aarch64.so.1.

So I did try with this parameters in FPC:

Target OS (-T) ---> -android
Target CPU (-P) family ---> aarch64

But when trying to compile with FPC there is that error:

Error: Illegal parameter: -Tandroid

So, to resume:

fpc -Tandroid -Parm ==> Compiles ok

fpc -Tandroid -Paarch64 ==> Compiles NOT ok ==> Error: Illegal parameter:
-Tandroid

Maybe fpc -Tandroid -Paarch64 is not ready yet...

PS: All advices how to create with FPC (or MSElang ) a Android native
library is welcome.

Fre;D





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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   >