Re: [MSEide-MSEgui-talk] Rounded-tabs ofe ttabwidget ?

2017-04-13 Thread Fred van Stappen

Martin, I have to say a other big WoW.


Open 2 instances of MSEide, with 2 different projects.


Copy a widget from one instance (project 1).


On the second instance (project 2), paste the widget in a form.


The widget is there, with all the properties of project 1.


Wow.


Fre;D


De : Martin Schreiber 
Envoyé : jeudi 13 avril 2017 13:21
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] Rounded-tabs of ttabwidget ?

On Thursday 13 April 2017 12:47:09 Fred van Stappen wrote:
> Thanks Code dz ;-)
>
>
> @Martin, maybe you could add the demo in MSE ?
>
You can do it yourself, you have developer access at MSEuniverse IIRC.

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
mseide-msegui-talk Info Page - 
SourceForge
lists.sourceforge.net
To see the collection of prior postings to the list, visit the 
mseide-msegui-talk Archives. Using mseide-msegui-talk: To post a message to all 
the ...



--
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] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-13 13:54 UTC+01:00, Martin Schreiber :
> On Thursday 13 April 2017 14:40:44 code dz wrote:
>> 2017-04-13 11:24 UTC+01:00, Martin Schreiber :
>> > On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>> >> You are aware that the purpose of cornermasks is clipping the client
>> >> area if the client area has been shifted under transparent areas of
>> >> the
>> >> frame images by negative frameimage_left, frameimage_top,
>> >> frameimage_right or frameimage_bottom? Without negative shifts they
>> >> are
>> >> not needed.
>> >
>> > Your example does not need corner masks if you shift by -3 instead of
>> > -4.
>> >
>> > Martin
>>
>> i thought cornermask is on top of corner images and has a fixed pos ,
>> which mean it didn't shifted !
>
> It is below corner images in order to clip the client area.
>
>> , so how can shifted corner images has
>> and effect on connermask ?
>>
> frameimage_left... do not shift frame images but adjust the client rect.
> Normally the client rect is adjacent to the frame.
>
> Martin
>

thanks for clarification

--
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] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 14:40:44 code dz wrote:
> 2017-04-13 11:24 UTC+01:00, Martin Schreiber :
> > On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
> >> You are aware that the purpose of cornermasks is clipping the client
> >> area if the client area has been shifted under transparent areas of the
> >> frame images by negative frameimage_left, frameimage_top,
> >> frameimage_right or frameimage_bottom? Without negative shifts they are
> >> not needed.
> >
> > Your example does not need corner masks if you shift by -3 instead of -4.
> >
> > Martin
>
> i thought cornermask is on top of corner images and has a fixed pos ,
> which mean it didn't shifted ! 

It is below corner images in order to clip the client area.

> , so how can shifted corner images has 
> and effect on connermask ?
>
frameimage_left... do not shift frame images but adjust the client rect. 
Normally the client rect is adjacent to the frame.

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] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-13 11:24 UTC+01:00, Martin Schreiber :
> On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>>
>> You are aware that the purpose of cornermasks is clipping the client area
>> if the client area has been shifted under transparent areas of the frame
>> images by negative frameimage_left, frameimage_top, frameimage_right or
>> frameimage_bottom? Without negative shifts they are not needed.
>>
> Your example does not need corner masks if you shift by -3 instead of -4.
>
> Martin
>
i thought cornermask is on top of corner images and has a fixed pos ,
which mean it didn't shifted ! , so how can shifted corner images has
and effect on connermask ?

--
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] Rounded-tabs of ttabwidget ?

2017-04-13 Thread Fred van Stappen

> You can do it yourself, you have developer access at MSEuniverse IIRC.


B, you know that I am terrify to deal with git.

But ok, I will try to do it (and I hope that MSEuniverse will not explode after 
my actions).


[]


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] Different font and image color selected row in twidgetgrid

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 13:14:06 Krzysztof wrote:
> 2017-04-13 6:35 GMT+02:00 Martin Schreiber :
> > The actual image number is the sum of the node image number and the state
> > values either direct or the lookup value provided by
> > TImageList.ImageLookup if it is not empty.
> > Assume an empty ImageLookup property, ItemList.imnr_selected = 1, -> the
> > image
> > number of a not selected node is the value in TListItem.imagenr, for a
> > selected node it is TListItem.imagenr + 1
>
> Weird, seems that it is TListItem.imagenr + 2. This is my sets of icons:
>
> type
>   TIco16 = (
> ico16_main, ico16_news, ico16_user, .
>
> FLibraryNode.imagenr := ord(ico16_main);
> ttreeitemedit1.itemlist.insert(0,FLibraryNode);
>
> and selected:
> ttreeitemedit1.itemlist.imnr_selected := 1;
>
> but when selecting node then I see icon ico16_user instead of ico16_news.
> No other imnr_ are set.
>
Please send the testcase.

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] Rounded-tabs of ttabwidget ?

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 12:47:09 Fred van Stappen wrote:
> Thanks Code dz ;-)
>
>
> @Martin, maybe you could add the demo in MSE ?
>
You can do it yourself, you have developer access at MSEuniverse IIRC.

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] Rounded-tabs of ttabwidget ?

2017-04-13 Thread Fred van Stappen

Thanks Code dz ;-)


@Martin, maybe you could add the demo in MSE ?


Fre;D


De : code dz 
Envoyé : jeudi 13 avril 2017 11:14@À : General list for MSEide+MSEgui
Objet : Re: [MSEide-MSEgui-talk] Rounded-tabs of ttabwidget ?

2017-04-12 13:02 UTC+01:00, Martin Schreiber :
> On Wednesday 12 April 2017 13:32:30 Fred van Stappen wrote:
>> Hello.
>>
>> Is it possible to have rounded-tabs of ttabwidget and if yes, how to do
>> it
>> ?
>>
> Yes, use TTabWidget.tab_frametab.frameimage_*. Maybe "code dz" can provide
> an
> example?
>
> Martin
>

sure
--
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] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>
> You are aware that the purpose of cornermasks is clipping the client area
> if the client area has been shifted under transparent areas of the frame
> images by negative frameimage_left, frameimage_top, frameimage_right or
> frameimage_bottom? Without negative shifts they are not needed.
>
Your example does not need corner masks if you shift by -3 instead of -4.

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] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 11:14:02 code dz wrote:
> 2017-04-11 16:21 UTC+01:00, Martin Schreiber :
> > On Tuesday 11 April 2017 16:29:08 code dz wrote:
> >> 2017-04-11 14:47 UTC+01:00, code dz :
> >> > Hi
> >> > iam just stuck in finishing tab skin , my tab shape has 2 top round
> >> > corners , and 2 bottom squares corners , now the timagelist.cornermask
> >> > applies on all corners , you can see the screenshot how the mask
> >> > affects the bottom corners .
> >> >
> >> > so how to avoid this ?
> >> > thanks
> >>
> >> seems hiddenedges is the only way ;)
> >
> > It is also planned to add individual corner masks to timagelist. Because
> > timagelist will be used by many widgets the overhead is acceptable IMO.
> >
> > Martin
>
> thats good , i'll be waiting for this ;)
>
You are aware that the purpose of cornermasks is clipping the client area if 
the client area has been shifted under transparent areas of the frame images 
by negative frameimage_left, frameimage_top, frameimage_right or 
frameimage_bottom? Without negative shifts they are not needed.

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] Rounded-tabs of ttabwidget ?

2017-04-13 Thread code dz
2017-04-12 13:02 UTC+01:00, Martin Schreiber :
> On Wednesday 12 April 2017 13:32:30 Fred van Stappen wrote:
>> Hello.
>>
>> Is it possible to have rounded-tabs of ttabwidget and if yes, how to do
>> it
>> ?
>>
> Yes, use TTabWidget.tab_frametab.frameimage_*. Maybe "code dz" can provide
> an
> example?
>
> Martin
>

sure


tab.7z
Description: Binary data
--
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] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-11 16:21 UTC+01:00, Martin Schreiber :
> On Tuesday 11 April 2017 16:29:08 code dz wrote:
>> 2017-04-11 14:47 UTC+01:00, code dz :
>> > Hi
>> > iam just stuck in finishing tab skin , my tab shape has 2 top round
>> > corners , and 2 bottom squares corners , now the timagelist.cornermask
>> > applies on all corners , you can see the screenshot how the mask
>> > affects the bottom corners .
>> >
>> > so how to avoid this ?
>> > thanks
>>
>> seems hiddenedges is the only way ;)
>>
> It is also planned to add individual corner masks to timagelist. Because
> timagelist will be used by many widgets the overhead is acceptable IMO.
>
> Martin
>

thats good , i'll be waiting for this ;)

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