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 explain just
> before. But only in the hint of the grip, not change the caption of the
> tabs.

Maybe a special hint property is necessary for your case, I'll take a look.

>
> Other thing.
> I try to customize the tabs of the main dock form.
> For this I did:
>
> ---> basedock.drackdock.tab.frame.tframecomp1
>
> where tframecomp1 has rounded corner in parameters (like in ideU-tabs).
>
> But the tabs do not become rounded ;-(
>
git master 9da262377d41e2eb1d6486b6138ebbe2fbc86c10 has 
tdockcontroller.tab_frametab.
>
> Also, this is ok for changing the height but the faceactivetab does not
> change the color of tab: --->
>
git master 9da262377d41e2eb1d6486b6138ebbe2fbc86c10 has 
tdockcontroller.colortab, coloractivtab, facetab and faceactivetab 
(experimental).

> procedure tmainfo.onchangelayout(const sender: tdockcontroller);
> begin
> if (basedock.dragdock.currentsplitdir = sd_tabed) and
> (basedock.dragdock.activewidget <> nil) then
> begin
> if basedock.dragdock.activewidget = drumsfo then
> begin
> height := 275;
> basedock.dragdock.tab_faceactivetab := drumsfo.tfacedrums
> end else
> if basedock.dragdock.activewidget = guitarsfo then
> begin
> height := 105;
> basedock.dragdock.tab_faceactivetab := guitarsfo.tfaceguitars;
> end else
> ...
> etc...
>
> end;
>
Please try again with git master 9da262377d41e2eb1d6486b6138ebbe2fbc86c10.

Martin
--
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 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:
 

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 did not find how to do.
 
>> >.frame.grip_options go_showsplitcaption. 
>> OK, done but... what is it for? 
> See attachment. 

Ha, ok (it is what I have seen, but I would prefer nothing write but a
hint.)

>> procedure tmainfo.onchangelayout(const sender: tdockcontroller); 
> git master 9da262

See first answer ---> **PERFECT**

Many thanks Martin.

OK, I will do a nice video of MSE-dock in action.

And now that I have all the GUI tools, time to attack a other piece of
StrumPract: the Multi-Stereo-Tracks Recorder.
By the way, the simple stereo recorder is already working like charm in last
commit.
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 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 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 did not find how to do.
>
Image 7 of timagelist1 has a white pixel, see attachment. I assume it should 
be transparent.

Martin
--
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 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 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] 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 timagelist1 has no white pixel...

Why that white pixel was added, this the mystery of informatics. ;-)

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

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] 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 appears in timagelist as
> height of 2 pixels.

The size of the added image must be 4x4 pixels. Better to use png instead jpg 
because of the needed pixel precision.

Martin

--
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 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 noise (but strange that those white pixels were added).

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 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 for? I do not see any change in hint of grip
panel I want to write in the hint of the grip what you explain just
before. But only in the hint of the grip, not change the caption of the
tabs.

>>The main form stay tabbed ;-( 
> basedock.dragdock.currentsplitdir:= sd_horz; 

Excellent, it works like charms.

> dragdock.onlayoutchanged will be called too,
> dragdock.activewidget returns the active docked widget, it can be nil. 

Perfect, I get what I want.

Other thing.
I try to customize the tabs of the main dock form.
For this I did:

---> basedock.drackdock.tab.frame.tframecomp1

where tframecomp1 has rounded corner in parameters (like in ideU-tabs).

But the tabs do not become rounded ;-(

It could be that tframecomp1 is not ok, but I checked and it has the same
parameters than ideU-tabs.

It is like it apply round corner for the main frame, not the tabs.

Also, this is ok for changing the height but the faceactivetab does not
change the color of tab: --->

procedure tmainfo.onchangelayout(const sender: tdockcontroller);
begin
if (basedock.dragdock.currentsplitdir = sd_tabed) and
(basedock.dragdock.activewidget <> nil) then 
begin
if basedock.dragdock.activewidget = drumsfo then 
begin
height := 275;
basedock.dragdock.tab_faceactivetab := drumsfo.tfacedrums
end else
if basedock.dragdock.activewidget = guitarsfo then 
begin
height := 105;
basedock.dragdock.tab_faceactivetab := guitarsfo.tfaceguitars;
end else
...
etc...

end;

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