Re: [MSEide-MSEgui-talk] face.fade wow.

2017-07-25 Thread Fred van Stappen
Hello Martin.


The night was clear.


Here the result :


https://sites.google.com/site/fredvsbinaries/mse_dock.mp4


Many thanks.


Fre;D
--
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] face.fade wow.

2017-07-24 Thread Martin Schreiber
> >
> >Please use dragdock.caption.
>
> Here it works only when optiondock.captionhint := true
> but it gives the caption of the form, not the caption of dragdock.caption
>
Strange:
"
function tdockcontroller.getdockcaption: msestring;
begin
 if fcaption = '' then begin
  result:= idockcontroller(fintf).getcaption;
 end
 else begin
  result:= fcaption
 end;
end;
"

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] face.fade wow.

2017-07-24 Thread Fred van Stappen
>  A state variable face in grip involves some overhead, I'll take a look.


With last commit --> pefect, works perfect, is perfect.

>> And could it be possible to assign a hint when mouse goes on the grip
>> pannel ? (Ho, this time I ask much too much, very sorry.)
>Please use dragdock.caption.

Here it works only when optiondock.captionhint := true
but it gives the caption of the form, not the caption of dragdock.caption

I jump tonight in deep mse dock feature, write you later.

Thanks.

Fre;D
--
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] face.fade wow.

2017-07-24 Thread Martin Schreiber
On Monday 24 July 2017 14:23:44 Fred van Stappen wrote:
> > git master 2de3e44cb5ff55322ac47c9818f2b81d0703cf3f has
> > tgripframe.grip_faceactive.
>
> Excellent, I will test it tonight.
>
> Huh, how can you know if a form is docked ? Does it exist a property like:
> If Myform.isdocked then ...
>
> Is it possible to dock/undock a form by code (and how)?
>
Docking is controlled by property dragdock (tdockcontroller in 
lib/common/widgets/msedock.pas). tdockcontroller has mdistate, float() and 
dockto().
Also .parentwidget is nil for a floating form.
There is also "TDockPanelFormController" from tab 'Widget' which organizes 
dockforms in an application. An example is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/forms/dockpanelcontroller

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] face.fade wow.

2017-07-24 Thread Fred van Stappen
> git master 2de3e44cb5ff55322ac47c9818f2b81d0703cf3f has 
> tgripframe.grip_faceactive.

Excellent, I will test it tonight.

Huh, how can you know if a form is docked ? Does it exist a property like: If 
Myform.isdocked then ...

Is it possible to dock/undock a form by code (and how)?

Many thanks.

Fre;D


--
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] face.fade wow.

2017-07-24 Thread Martin Schreiber
On Sunday 23 July 2017 18:40:46 Martin Schreiber wrote:
>
> The line and pattern grips change color if active. A state variable face in
> grip involves some overhead, I'll take a look.
>
git master 2de3e44cb5ff55322ac47c9818f2b81d0703cf3f has 
tgripframe.grip_faceactive.

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] face.fade wow.

2017-07-23 Thread Martin Schreiber
On Sunday 23 July 2017 17:36:47 Fred van Stappen wrote:
>
> It seems that, for grip.face.fade the direction is inverted --->
> fade.direction := gd_down ---> gives as result fade.direction := gd_left.
>
> I did (after assigning a template with fade for grip.face.template)

You probably override the template setting in frame. Please remove 
grip.face.localprops fal_fadirection.

>
> grip := stb_none ---> gives a grip with vertical line inside.
>
> grip := stb_dens100 ---> gives a grip without vertical line but not faded.
>
Please use stb_dens0.

> grip := std_default ---> Yep, OK this is what I want, the faded grip ;-)
>
> Is it possible to assign different grip.face for grip active and inactive ?
> (I ask too much, sorry.)

The line and pattern grips change color if active. A state variable face in 
grip involves some overhead, I'll take a look.

> And could it be possible to assign a hint when mouse goes on the grip
> pannel ? (Ho, this time I ask much too much, very sorry.)
>
Please use dragdock.caption.

BTW a MDI example is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/forms/mdi

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] face.fade wow.

2017-07-23 Thread Martin Schreiber
On Saturday 22 July 2017 17:03:56 Fred van Stappen wrote:
> Huh, little detail about face.fade...
>
> When defining a template for frame.grip.face.fade.template > crash at
> run.
>
Please try again with git master a9d5638504b85503ad0a6dcf0f06a4b953d16c26, 
thanks for reporting.

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] face.fade wow.

2017-07-22 Thread Martin Schreiber
On Saturday 22 July 2017 07:16:07 Martin Schreiber wrote:
> On Friday 21 July 2017 18:49:29 Fred van Stappen wrote:
> > > tface and tframe exist since more than 10 years BTW. ;-)
> >
> > Huh, is it not time to show better what you can be done with mse ?
>
> I do that also since more than 10 years. Most of the people ignore it, many
> are bugged out.
>
There is also a section on msegui.com:
http://msegui.com/?q=node/9
IIRC Patrick asked several times for contributions - zero result AFAIK.

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] face.fade wow.

2017-07-21 Thread Martin Schreiber
On Friday 21 July 2017 18:49:29 Fred van Stappen wrote:
> > tface and tframe exist since more than 10 years BTW. ;-)
>
> Huh, is it not time to show better what you can be done with mse ?
>
I do that also since more than 10 years. Most of the people ignore it, many 
are bugged out.

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] face.fade wow.

2017-07-21 Thread Martin Schreiber
On Friday 21 July 2017 19:10:58 Fred van Stappen wrote:
> Do you have a "gallery of demos using mesgui" ?
>
>
> We, mse users, could add our projects in this page to show what mse can do.
>
Please put them to MSEuniverse, maybe in a special section.

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] face.fade wow.

2017-07-21 Thread Fred van Stappen
Do you have a "gallery of demos using mesgui" ?


We, mse users, could add our projects in this page to show what mse can do.


Fre;D
--
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] face.fade wow.

2017-07-21 Thread Fred van Stappen
> tface and tframe exist since more than 10 years BTW. ;-)

Huh, is it not time to show better what you can be done with mse ?

I know that it is sensible, but only you could give demos of your brillant 
ideas.

Not every user is a explorer.

Fre;D
--
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] face.fade wow.

2017-07-21 Thread Martin Schreiber
On Friday 21 July 2017 18:11:55 Fred van Stappen wrote:
> Hello Martin.
>
>
> I like the face.fade feature. (see attachment).
>
Looks good! :-)

tface and tframe exist since more than 10 years BTW. ;-)

A tip: define the color gradient in a "tfacecomp" and select 
the "tfacecomp"-component in the .template properties in order to 
centralize the face settings.

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