Levure Dataview: hiding rows

2021-06-24 Thread David Bovill via use-livecode
Im exploring how to hide a row in Levure Dataview. I can delete the row and 
reset the dvData - but that seems overkill. On GitHub there is a mention of 
HideRowControl?

I’m running into the limits of the documentation for Dataview. Any ideas?

    Schedule a call with me
On 22 Jun 2021, 05:08 +0100, David Bovill , wrote:
> Hah - hey thanks for that Sean. The recipe feels a bit like going to the 
> government and filling in forms in triplicate to get your life back :)
>
>     Schedule a call with me
> On 22 Jun 2021, 03:15 +0100, Sean Cole (Pi) via use-livecode 
> , wrote:
> > Hi David,
> >
> > iOS 'fir' / 'for' issue.
> >
> > I don't know if this already got answered elsewhere in the thread. There
> > are two easy fixes for this.
> >
> > 1. In Notes, type 'Fir always' then select the word 'Fir' and from the
> > pop-up menu select 'replace...' then replace with 'For'. Delete the line of
> > text and repeat nine times.
> > Now repeat this whole thing but use the phrase 'Once fir all'. If this
> > corrects to 'for' right away then it is already fixed. Otherwise, continue
> > using this phrase replacing 'fir' with 'for'.
> >
> > 2. If this still does not fix it, in
> > Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement
> > 'for'.
> >
> > (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is
> > the last resort.)
> >
> > All the best
> >
> > Sean
> >
> >
> > On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > I’d like to add an image background to a Dataview, so that is scrolls
> > > alongside the rows.
> > >
> > > Any pointers?
> > >
> > >  Schedule a call with me
> > > On 11 Jun 2021, 18:01 +0100, David Bovill , wrote:
> > > > So I got visual feedback from drag-and-drop using the Levure DataView
> > > following instructions at:
> > > >
> > > > • https://github.com/trevordevore/levurehelper-dataview
> > > >
> > > > I add the following code to the DataView:
> > > > > quote_type
> > > > > on dragStart
> > > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me
> > > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true
> > > > > set the dragData["private"] to the dvHilitedRows of me # dragdata has
> > > to be set to something.
> > > > > end dragStart
> > > > >
> > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, 
> > > > > pProposedDropOperation
> > > > > put "Dragging" && pProposedRow && pProposedDropOperation
> > > > > return true
> > > > > end ValidateRowDrop
> > > > >
> > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation
> > > > > put "Dropped" && pRow && pDropOperation
> > > > > end AcceptRowDrop
> > > > >
> > > > But the ValidateRowDrop message does not get sent, also I don’t get any
> > > visual feedback with a "drop indicator" (the line that shows you where the
> > > drop will occur) - any idea?
> > > >
> > > >  Schedule a call with me
> > > > On 11 Jun 2021, 16:03 +0100, David Bovill ,
> > > wrote:
> > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as
> > > Trevor is the main man with the drag stuff and having differenr styles for
> > > rows is a must.
> > > > >
> > > > > NB on the typo front I have a distant memory that aeons ago when I
> > > first got an iPhone I said yes to the spelling “fir”. Ever since then all
> > > my devices seem to love this word - anyone have an idea how to correct 
> > > this
> > > auto typing flaw?
> > > > >
> > > > >  Schedule a call with me
> > > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode <
> > > use-livecode@lists.runrev.com>, wrote:
> > > > > > Hi David,
> > > > > >
> > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode <
> > > use-livecode@lists.runrev.com>:
> > > > > > >
> > > > > > > Is there a simple demo out there that shows how drag-reordering of
> > > rows in a dataview works? Is this feature experimental? Got a deadline fir
> > > Monday considering taking the plunge?
> > > > > >
> > > > > > Levite Dataview? 8-)
> > > > > > Sure you do not mean LC datagrid?
> > > > > >
> > > > > > >  Schedule a call with me
> > > > > >
> > > > > > No. :-D
> > > > > >
> > > > > >
> > > > > > Best
> > > > > >
> > > > > > Klaus
> > > > > > --
> > > > > > Klaus Major
> > > > > > https://www.major-k.de
> > > > > > https://www.major-k.de/bass
> > > > > > kl...@major-k.de
> > > > > >
> > > > > >
> > > > > > ___
> > > > > > use-livecode mailing list
> > > > > > use-livecode@lists.runrev.com
> > > > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > 

Re: SVG Library

2021-06-24 Thread David Bovill via use-livecode
Thanks for the info. Until now I’ve been displaying SVGs in the browser widget 
- you might want to try that for more advanced SVGs?

I was thinking more of creating svgs using LiveCode. My use case is multiple 
coloured lines - I don’t want to use too many graphic controls so I thought I’d 
create a single SVG.

I want D3 for LiveCode :)

    Schedule a call with me
On 22 Jun 2021, 14:11 +0100, Bleiler, Timothy via use-livecode 
, wrote:
> I’d like to do the same thing David. I ran into the following problems on 
> MacOS 11.3 with all versions of Livecode 9.
>
> I tried using Pixelmator and Inkscape. Pixelmator Pro worked ok but most of 
> its effects don’t export to SVG. I haven’t been able to get Inkscape to work.
>
> There is a confirmed bug (https://quality.livecode.com/show_bug.cgi?id=23216) 
> in Livecode 9 that cause linear and radial gradients to fail to render.
>
> Livecode has no support for any SVG effects filters but simpler SVG files 
> work well.
>
> I’m hoping the bug is fixed soon and then at least basic SVG will be 
> supported again. The SVG files do look much better when scaled up than .png 
> or .jpg. and you can avoid having to store all the different sizes of files 
> when trying to minimize the scaling problem.
>
>
> Tim Bleiler, Ph.D.
> Instructional Designer, HSIT
> University at Buffalo
>
> On Jun 22, 2021, at 1:52 AM, David Bovill via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
>
> I’d like to be able to construct SVG’s easily that work with 
> DrawingSvgCompile. Any thoughts?
>
>  Schedule a call with me
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode