Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
Here's a link to the post in the archives: http://lists.runrev.com/pipermail/use-livecode/2018-September/250326.html I could get close, but still needed to work out a way to translate the path to improve upon what was already discussed. (I can get the actual bounding box, but it doesn't really

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
You do not need a file, but you do need additional code. I found a handler from a Sep 2018 thread that wraps a path to form the input needed for the compile. LC Mark mentioned an internal call that could enhance the process but I didn’t see any code that leveraged it. Let me take a crack at

Re: Updating a menubar button on Mac

2020-09-21 Thread J. Landman Gay via use-livecode
When the menu is placed into the system menu on Macs the buttons no longer receive messages but the group does, so update everything at once on mouseDown in the group script. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September

Re: Updating a menubar button on Mac

2020-09-21 Thread Devin Asay via use-livecode
Populate it on mouseDown? I’ve done this lots, but mainly with option menus. > On Sep 21, 2020, at 4:55 PM, David Epstein via use-livecode > wrote: > > I can use a “mouseEnter” handler to update a menu button’s contents just > before the user displays that menu. But if that menu button is

Updating a menubar button on Mac

2020-09-21 Thread David Epstein via use-livecode
I can use a “mouseEnter” handler to update a menu button’s contents just before the user displays that menu. But if that menu button is part of the stack’s menubar group on a Mac, the Mac menu does not seem to receive the mouseEnter message and the menu is not updated. Is there a workaround?

Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Vedas > A Random Selection > of Sutras > > gets turned around. It becomes > > Vedas > A Random Selection > of Sutras > > ?? where does the font size becomes "34" . HtmlText is not HTML. It was added to the engine as a convenient way to use HTML-like

Re: Create image from SVG widget

2020-09-21 Thread Klaus major-k via use-livecode
Hi Brian > Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode > : > > This may be what you're looking for: > > put drawingSvgCompile(tFileText) into tDrawing > set the text of image "svgImage" to tDrawing > http://forums.livecode.com/viewtopic.php?f=10=30441#p163024 > The stack in the

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
This may be what you're looking for: put drawingSvgCompile(tFileText) into tDrawing set the text of image "svgImage" to tDrawing http://forums.livecode.com/viewtopic.php?f=10=30441#p163024 The stack in the forum post will let you see the difference in how a particular svg file is rendered in

Re: Create image from SVG widget

2020-09-21 Thread Klaus major-k via use-livecode
Hi Mark, > Am 21.09.2020 um 22:31 schrieb Mark Wieder via use-livecode > : > On 9/21/20 12:57 PM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I need a little hint, I forgot what command creates an image >> from an SVG widget. 8-) >> ... >> set the text of img 1 to ???(???) >> ... >>

Re: Create image from SVG widget

2020-09-21 Thread Mark Wieder via use-livecode
On 9/21/20 12:57 PM, Klaus major-k via use-livecode wrote: Hi friends, I need a little hint, I forgot what command creates an image from an SVG widget. 8-) ... set the text of img 1 to ???(???) ... Thanks for any hint! Dunno. I export a snapshot from the widget. -- Mark Wieder

Create image from SVG widget

2020-09-21 Thread Klaus major-k via use-livecode
Hi friends, I need a little hint, I forgot what command creates an image from an SVG widget. 8-) ... set the text of img 1 to ???(???) ... Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-livecode

Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Paul Hibbert via use-livecode
> On 21Sep, 2020, at 10:55, Sannyasin Brahmanathaswami via use-livecode > wrote: > > ?? where does the font size becomes "34" . Even with the font size of field > increases, it stays at size="34”?? I would say from the h1 attribute that sets the text as a heading, h1 being the largest size.

Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Sannyasin Brahmanathaswami via use-livecode
I found it: button "Check HTML" on mouseUp If "" is in field "mainText" then -- htmltext is there set the htmlText of field "mainText" to field "mainText" else put the htmltext of field "mainText" into field "mainText" end if end mouse BUT! Vedas A Random Selection of

Re: formattedHeight formattedWidth on android

2020-09-21 Thread scott--- via use-livecode
Hmm… Well now I can’t reproduce the issue that consumed a fair number of hours yesterday. Which, (with the exception of lost hours) is a very good thing. — Scott Morrow > On Sep 20, 2020, at 7:11 PM, scott--- via use-livecode > wrote: > > I’ve recently run into what feels like a bug with