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

2017-08-16 Thread fredvs
Hello Wkitty. Many thanks for your clear explanation in fpc-forum. > the thing that keep me using fpc till now is mseide/msegui Ha, I see that you have good taste so I will try imgui. By the way, thanks for the many times you help me in Lazarus forum. Fre;D -- View this message in

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

2017-08-16 Thread fredvs
Hello Graeme. OK, understood that libX11.so is needed for linking against that library. But ( aaargh, I am unbearable), is it really needed to link libX11.so ? Could fpc do like it does for libc, consider libX11 as a "coomon" library and only load it (without to link it) ? And that way, spare

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

2017-08-16 Thread fredvs
> As I mentioned in a private message, the unversioned symlink shared library files are only needed during linking time (ie: when you compile your program). Huh, I was asking if the fact of linking was absolutely necessary, not if the unversioned symlink was needed. > If you did want to change

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

2017-08-16 Thread fredvs
Re-re...-re hello. I profit that I am still not banned from mse mailing-list. (All development fora, when I ask things about linker --> or banned or insulted (FreeBSD, fpc, ...). If you develop from scratch, what are the advantages to link a library vs to load it dynamically ? Fre;D -- View

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

2017-08-14 Thread fredvs
Ooops, in previous mail, please read: libc-dev and his link libc.so. Fre;D -- View this message in context: http://mseide-msegui-talk.13964.n8.nabble.com/MSEide-MSEgui-talk-MSE-and-XLib-tp5p13.html Sent from the mseide-msegui-talk mailing list archive at Nabble.com.

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

2017-08-15 Thread fredvs
> reverted the changes. It is too dangerous and there must be forked too much > because of the various {$linklib} statements in FPC code Ha, ok ;-( I am very happy that fpc is twice the Project of the Month in Source Forge. (I voted too). There is also now a fpc donation, yep, they are rich

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

2017-08-16 Thread fredvs
Hello. I am not sure about the terminology but let'say: - Staticaly Linking = use libX11.so = store some data in ELF, more safe... - Dynamicaly Linking = use libX11.so.6 = more freedom, can use dynlib That said, both linkings have advantages. And I am not sure for libX11 that Staticaly

[MSEide-MSEgui-talk] MSE and LLVM

2017-08-18 Thread fredvs
Hello Martin. I am studding the feature of LLVM. FPC has a wiki for LLVM : http://wiki.freepascal.org/LLVM It seems that LLVM has many limitation vs FPC. Is it true ? Fre;D -- View this message in context: http://mseide-msegui-talk.13964.n8.nabble.com/MSE-and-LLVM-tp44.html Sent

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

2017-08-17 Thread fredvs
> A hypothetical example Huh, sorry, but what differs from the example that I post here and in fpc forum ? Fre;D -- View this message in context: http://mseide-msegui-talk.13964.n8.nabble.com/MSEide-MSEgui-talk-MSE-and-XLib-tp5p37.html Sent from the mseide-msegui-talk mailing list archive

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

2017-08-17 Thread fredvs
> It's not the compiler that decides that Yes, I know that, but it is fpc that gives the code of /packages/x11, it is what I wanted to say. > Nothing stops you from creating your own dynamic linking header. Indeed. Creating dynamic Pascal linking header is my specialty. ( See projects uos, sak,

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

2017-08-18 Thread fredvs
Hello. Now that everybody "finally understood", let's do a resume. The fpc code is perfect to show all the situations possible. In xlib.pp they assigned as soname: const libX11='X11'; So, like perfectly explained in Graemes's infos, the linker automaticaly add "lib" + ".so" So a libX11.so

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-14 Thread fredvs
> Better to use png instead jpg because of the needed pixel precision. Thanks for the tip. I noted too that with jpg, transparency does not appear like wanted. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-14 Thread fredvs
Hello Graeme. > JPG doesn't support transparency - period. Ok, noted for ever, I will forget jpg. ;-) By the way, compression of jpg is not way better than png: only few kb less. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
mit. Also with direct-wiring (to listen to the micro live, even without recording). https://github.com/fredvs/strumpract Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant te

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-14 Thread fredvs
> git master 90076e9113892e138c70356df70d9d4836d43233 has tgripframe.grip_hint. Perfect, many thanks. And Wow for the new layout of https://gitlab.com/mseide-msegui/mseide-msegui PS: I am back to earth next week. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] tdirdropdownedit with statfile (was strumpract)

2017-09-18 Thread fredvs
>> On my system -Dir- (tdirdropdownedit) appears with the list of directory, like if it was selected. > Please try again with git master a26cde4dd6fd0d15c94c1e5ce0919d4baf7ef683 Perfect, fixed, many thanks. Sorry but there s something else ;-(. When main form is "scrolled" using the

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

2017-09-16 Thread fredvs
> Probably the only argument Free Pascal people will accept. ;-) Some wind says me that Code Typhon is busy to integrate Martin's patch into next CT 6.4 release. They are busy to test it on all their systems. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-16 Thread fredvs
>> I have to check why I did add that file into ideU/src/, at the moment I do >> not remember why. >https://www.mail-archive.com/mseide-msegui-talk%40lists.sourceforge.net/msg11434.html Huh, this mail was about StrumPract and Tslider, not about ideU project (that does not uses, afaik, any

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to > be a memory error somewhere. in uos code line 2878: for x := 0 to (Data.OutFrames div ratio) do ... Must be: for x := 0 to (Data.OutFrames div ratio) -1 do ... Many thanks Martin and Heaptrace. ;-) And for the

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> The problem is the negative shifts in mainfo.container.frame OK, removed that rounded "global" frames. (that was not nice in fact). Now, scrolling main form is perfect. Well, MSE dock was hardly and deeply tested. Verdict: There are no limit. Time to create now. Many thanks and wow

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-18 Thread fredvs
> AFAIK heaptrace can not work with cmem. Aaargh, indeed, with cmem and using float 32 resolution: Heap dump by heaptrc unit 0 memory blocks allocated : 0/0 0 memory blocks freed : 0/0 0 unfreed memory blocks : 0 True heap size : 0 True free heap : 0 Here without cmem and float 32

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-16 Thread fredvs
> Sorry but this is too simple for me. Not so simple ;-( OK, to give the position in label (not change the position of song) while moving the trackbar + button still clicked. But I would like, when the button is released, that the position of the song changes on that new value (uos_seek()).

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-19 Thread fredvs
Hello Martin. I am busy with the mercyless test of MSE dock. Many wow. At the moment I did only find this strange: When docking all the windows into main window, sometimes the height of the scrolled design canvas is too high. See video: mse_scrollheight.mp4

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

2017-09-22 Thread fredvs
Hello Martin. I have a strange problem. While using a timer, sometimes, the application pause itself. But when moving the mouse, it re-works again. See video. mse_stopnomouse2.mp4 What could be the cause of this ?

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-22 Thread fredvs
> si1.cx:= basedock.width; //do not change width OK only added it. ;-) Works formidably now. Many thanks Martin. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

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

2017-09-23 Thread fredvs
Hello Martin. > I can reproduce it now if not compiled with -gh Ha here it appends even with -gh. > But sometimes there is a libc memory error How do you get that error ? Even with -ghl + debugger I cannot have errors. Very difficult to debug then. What could I do ? Thanks. Fre;D --

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-23 Thread fredvs
> Bugs should be fixed not "workarounded". ;-) Huh, then, sorry, there is still something... All works perfectly if all the forms are visible. But if child-docked-forms are closed inside the main parent form, it has still problems. The canvas is not refreshed when floating all the visible

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-20 Thread fredvs
Hello Martin. OK, i did apply your patch + compile with last MSE commit. At loading, perfect the size of the main form is ok, scrolling refresh well the canvas. Sadly after there are few problems. - Sometimes the vert scrollbar does not appear when all the forms are dockked. - And when it

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-21 Thread fredvs
Re-hello Martin. Is it possible to hide the end buttons of a Tslider ? If yes, how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-21 Thread fredvs
Hello Martin. Many thanks for your investigations. It works perfectly now. The height-size is perfect now. Huh, why dont you like Timerwait ? It was used to ajuste the main form width if a vertical scrollbar appear. (Otherwise part of the docked forms are hidden, like the close buttons). See

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
> Ok, many thanks, I will re-create a new timagelist1. Aaargh, there is something that I do not catch. I did delete image7 and replace by a other new (a jpg image of a line of 4 light gray pixels width, 1 pixel height) but it appears in timagelist as height of 2 pixels. OK, I will let it for

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
>Very strange because I did a "copy/paste" of timagelist1 from a other >project and the original did not have that white pixel. OK, I find back the original project. It was a gift of Code DZ. See attachment. tab.7z And there

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
>Image 7 of timagelist1 has a white pixel, see attachment. I assume it should be transparent. Wow, well seen ! Very strange because I did a "copy/paste" of timagelist1 from a other project and the original did not have that white pixel. Ok, many thanks, I will re-create a new timagelist1.

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
oat resolution --> crash + memory leak when using -ghl. If resolution is integer (16 or 32) no crash. Maybe you may test by yourself. Take the example SimplePlayer_MSE.prj from https://github.com/fredvs/uos. Compile it with -ghl and run it. By default, the resolution is float 32. --> it w

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
-- 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

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
Hello Martin. Many thanks for your tips and patch. I will study it deeply. > A hint: the program crashes if compiled with -gh (heaptrace) there seems > to be a memory error somewhere. Yep, I have seen it yesterday. I have to check it. Other thing. I am busy with the file-list window (for

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to be a memory error somewhere. Yeeep, there is a solution: ---> program strumpract; uses cmem, ... It solves everything, no memory errors, nor memory leaks. Same for all uos examples. Good to know. ;-) Fre;D --

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
> OK, I will let it for later Well, I deleted all the 4x4 pixels pictures where some blank pixels were added (after copy/paste imagelist component). And recreate new from scratch. Now, all is ok. (see picture) Sorry for the

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-14 Thread fredvs
Hello Martin. There is a problem with last commit and ttabwidget. I did recompile ideU with last commit and the height of tabs is not correct anymore. See picture: Here the correct height of tabs when compiling with

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-22 Thread fredvs
> It is a matter of style. Personally I think one should not restrict the users if they want to change the window size. I agree with that too. But the "all docked" layout is to give users a "out of the box" nice layout. They may change the size of some forms (but I prefer to let some forms

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

2017-10-05 Thread fredvs
Hello Martin. >From http://www.lazarusforum.de/viewtopic.php?f=53=11100 : ---> Ich wollte es compilieren, bekomme aber die Fehlermeldung Can't find unit unixcp used by cwstring. Huh, all the Windows compiled releases were done with Wine (Windows Emulator in Linux) without problems. But after

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> That is wrong. Do you have a reproducible testcase? I will try and if ok, I will give a demo. > Are you sure you did not change a font color by accident? Maybe. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

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

2017-10-02 Thread fredvs
> or better Huh, to not loose the last position in the tlabel ? Yes, but it is done just after button is released by the audio thread. But ok, it is better ;-) Now the test: Perfect, smooth, direct, no delay, no "scratch". So, this works perfectly: - audio thread event to TSlider: if

[MSEide-MSEgui-talk] StrumPract is released !

2017-10-02 Thread fredvs
/fredvs/strumpract/releases/ And the source from there: https://github.com/fredvs/strumpract/ Enjoy ;-) Fre;D PS: Thanks Martin. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> Do you have a reproducible testcase? See demo in attachement. msefontcolor.zip > Are you sure you did not change a font color by accident? Yes. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

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

2017-10-10 Thread fredvs
Hello. StrumPract 1.5.0. is released! https://github.com/fredvs/strumpract/releases/tag/1.5.0 It includes a complete DJ console. With auto-mixing from file list (auto-load next song at end of song), auto-slider custom-able, and much more... About the RPi-arm version. Now that the appropriate

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

2017-10-05 Thread fredvs
> The problem is in project setting Oooops, indeed, fixed, very sorry for the disagreement. Also there was some tosysfilepath() missing for the Windows 64/32 version --> "File does not exist...". ---> Fixed in Release 1.4.3. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

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

2017-10-12 Thread fredvs
> datalist_files.adddirectory('./',fil_ext1,'"*.mp3" "*.wav" "*.ogg" "*.flac"'); Perfect. > Tip: Ctrl+LeftClick in source editor on "adddirectory" shows the the > header definition: Huh, I use it lot of time but... I have to admit that const amask was well hidden. I have to wash my glasses.

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-08 Thread fredvs
> The size of the main form must be adjusted to the minimal sizes of the docked forms. Huh, it seems to be. > I'll take a look. OK, thanks. Other thing. I was successfully able to translate PThread.h into pascal dynamic loading header: ---> https://github.com/fredvs/dynx It works

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

2017-09-08 Thread fredvs
Hello Martin. Did you know that you may combine static + dynamic linking? I mean, take the advantage of static linking (adding some infos about the library in ELF, more safe, ...) and take the advantage of dynamic linking (using fast libdl.so library, change name/dir of the lib, etc ...). For

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-11 Thread fredvs
> basedock.dragdock.currentsplitdir:= sd_tabed; OK, I will play with it, thanks. About status.sta and strumpract: procedure tmainfo.oncreatedform(const sender: TObject); begin ondockall(sender); end; I would like to not use ondockall(sender) at creation and use instead status.sta for form

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

2017-09-09 Thread fredvs
> Another advantage of ld-linux.so.2 is that it is possible to list the needed libraries by "ldd ". Huh, it is what I try to explain: you may use dlopen()/dlsym() and list list the needed libraries by "ldd". ---> Add in dynamic linking code a {$linklib} statement (or Procedure dummy() ; cdecl;

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-09 Thread fredvs
Hello Graeme. For me the most important is that we are not in trouble ;-) 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

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

2017-09-09 Thread fredvs
> Then the application can not start if the library is not found and > it can not be compiled if there is no libX11.so -> ibX11.so.6 link. Of course the "double advantage" works only if buggy "external" was fixed ! ;-) > Maybe in compiler/link.pas:509 (TLinker.AddSharedCLibrary()). OK, I will

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-09 Thread fredvs
> Please take the attached patch for inspiration. Wow, thanks Martin. Will test it tonight. Write you later. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

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

2017-09-09 Thread fredvs
Hello Martin. Do you know where in fpc code (or how to find it) "external" is assigned and 'so.n' deleted ? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community

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

2017-09-09 Thread fredvs
> > Maybe in compiler/link.pas:509 (TLinker.AddSharedCLibrary()). Procedure TLinker.AddSharedCLibrary(S:TCmdStr); begin if s='' then exit; { remove prefix 'lib' } if Copy(s,1,length(target_info.sharedclibprefix))=target_info.sharedclibprefix then

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

2017-09-09 Thread fredvs
Re-hello. Huh, in previous mail, at end please read this: The last war would be "What is better: libdl.so.2 or ld-linux.so.2 ? Could it be possible to imagine a different dynlibs.pas ? Actual dynlibs.pas is using libdl.so.2. Could it be possible to use ld-linux.so.2 instead (with

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

2017-09-09 Thread fredvs
> I do not understand... OK, I do understand now. So it will not be possible to use ld-linux.so.2 for calling the library form where/ when you want. > Please do not confuse "static" linking and "dynamic" OK. Let do like this: "shared/dynamic" linking using ld-linux.so.2: I will call it "ld

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

2017-09-09 Thread fredvs
gt;I think so too. OK, ok, I agree with you too. But for "conventional" applications only. Take the example of this project: https://github.com/fredvs/uidesigner_ext It allows "Only One Instance" feature. So, if a instance is already running, a new instance will only sent a m

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-11 Thread fredvs
> See attachment. WOW. And this is exactly what I wanted since th beginning (but was not able to do). And it can save/retrieve mix of floated and docked windows --> perfect. OK, time to study what you changed. Many thanks. The git-patch feature is very impressive. Thanks to have used the

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-11 Thread fredvs
Re-hello Martin. Your patch is lovely. I did only a little change: procedure tmainfo.oncreatedform(const sender: TObject); begin if not fileexists(tstatfile1.filename) then ondockall(sender); end; This to have all the forms docked for first run. Thanks. Fre;D -- Sent from:

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

2017-09-06 Thread fredvs
---> https://bugs.freepascal.org/view.php?id=32367 Answer: ... that will only lead to wars about what form should be default in precompiled code. ---> "You wanted to avoid war at the price of dishonor. You have dishonor and you will have war." W Churchill. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-13 Thread fredvs
Hello Martin. >> This to give 3 layout options in main menu (Dock, Tab, Float). > You know that it is possible to switch to tabs by dragging the grip ? Now I know ;-) --> magnifique. > Split caption can be activated by > .frame.grip_options go_showsplitcaption. OK, done but... what is it

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-10 Thread fredvs
> Set the statfile properties of the widgets/components which should store the > state in the statfile to mainfo.tstatfile1. Ok done. Perfect, have test, no more problems, many thanks. Huh,.., about "Tabbed dock" forms, is it possible to do it by code too (switch from "normal" docked to "tab

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-10 Thread fredvs
> Why do you store layout information in statfile although you set the position, > size and dock parent in code? I was thinking to keep all infos like checkbox.state, volume, paterns, history, etc... via the statfile. > Please clear the statfile property of the forms other than mainfo. OK,

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-10 Thread fredvs
Re-re-re hello Martin. Aaargh, I monopolize you forum, sorry. About problem of previous mail (load strumpract with a status.sta). After some more test, no good news. It still appends, even after reboot, let say 1 times on 3. To resume if open strumpract and close it, and reopen it, 1 time on

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-10 Thread fredvs
Re-re hello Martin. About problem of previous mail (load strumpract with a status.sta), it appends not every times . Now, after reboot, it is ok every time. So sorry for the noise (but maybe you are a idea why sometimes it appends). Thanks. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] MSE and docking.

2017-09-11 Thread fredvs
Hello Martin. Im deep in mse dock. OK, "simple" main dock form is working impressive perfectly. Floated forms the same. Now time to jump into "tabed" main dock form. This to give 3 layout options in main menu (Dock, Tab, Float). Maybe you remember when I was taking about the hint of the grip

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

2017-09-25 Thread fredvs
Hello Martin. I did play with lock()/unlock in uos but still those underrun errors. There is something that I do not catch. So I came back with {.$DEFINE mse} (that uses classical fpc thread + queue()) and all synchros are ok without any error underrun message. Also no more scratch when

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

2017-09-24 Thread fredvs
Hello Martin. ... WOW ... > Linux gui_getevent() breakes xfilterevent() loop if there is no message. If I may, you did discover something **very** annoying. My previous audio project: miXimum uses LCL + Bass audio library. https://sites.google.com/site/fiensprototyping/ Because of that

Re: [MSEide-MSEgui-talk] Mailing list problems

2017-09-28 Thread fredvs
Hello Martin. I sent 3 mails yesterday. There are still not here. ;-( 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

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

2017-09-26 Thread fredvs
> Please use a tstringgrid or a twidgetgrid with the wanted columns and fill it > with the data provided by a tfiledatalist in unit msefileutils. . Ha, ok, I will try. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

[MSEide-MSEgui-talk] MSE Canvas.

2017-09-26 Thread fredvs
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)... Does it exist a demo of some use of MSE canvas/draw lines ? Would it be possible to draw on the canvas of a TSlider.scrollbar.face ? This to draw the

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

2017-09-26 Thread fredvs
> There is application.queueasynccall() OK, I will try this. Asap. 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

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

2017-10-01 Thread fredvs
> Replace "visible:= true; visible:= Ha, you did see this ;-) I did try mywidget.redraw, mywidget.draw, mywidget.refresh, but not mywidget.invalidate. Thanks for the tip. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

[MSEide-MSEgui-talk] About MSE TSlider.

2017-10-01 Thread fredvs
Hello Martin. Sorry to come back with this but I did not catch how to fire a event when the right button is released from the slider-button. I want to assign a event only when the button is released. I did try with this tslider.onsetvalue: procedure tsongplayer2fo.changepos(const Sender:

[MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-01 Thread fredvs
Hello. Is it possible to change the color of the balck triangle-symbol of "up" and "down" buttons of a trealspinedit ? If yes , how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ --

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

2017-10-01 Thread fredvs
> The purpose of "accept" is to reject a value. Set it to false if you don't accept the value. Sorry, I still do not catch ;-( Concretely, what must I change in code ? What Tslider event? And ainfo.eventkind = ek_buttonrelease, what Tslider event gives ainfo data? Thanks. Fre;D -- Sent

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

2017-10-02 Thread fredvs
> >Sorry, I still do not catch ;-( > And I don^t understand what you want to achieve OK, we are both then. :-). Imagine that a song is playing. So the audio thread sent, at each reading of the buffer, some data to the main thread, like position in the sound. Then there is a synchro: the

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> Activate a local font instance either by clicking the ellipse button in "font" Huh, of course I did it, but there is still a problem . But like explained in previous thread: one_of_the_forms.font.color := cl_red ---> all other child widgets, even from other forms become red-font. But Martin,

Re: [MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-02 Thread fredvs
> trealspinedit.frame.colorglyph. Perfect (and indispensable for "Carbon" style). Many thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

[MSEide-MSEgui-talk] Parent font.color ?

2017-10-01 Thread fredvs
Hello Martin. How to assign font color to children only ? If there are multiple forms, doing this change the parent color of all other forms: one_of_the_forms.font.color := cl_red; Idem if there is many groupboxes, assigning a font color to one groupbox --> all other groupboxes change the

Re: [MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-01 Thread fredvs
Re-hello. Suite... And is it possible to change the color of the "X" of a tbooleanedit.value = true ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

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

2017-09-29 Thread fredvs
> Great! Thanks! > Attached a version with maybe better performance because it uses > tface.image Many thanks, I will study it tonight. Huh, I did test of resource consommation and, when synchronizing, the design that needs the most ressource is the view meters of the console form. But sure it

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

2017-09-29 Thread fredvs
> PS: Demo asap. Hello. Here image (not simulated) of MSE Tslider with custom canvas: <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/mse_scrollbar.png> To see and listen it: https://github.com/fredvs/strumpract Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.n

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

2017-09-29 Thread fredvs
> Attached a version OK, your patch is committed 8848320. 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

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

2017-10-03 Thread fredvs
> f you could provide a video and/or some screenshots I would make an announcement on lazarusforum.de. Yes, of course. But it will be without sound. ;-( My screen recorder gives bad sound and I prefer that people do not think that StrumPract has the same quality of sound. Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-03 Thread fredvs
Hello Martin. OK, 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!

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

2017-10-03 Thread fredvs
> If you could provide a video and/or some screenshots I would make an announcement on lazarusforum.de. ---> strumpract_demo.mp4 Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

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

2017-10-03 Thread fredvs
> http://www.lazarusforum.de/viewtopic.php?f=53=11100 Thanks ;-) Here some pictures: StrumPract in DJ: You practicing and StrumPract in background playing + recording:

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> which sets the size of the form -> there will be scrollbars if basedock is too > big. I meant set the size of basedock too, somethin like: > basedock.size:= > height := emptyheight; > width := fowidth; Ha, ok, you mean to add the code of "TimerWait Workaround" ? ;-) Ok, many thanks.

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

2017-09-25 Thread fredvs
> How do you do that? application.lock()/unlock()? Maybe. I have to check uos code. It uses {$DEFINE mse} and so uses msethreads and application.lock()/unlock(). Maybe there are not placed on the right place... application.lock()/unlock() is not used in Strumpact forms. > An alternative is...

[MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-25 Thread fredvs
About TFilelistview Hello. In filelist.opions you may sort the filelist by name, time, size... Perfect. But is it possible to have a filelist with those data too in extra columns? Or maybe only the name can be displayed. Is it possible to apply a filter? What would be the syntax to assign

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

2017-09-25 Thread fredvs
> This night will be a merciless test, StrumPract will be the dj all night. Hello Martin. OK, the night was white. Strumpact did his DJ job perfectly, no crash, no pause. The only detail is when a thread is synchronizing graphic of a other form (not the parent form of the thread). It produce

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
-- 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

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> height := emptyheight; //basedock is still big -> mainfo has scrollbar(s) > width := fowidth; Huh, it is already there in code and did not help without "timerwait workaround". (see line 401 of procedure tmainfo.onfloatall(const sender: TObject) --> main.pas). PS: It is not

Re: [MSEide-MSEgui-talk] MSE and LLVM

2017-08-26 Thread fredvs
In previous mail, please read: "Your card number does *NOT* accept transaction, please contact your bank". Fre;D -- View this message in context: http://mseide-msegui-talk.13964.n8.nabble.com/MSE-and-LLVM-tp44p51.html Sent from the mseide-msegui-talk mailing list archive at Nabble.com.

Re: [MSEide-MSEgui-talk] MSE and LLVM

2017-08-26 Thread fredvs
>> If you like to donate to the MSE projects please use the links on >> http://msegui.com/?q=node/7 >I will. Hello Martin. I have try with my MasterCard ---> "Your card number does accept transaction, please contact your bank". I went to bank ---> "It should work, retry it..." I did try

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

2017-09-26 Thread fredvs
>> Is it possible to apply a filter? > tfilelistview.mask:= '"*.you" "*.she" "*.me"'. Does not work here: filelistfo.list_files.path := dir.value; filelistfo.list_files.mask := '"*.mp3" "*.wav" "*.ogg" "*.flac"'; --->

  1   2   3   4   5   6   7   8   9   10   >