Re: [MSEide-MSEgui-talk] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread Krzysztof
2018-04-16 10:28 GMT+02:00 Martin Schreiber :
> git master dd7e9a107a5139bd922d092d1131047b4f3fa17f updates empty text
> state in tedit.settext() instead in tcustomdataedit.setdropdowntext(),
> experimental.

Fixed. Thanks!

--
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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread code dz
i've tried with new project and it works now . :)
thanks

--
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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread Martin Schreiber
On 04/16/2018 04:29 PM, code dz wrote:
>> Works for me, see attachment. The mask of the image will be converted to
>> a monochrome bitmap (bmo_masked without bmo_graymask and without
>> bmo_colormask). There will be better control of the look if the mask is
>> monochrome at design time already.
>>
> 
> Aha , it looks transparent without bmo_colormask .
> btw the mask could be generated in realtime according to alpha value ,
> i mean this could be up to the mseide without the need of loading it
> from file
> 
In my screenshot the bitmap has been created at runtime from
bmo_colormask. I don't know why it does not work for you.

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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread code dz
> Works for me, see attachment. The mask of the image will be converted to
> a monochrome bitmap (bmo_masked without bmo_graymask and without
> bmo_colormask). There will be better control of the look if the mask is
> monochrome at design time already.
>

Aha , it looks transparent without bmo_colormask .
btw the mask could be generated in realtime according to alpha value ,
i mean this could be up to the mseide without the need of loading it
from file

--
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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread Martin Schreiber



On 16.04.2018 11:30, code dz wrote:

seems the tray icon on windows is not transparent !


Works for me, see attachment. The mask of the image will be converted to 
a monochrome bitmap (bmo_masked without bmo_graymask and without 
bmo_colormask). There will be better control of the look if the mask is 
monochrome at design time already.
--
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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread code dz
seems the tray icon on windows is not transparent ! , is there an
option to control the transparency ?

i just compile the example provided by Krzysztof
--
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] tdirdropdownedit.OnSetValue doesn't work properly with eo_showfocused

2018-04-16 Thread Martin Schreiber
On 04/15/2018 10:22 PM, Krzysztof wrote:
> Hi Martin,
> 
> Something changed recently which I guess worked fine. Opened window in
> my app which has tdirdropdownedit and with empty option
> eo_showfocused, variabale AValue in OnSetValue event is empty. Without
> it everything works fine. Attached demo.
> 
git master dd7e9a107a5139bd922d092d1131047b4f3fa17f updates empty text
state in tedit.settext() instead in tcustomdataedit.setdropdowntext(),
experimental.

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