AW: PNGs with transparency
Mischa
mischa at omnislab.com
Wed May 25 00:13:02 UTC 2022
Hi Scotte,
they were introduced as new feature, or maybe with some additional quirks like adapting the color or unlimited resizing.
How can you use them with 10.2 in fat client?
Thanks
Mischa
-----Ursprüngliche Nachricht-----
Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von Scotte Meredith
Gesendet: Mittwoch, 25. Mai 2022 01:59
An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Betreff: Re: PNGs with transparency
SVG icons are also available on Studio 10.2 (and earlier) and we are doing some kind of cool things with them.
Sent from my iPhone
> On May 24, 2022, at 3:41 PM, Mischa <mischa at omnislab.com> wrote:
>
> Hi Das,
>
> instead of calculating the text statement using the style function, you also can assign the icon directly when you click into the $text property of the object and select the image icon from the quill. This opens the icon browser and lets you select the wanted icon. Also, you're not limited to the standard 16x16, 32x32 and 48x48 size when you use icon pages.
>
> Studio 11 will come up with svg icons, as I understood also for the fat client. This could be a real game changer.
>
> Best greetings
> Mischa
>
> -----Ursprüngliche Nachricht-----
> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag
> von Scotte Meredith
> Gesendet: Dienstag, 24. Mai 2022 19:09
> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
> Betreff: Re: PNGs with transparency
>
> In the $text for the field, you would put something like:
> [style(kEscBmp,10109+k16x16)]
>
> This would only work for icons either in #ICONS or in the iconsets folder.
>
>
>> On May 24, 2022, at 9:39 AM, Das Goravani <goravanis at gmail.com> wrote:
>>
>>
>> Mischa,
>>
>> How exactly do you put the icon into the Shape Field or an Entry field.. what is the syntax, how do you do it?
>>
>> Das
>>
>>>> On May 23, 2022, at 7:52 PM, Mischa <mischa at omnislab.com> wrote:
>>>
>>> Hi Scotte,
>>>
>>> in addition, if you need the logo in front of other window objects, you can use a shape field with kText as shape instead. This also can receive click events and acts like a push button.
>>>
>>> Best greetings
>>> Mischa
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im
>>> Auftrag von Scotte Meredith
>>> Gesendet: Dienstag, 24. Mai 2022 01:34
>>> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>>> Betreff: Re: PNGs with transparency
>>>
>>> Thanks, Mischa. This was also happening on Mac. In this case, it is a logo that may be in PNG or JPG format. I got some guidance from others I'm going to try.
>>>
>>>
>>>> On May 23, 2022, at 2:24 PM, Mischa <mischa at omnislab.com> wrote:
>>>>
>>>> From my experience on Windows, picture fields are not transparent but opaque. They will show the background however when you assign a parent background theme. If you want/need real transparency, you should place your graphics into #ICONS and assign it as BMPStyle to a text field.
>>>>
>>>> Hth
>>>> Mischa
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im
>>>> Auftrag von Scotte Meredith
>>>> Gesendet: Mittwoch, 18. Mai 2022 05:45
>>>> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>>>> Betreff: Re: PNGs with transparency
>>>>
>>>> I’m on Mac. I was surprised it didn’t work. With your confirmation and a similar one sent to me directly I’ll go back and look again and try to simplify to get it working then try again on the problematic window.
>>>>
>>>> Thanks
>>>>
>>>> Sent from my iPad
>>>>
>>>>> On May 17, 2022, at 8:41 PM, Paul Mulroney via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>>>>
>>>>> Hi Scotte,
>>>>>
>>>>> We do that in Studio 8.1 and 10.2 - one of our clients has a company logo with transparency. It displays OK on the Mac, but we've had issues with Windows 10.
>>>>>
>>>>> What platform are you having issues with?
>>>>>
>>>>> Regards,
>>>>> Paul.
>>>>>
>>>>>> On 17 May 2022, at 8:05 pm, Scotte Meredith <spomacguy at gmail.com> wrote:
>>>>>>
>>>>>> From what I've been able to determine, you cannot use transparent PNGs in picture fields in an Omnis window. The transparent portion shows as black. I've tried various combinations in the appearance tab to no avail.
>>>>>>
>>>>>> Can anyone else confirm this? Or have a workaround?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>> Scotte Meredith
>>>>>> spomacguy at gmail.com
>>>>>> 509/998-0991
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _____________________________________________________________
>>>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>>
>>>>>
>>>>> Acupuncture is a jab well done. That's the point of it.
>>>>> --
>>>>> Paul W. Mulroney We Don't Do Simple Pty Ltd
>>>>> pmulroney at logicaldevelopments.com.au Trading as Logical Developments
>>>>> www.logicaldevelopments.com.au ACN 161 009 374
>>>>> Ph: +61 8 9458 3889 86 Coolgardie Street
>>>>>
>>>>> BENTLEY WA 6102
>>>>>
>>>>>
>>>>>
>>>>> _____________________________________________________________
>>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com Start
>>>> a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com Start
>>>> a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>
>>>
>>>
>>> Scotte Meredith
>>> spomacguy at gmail.com
>>> 509/998-0991
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at https://lists.omnis-dev.com Start
>>> a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at https://lists.omnis-dev.com Start
>>> a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com Start a
>> new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
>
>
> Scotte Meredith
> spomacguy at gmail.com
> 509/998-0991
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com Start a
> new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com Start a
> new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list