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

2017-09-17 Thread Martin Schreiber
On Saturday 16 September 2017 23:31:18 fredvs wrote: > > 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

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] 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] MSE and docking.

2017-09-16 Thread Martin Schreiber
On Saturday 16 September 2017 15:29:45 fredvs wrote: > > Please see attachment. The *.ppu and *.o are in src/units/ > > Ooops, ok, captio, you are talking about the custom msegraphedits.pas. > > I have to check why I did add that file into ideU/src/, at the moment I do > not remember why. >

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

2017-09-15 Thread Martin Schreiber
On Friday 15 September 2017 07:15:47 Martin Schreiber wrote: > On Friday 15 September 2017 01:33:42 fredvs wrote: > > 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. > > The

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

2017-09-15 Thread Martin Schreiber
On Friday 15 September 2017 01:33:42 fredvs wrote: > 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: >

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

2017-09-14 Thread Martin Schreiber
On Friday 15 September 2017 01:33:42 fredvs wrote: > 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. > ideU does not compile with original MSEgui. Can you provide a simple testcase

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

2017-09-14 Thread Martin Schreiber
On Friday 15 September 2017 01:33:42 fredvs wrote: > > See picture: > > BTW, http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/oldtabok.png also shows the white frame pixel in tabs. Martin

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

2017-09-14 Thread Martin Schreiber
On Friday 15 September 2017 01:33:42 fredvs wrote: > 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. The definition of the tab padding has been changed. From VERSION.TXT: "

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] 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] MSE and docking.

2017-09-14 Thread Martin Schreiber
On Wednesday 13 September 2017 20:01:03 Martin Schreiber wrote: > > Maybe a special hint property is necessary for your case, I'll take a look. > git master 90076e9113892e138c70356df70d9d4836d43233 has tgripframe.grip_hint. Martin

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-14 Thread Graeme Geldenhuys
On 2017-09-14 03:42, fredvs wrote: Now, all is ok. (see picture) Small tip: NEVER use JPG format for screenshots. It generates way to much compression noise in the image. Use preferably PNG or GIF. If PNG images seem

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

2017-09-14 Thread Graeme Geldenhuys
On 2017-09-14 11:08, fredvs wrote: I noted too that with jpg, transparency does not appear like wanted. JPG doesn't support transparency - period. The JPG format is only good for photos like taken with a digital camera. My personal oppinion - if you work with software, only use PNG.

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-13 Thread Martin Schreiber
On Wednesday 13 September 2017 23:41:04 fredvs wrote: > > 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

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-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] MSE and docking.

2017-09-13 Thread Martin Schreiber
On Wednesday 13 September 2017 20:23:27 fredvs wrote: > > Huh, a subsidiary question. > In the picture tabframe.jpg each tab has on right-top a part of line white. > I suppose it is for the lightning effect. > But is it possible to have all the line in black, without that white part > line ? > I

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

2017-09-13 Thread fredvs
Hello Martin. Huh, half a hour ago I went to MSE site and have seen that there was a new comit ! ;-) OK, have try it (+ recompile MSEide with last commit). > has tdockcontroller.colortab, coloractivtab, facetab and faceactivetab Perfect. See picture:

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

2017-09-13 Thread Martin Schreiber
On Wednesday 13 September 2017 12:57:20 fredvs wrote: > > Split caption can be activated by > > .frame.grip_options go_showsplitcaption. > > OK, done but... what is it for? See attachment. > I do not see any change in hint of grip > panel I want to write in the hint of the grip what you

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-12 Thread code dz
you're right , you fixed it already ;) thanks . -- 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] MSE and docking.

2017-09-12 Thread Martin Schreiber
On Tuesday 12 September 2017 11:51:46 code dz wrote: > Hi Martin > i got divition by zero error while docking . > i am using the current git Are you sure that you use current git master? I recently fixed the broken tabbed docking. Martin

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

2017-09-12 Thread Martin Schreiber
On Monday 11 September 2017 23:03:33 fredvs wrote: > 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,

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

2017-09-12 Thread code dz
Hi Martin i got divition by zero error while docking . i am using the current git -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

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] 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 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 Martin Schreiber
On Monday 11 September 2017 12:07:42 fredvs wrote: > > Sadly, when doing this (after assigned status.sta for each form), after > closing + reloading the application, the layout is not the same. > See attachment. Martin statfile.patch.7z Description: application/7z

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 docking.

2017-09-11 Thread Martin Schreiber
On Sunday 10 September 2017 19:28:12 fredvs wrote: > > Huh,.., about "Tabbed dock" forms, is it possible to do it by code too > (switch from "normal" docked to "tab docked"? > With what propreties must I play ? > " basedock.dragdock.currentsplitdir:= sd_tabed; " Please use MSEgui current git

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 Martin Schreiber
On Sunday 10 September 2017 18:33:12 fredvs wrote: > > 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

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 Martin Schreiber
On Sunday 10 September 2017 14:28:23 fredvs wrote: > 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. > >

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-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 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 docking.

2017-09-09 Thread Graeme Geldenhuys
On 2017-09-08 19:18, Martin Schreiber wrote: Free Pascal should allow to define the SONAME source in binding unit - using dlopen()/dlsym() instead is a hack IMHO. I think so too. I source of the problem is FPC, and that is where the fix should go. I do applaud Fred for his efforts and

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 perfectly

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

2017-09-08 Thread Martin Schreiber
On Friday 08 September 2017 15:21:42 fredvs wrote: > Hello Martin. > > I have some trouble with myform.dragdock.dockto(). > > Sometimes the forms are not sized as wanted (see video). > > https://sites.google.com/site/fredvsbinaries/mse_dock2.mp4 > The size of the main form must be adjusted to the