Re: Keyhole effect?

2020-04-15 Thread Bob Sneidar via use-livecode
The Group thing is kind of how Illustrator used to create masks. Not sure anymore I’ve been out of Illustrator for years now. Bob S > On Apr 15, 2020, at 12:02 PM, Richard Gaskin via use-livecode > wrote: > > Whenever I fail to add, "...or seemingly so based on 22 years of experience > in

Re: Apps to fight COVID-19

2020-04-15 Thread dsc--- via use-livecode
Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. > On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode > wrote: > > Jonathan Rothberg is looking for brilliant people who can code whatever your > domain. > > >> On Apr 13, 2020, at 6:52 PM,

Re: Problem simulating a location

2020-04-15 Thread Graham Samuel via use-livecode
Panos, this is solid gold as far as I’m concerned! I had no idea that mobileStartTrackingSensor would return control to the script without finishing its job, Wouldn’t it be better, since it isn’t blocking, to provide some sort of status token that could be queried by script? Thanks also for the

Re: Keyhole effect?

2020-04-15 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2020-04-15 02:30, Richard Gaskin via use-livecode wrote: >> Monte Goulding wrote: >> >>> If I understand what you want correctly then: >>> >>> Create image >>> Create mask object >>> Group both >>> Set the ink of the mask object to blendDstIn >>> Set the ink of the grou

Re: Hijack the property inspector?

2020-04-15 Thread Håkan Liljegren via use-livecode
I didn't remember that the datagrid is actually a group, well kind of. I'll take a look at that. Thanks for the info. Håkan On 15 Apr 2020, 18:31 +0200, Ali Lloyd via use-livecode , wrote: > This is possible - you would need to look at how the datagrid does it: > https://github.com/livecode/live

Re: Hijack the property inspector?

2020-04-15 Thread Ali Lloyd via use-livecode
This is possible - you would need to look at how the datagrid does it: https://github.com/livecode/livecode-ide/blob/develop/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.DataGrid.tsv Each datagrid property uses a custom getter / setter defined in the IDE l

LC Server / Innerhtml / JavaScript

2020-04-15 Thread Ralph DiMola via use-livecode
This took me a while to figure out. If anyone else needs this functionality this can save you a lot of searching and testing. Problem: 1) You have a web page already loaded in the client browser with an empty . 2) You insert html into the innerHTML of the from an LC server callback. 3) The html

Re: Problem simulating a location

2020-04-15 Thread panagiotis merakos via use-livecode
Hello Graham, I have done a couple of tweaks to your code, and I can now successfully read the location data from the simulator. First thing - it is not suggested to call all these 3 commands/functions in one go: mobileStartTrackingSensor mobileSensorReading() mobileStopTrackingSensor as the "m

Hijack the property inspector?

2020-04-15 Thread Håkan Liljegren via use-livecode
When building widgets we can quite easily “inject" the properties into the ordinary property inspector. I often build new controls out of LiveCode controls and mainly a group of controls. Currently I have my own system with my own tools palette for dragging them to the current card and my own “p

Re: Keyhole effect?

2020-04-15 Thread Mark Waddingham via use-livecode
On 2020-04-15 02:30, Richard Gaskin via use-livecode wrote: Monte Goulding wrote: If I understand what you want correctly then: Create image Create mask object Group both Set the ink of the mask object to blendDstIn Set the ink of the group to blendSrcOver Super, Monte. That works well. I w