Re: autohilite FUBAR?

2021-04-02 Thread Richmond via use-livecode

I can confirm that this does not happen on Mac OS 11 with LC 9.6.1

Richmond

On 3.04.21 6:30, Roger Guay via use-livecode wrote:

Not so for me on Mac OS Big Sur and LC 9.6

Roger


On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode 
 wrote:

I tested this and it is true. As you move the Mouse across the button (in the 
mouse-Down) it does flash.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of Richard 
Gaskin via use-livecode
Sent: Friday, April 02, 2021 2:26 PM
To: How to use LiveCode 
Cc: Richard Gaskin 
Subject: autohilite FUBAR?

I recently noticed that if you hold the mouse down on a button and move it, the 
button doesn't stay highlighted, but instead the highlight  flashes.

Anyone else seeing this?  Anyone have a clue as to when it first went south?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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



___
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


RE: autohilite FUBAR?

2021-04-02 Thread chipsm themartinz.com via use-livecode
I will clarify that my test was on a Windows 10 computer and LiveCode 64.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of Roger 
Guay via use-livecode
Sent: Friday, April 02, 2021 8:30 PM
To: How to use LiveCode 
Cc: Roger Guay 
Subject: Re: autohilite FUBAR?

Not so for me on Mac OS Big Sur and LC 9.6

Roger

> On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode 
>  wrote:
> 
> I tested this and it is true. As you move the Mouse across the button (in the 
> mouse-Down) it does flash.
> 
> Sincerely,
> 
> Clarence Martin
> Email: chi...@themartinz.com
> Phone: 626 6965561
> 
> -Original Message-
> From: use-livecode  On Behalf 
> Of Richard Gaskin via use-livecode
> Sent: Friday, April 02, 2021 2:26 PM
> To: How to use LiveCode 
> Cc: Richard Gaskin 
> Subject: autohilite FUBAR?
> 
> I recently noticed that if you hold the mouse down on a button and move it, 
> the button doesn't stay highlighted, but instead the highlight  flashes.
> 
> Anyone else seeing this?  Anyone have a clue as to when it first went south?
> 
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web  
> 
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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

___
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


Re: autohilite FUBAR?

2021-04-02 Thread Roger Guay via use-livecode
Not so for me on Mac OS Big Sur and LC 9.6

Roger

> On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode 
>  wrote:
> 
> I tested this and it is true. As you move the Mouse across the button (in the 
> mouse-Down) it does flash.
> 
> Sincerely,
> 
> Clarence Martin
> Email: chi...@themartinz.com
> Phone: 626 6965561
> 
> -Original Message-
> From: use-livecode  On Behalf Of 
> Richard Gaskin via use-livecode
> Sent: Friday, April 02, 2021 2:26 PM
> To: How to use LiveCode 
> Cc: Richard Gaskin 
> Subject: autohilite FUBAR?
> 
> I recently noticed that if you hold the mouse down on a button and move it, 
> the button doesn't stay highlighted, but instead the highlight  flashes.
> 
> Anyone else seeing this?  Anyone have a clue as to when it first went south?
> 
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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


Re: Star score graphic generator achievable with inks... or...?

2021-04-02 Thread Martin Koob via use-livecode
Hi again

I just installed it following the instructions here

https://gist.github.com/matthewmaier/a803283ffa46a28e27fd

It seems to do the job.

Martin


> On Apr 2, 2021, at 6:51 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi David
> 
> If I understand what you want you could use the Segmented Control Widget to 
> get what you want.
> 
> https://livecode.com/livecode-widgets-the-segmented-control/
> 
> It just has full ratings, i.e. whole stars however  in a comment to that 
> tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode 
> Builder Widget has 10 states (half-stars)"
> https://github.com/PaulMcClernan/community.livecode.widget.fivestars
> 
> I think this would do what you need.
> 
> You would need to install the widget in your IDE to use it.
> 
> Martin
> 
>> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode 
>>  wrote:
>> 
>> Of course what you suggest is a perfect solution.  
>> 
>> Someone had to mail me off list and explain it using very small words.
>> 
>> Cheers
>> 
>> David G
>> 
>>> On 2 Apr 2021, at 10:08 am, David V Glasgow  wrote:
>>> 
>>> 
>>> 
 On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode 
  wrote:
 
 Actually I think you would have to set the width of the top group, then 
 set the left of the top group to the left of the bottom group. Simply 
 changing the right will move the group I think. Just going off memory.
 
 Bob S
 
>>> 
>>> 
>>> Thanks,Bob,  but as I understand what you are saying, wouldn’t that only 
>>> trade in whole stars?  The easiest way to do that would be with icon 
>>> switching - I want to have the last star part gold and part grey, (with a  
>>> vertical boundary through the star) if that is what is demand by the mean 
>>> feedback score being represented.
>>> 
>>> I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars 
>>> each representing a degree of  ‘goldness’ and I will just set the stars 
>>> Icons as required.  Duh!  Actually 11 stars, I will need a 0% gold.
>>> 
>>> Thanks anyway
>>> 
>>> Cheers
>>> 
>>> David G
>> 
>> 
>> ___
>> 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


Re: Star score graphic generator achievable with inks... or...?

2021-04-02 Thread Martin Koob via use-livecode
Hi David

If I understand what you want you could use the Segmented Control Widget to get 
what you want.

https://livecode.com/livecode-widgets-the-segmented-control/

It just has full ratings, i.e. whole stars however  in a comment to that 
tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode 
Builder Widget has 10 states (half-stars)"
https://github.com/PaulMcClernan/community.livecode.widget.fivestars

I think this would do what you need.

You would need to install the widget in your IDE to use it.

Martin

> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode 
>  wrote:
> 
> Of course what you suggest is a perfect solution.  
> 
> Someone had to mail me off list and explain it using very small words.
> 
> Cheers
> 
> David G
> 
>> On 2 Apr 2021, at 10:08 am, David V Glasgow  wrote:
>> 
>> 
>> 
>>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode 
>>>  wrote:
>>> 
>>> Actually I think you would have to set the width of the top group, then set 
>>> the left of the top group to the left of the bottom group. Simply changing 
>>> the right will move the group I think. Just going off memory.
>>> 
>>> Bob S
>>> 
>> 
>> 
>> Thanks,Bob,  but as I understand what you are saying, wouldn’t that only 
>> trade in whole stars?  The easiest way to do that would be with icon 
>> switching - I want to have the last star part gold and part grey, (with a  
>> vertical boundary through the star) if that is what is demand by the mean 
>> feedback score being represented.
>> 
>> I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars 
>> each representing a degree of  ‘goldness’ and I will just set the stars 
>> Icons as required.  Duh!  Actually 11 stars, I will need a 0% gold.
>> 
>> Thanks anyway
>> 
>> Cheers
>> 
>> David G
> 
> 
> ___
> 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


RE: autohilite FUBAR?

2021-04-02 Thread chipsm themartinz.com via use-livecode
I tested this and it is true. As you move the Mouse across the button (in the 
mouse-Down) it does flash.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of Richard 
Gaskin via use-livecode
Sent: Friday, April 02, 2021 2:26 PM
To: How to use LiveCode 
Cc: Richard Gaskin 
Subject: autohilite FUBAR?

I recently noticed that if you hold the mouse down on a button and move it, the 
button doesn't stay highlighted, but instead the highlight  flashes.

Anyone else seeing this?  Anyone have a clue as to when it first went south?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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


autohilite FUBAR?

2021-04-02 Thread Richard Gaskin via use-livecode
I recently noticed that if you hold the mouse down on a button and move 
it, the button doesn't stay highlighted, but instead the highlight  flashes.


Anyone else seeing this?  Anyone have a clue as to when it first went south?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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


Re: mouseenter/mouseleave and pointer tool

2021-04-02 Thread Tom Glod via use-livecode
Just working in LC now .. I get it now scratch everything I
said.ever.  :/



On Tue, Mar 30, 2021 at 10:04 PM Jim Lambert via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Good suggestions. Thanks, all.
> Commenting out the answer command makes no difference.
> I quit LC and now cannot reproduce the behavior as it is intermittent.
> Next time it happens I'll try Scott's suggestions with the Tool Palette.
>
> Thanks,
> Jim Lambert
>
> ___
> 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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
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


Re: Star score graphic generator achievable with inks... or...?

2021-04-02 Thread David V Glasgow via use-livecode
Of course what you suggest is a perfect solution.  

Someone had to mail me off list and explain it using very small words.

Cheers

David G

> On 2 Apr 2021, at 10:08 am, David V Glasgow  wrote:
> 
> 
> 
>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Actually I think you would have to set the width of the top group, then set 
>> the left of the top group to the left of the bottom group. Simply changing 
>> the right will move the group I think. Just going off memory.
>> 
>> Bob S
>> 
> 
> 
> Thanks,Bob,  but as I understand what you are saying, wouldn’t that only 
> trade in whole stars?  The easiest way to do that would be with icon 
> switching - I want to have the last star part gold and part grey, (with a  
> vertical boundary through the star) if that is what is demand by the mean 
> feedback score being represented.
> 
> I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars 
> each representing a degree of  ‘goldness’ and I will just set the stars Icons 
> as required.  Duh!  Actually 11 stars, I will need a 0% gold.
> 
> Thanks anyway
> 
> Cheers
> 
> David G


___
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


Re: Star score graphic generator achievable with inks... or...?

2021-04-02 Thread David V Glasgow via use-livecode


> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode 
>  wrote:
> 
> Actually I think you would have to set the width of the top group, then set 
> the left of the top group to the left of the bottom group. Simply changing 
> the right will move the group I think. Just going off memory.
> 
> Bob S
> 


Thanks,Bob,  but as I understand what you are saying, wouldn’t that only trade 
in whole stars?  The easiest way to do that would be with icon switching - I 
want to have the last star part gold and part grey, (with a  vertical boundary 
through the star) if that is what is demand by the mean feedback score being 
represented.

I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars each 
representing a degree of  ‘goldness’ and I will just set the stars Icons as 
required.  Duh!  Actually 11 stars, I will need a 0% gold.

Thanks anyway

Cheers

David G
___
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


Re: TreeView Widget Drag and Drop Support

2021-04-02 Thread HENRY LOWE via use-livecode
Many thanks Brian. As you suggested, I have created an enhancement request.

https://quality.livecode.com/show_bug.cgi?id=23147 


Henry

> On Mar 31, 2021, at 3:32 PM, HENRY LOWE via use-livecode 
>  wrote:
> 
> Thanks Brian. I am handling the ‘on DragDrop’ message in the widget’s script 
> but on completing the drop there is no way to determine which row in the 
> TreeView widget the data was dropped into. Ideally when in DragDrop mode the 
> widget would automatically hilite the row that the mouse is currently over 
> (standard drag and drop behavior) so that when the user finally releases the 
> mouse button the row that was the drop target would be available in 'the 
> hilitedElement’ property of the widget. Currently I am having to try to 
> determine which row was dropped on using the mouseLoc to calculate which row 
> I am in.
> 
> On the second issue, I tried using hiliteChanged message but could not get it 
> to work. Do you have an example script to do this?
> 
> Henry
> 
>> On Mar 30, 2021, at 5:06 PM, Sean Cole (Pi) via use-livecode 
>>  wrote:
>> 
>> Hi Henry,
>> 
>> I often take the widgets, like TreeView, and add in other message
>> responders like this. It's real easy to do?
>> 
>> Just make a copy of the widget folder from the LC Tools Folder
>> (Livecode.app/Contents/Tools/Extensions/com.livecode.widget.treeview) and
>> into your own Livecode extensions folder (mine is in ~/Documents/My
>> LiveCode/Extensions/ or my dropbox folder somewhere). Rename the folder
>> from com.livecode. to com.mine. or something. Then open treeview.lcb in
>> BBEdit or TextEdit, etc, from the copy folder. Line 88, change widget
>> com.livecode.widget.treeview to use the new folder name you gave.
>> 
>> Next, search for 'onMouseUp'. you should find:
>> 
>> public handler onMouseLeave() returns nothing
>> put 0 into mHoverRow
>> redraw all
>> end handler
>> 
>> Before that in the code, add in your other handlers (OnDragDrop, etc) using
>> the same syntax. No need to use the put or redraw messages of course. Look
>> in the dictionary, lcb section, to check the handler names to use.
>> 
>> Then, open the manifest.xml from the same folder. Line 2, again
>> change com.livecode.widget.treeview to use the new folder name
>> and Line 3 to something a little more unique. Then again search for
>> onmouseup. You will see:
>> 
>> 
>> 
>> Again, follow the syntax adding in the lines for the handler.
>> 
>> Look through the other files in the folder and change if you wish but it is
>> not essential.
>> 
>> Now in LC, open the extension builder and use the 'open existing..' button
>> to navigate to the folder you created. Then, from the bottom, the install
>> button will build it into the toolbar.
>> 
>> Now you have a customised version. Make sure you add your replacement
>> widget in the standaloneSettings>Inclusions before building your
>> standalones.
>> 
>> All the best
>> 
>> Sean
>> 
>> On Wed, 31 Mar 2021 at 00:26, HENRY LOWE via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I am using the LC TreeView widget to implement a sidebar containing a
>>> hierarchical menu in a MacOS app. The widget seems well suited for this
>>> purpose and I have successfully created a facsimile of the standard sidebar
>>> that is used increasingly in both MacOS and iPadOS apps. However, I need to
>>> drag rows from a data grid table to a TreeView widget row in the sidebar
>>> but the current implementation of the TreeView widget does not report the
>>> TreeView widget row (element) where the drop occurred. A TreeView widget
>>> message, such as 'ActionDragDrop pPath’ where pPath is the path to the
>>> element that was ‘dropped on’ would be incredibly helpful. I have
>>> implemented a workaround method off drag and drop to the widget but it
>>> occasionally breaks.
>>> 
>>> Looking at the LiveCode Builder documentation, widgets can support the
>>> following messages related to drag and drop functionality:
>>> 
>>> OnDragDrop, On DragEnter, OnDragFinish, OnDragLeave, On DragMove, On
>>> DragStart.
>>> 
>>> These messages are not currently supported in the TreeView widget LCB
>>> source. Adding them would make this incredibly useful widget even more
>>> powerful.
>>> 
>>> Another issue that I encountered when using the TreeView widget to
>>> implement a sidebar hierarchical menu was that clicking on a row in the
>>> TreeView widget toggles the row’s hilite state  - click on an item and it
>>> hilites, click on it again and it unhilites. While this may be standard
>>> behavior for a list, in a menu clicking on a hilited row should not change
>>> the row’s hilite state. It should remain hilited. Only clicking on another
>>> row (menu item) should unhilite a row and then hilite the selected row. It
>>> would be great to have a ’togglehilite’ TreeView property. If true the
>>> TreeView would toggle a row’s hilite state as it does now, while if false
>>> it would not.
>>> 
>>>