[blog] Power Tools

2022-08-15 Thread Heather Laine via use-livecode
Dear List Folks, Just dropping a note to draw your attention to a fine blog post by Mr Mark Wieder: https://livecode.com/power-tools/ Enjoy! Warm Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com ___

More Server Silliness

2022-08-15 Thread Tim Selander via use-livecode
With Alex and everyone's help, I got the global vs cookies, etc., sorted out and am happily paginating away with my little membership web site. With Kenji's help, I got automatic address fill-in from Japanese zip codes. However, I was looking at LiveCode's server samples

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Craig Newman via use-livecode
Hi. I am missing something. Make a popup menu button. Ina mouseUp handler in another button: on mouseUp click at the loc of btn 1 end mouseUp Once the menu is open, the up and down arrow keys navigate among the menuItems. Craig > On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode >

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Craig Newman via use-livecode
Hi, I was not complete. Once the arrow keys have found the menuItem of interest, clicking Enter or Return executes the menuPick handler. Craig > On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode > wrote: > > Hi all. Very odd, I thought this worked. > > I am programmatically popping

Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
So, I bought the Summer Bundle. Yes, it is a good deal. In my case it was primarily for the Polygrid widget. Our application uses a Datagrid to display customer research data. The columns headers are text and the left most column ROWs are test and all other cells are numbers. Some customers

Re: More Server Silliness -- Nevermind

2022-08-15 Thread Tim Selander via use-livecode
Using Firefox developer tools, found out jquery was not loading property. Hangs head in shame at rookie mistake... Still not working properly, but continue to poke at it. Tim Selander On 2022.08.15 21:58, Tim Selander via use-livecode wrote: With Alex and everyone's help, I got the global vs

Re: Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
FYI, I also just tested on a MacBook Air, M1, running Monterey with LC9.6.8 and the version 1.0.0 of the Summer Bundle widget packs and the PolyGrid and my sample stack displayed for me at 10, 100, and 500 columns and rows. On 8/15/2022 4:01 PM, Mark Smith via use-livecode wrote: Hi Paul,

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
Hi Craig. It's not a popup menu it's a combo box. I do use popup menus and those work as advertized. When I click to expand a combo box menu, it I get the list of items, and if I click an item, it correctly selects that item. If however I use the arrow keys to hilite an item then use the

Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
I should also mention that menuPick IS getting triggered, but if I use spacebar or return to select, the parameter for which item got picked is empty. If I click then the parameter is NOT empty it's the item I clicked. Bob S > On Aug 15, 2022, at 15:03 , Bob Sneidar via use-livecode >

Re: Polygrid sorting (problems)

2022-08-15 Thread Mark Wieder via use-livecode
On 8/15/22 16:22, Alex Tweedly via use-livecode wrote: I haven't tried csvdata or tsvdata (they're not listed in the dictionary, so I'd tend to avoid them if possible. I do see tsvData in the dictionary, but I'm getting weird errors thrown from the widget when I try to use it. May still be

Re: Polygrid sorting (problems)

2022-08-15 Thread Paul Dupuis via use-livecode
So there is an example of sorting in the PolyGrid documentation under the entry for the MESSAGE "headerClick" and under the entry to the PROPERTY "text" (and in 'the text of me') The example code only sort the visible rows as "the text of widget X" returns the data of PolyGrid X as tab

Re: Polygrid sorting

2022-08-15 Thread Mark Smith via use-livecode
Hi Paul, I downloaded your sample stack, put 100 into the Columns field, heard 3 audible beeps but no data (or PolyGrid) appeared. There is data in the pgcolumnnames and pgdata custom properties (so those values were defined). It’s just the grid that did not appear. Thinking it might be my

Re: Polygrid sorting (problems)

2022-08-15 Thread Alex Tweedly via use-livecode
On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote: So there is an example of sorting in the PolyGrid documentation under the entry for the MESSAGE "headerClick" and under the entry to the PROPERTY "text" (and in 'the text of me') The example code only sort the visible rows as "the text

Re: Polygrid sorting (problems)

2022-08-15 Thread Paul Dupuis via use-livecode
On 8/15/2022 7:51 PM, Paul Dupuis via use-livecode wrote: On 8/15/2022 7:22 PM, Alex Tweedly via use-livecode wrote: On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote: So there is an example of sorting in the PolyGrid documentation under the entry for the MESSAGE "headerClick" and under

Re: Polygrid sorting

2022-08-15 Thread Mark Wieder via use-livecode
On 8/15/22 13:12, Paul Dupuis via use-livecode wrote: So I see that the Summer Bundle of widgets in the store has a note that says "Latest update 1.0.19: 11 August 2022" However, the Download button says "Version 1.0.0". Does anyone know how to update the widget set to 1.0.19 or how to update

Re: Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
On 8/15/2022 4:55 PM, Mark Wieder via use-livecode wrote: On 8/15/22 13:12, Paul Dupuis via use-livecode wrote: So I see that the Summer Bundle of widgets in the store has a note that says "Latest update 1.0.19: 11 August 2022" However, the Download button says "Version 1.0.0". Does anyone

Re: Sorting [was: Polygrid sorting]

2022-08-15 Thread Bob Sneidar via use-livecode
Datagrids have this feature, so yes, I would expect there to be some way to specify what kind of sort you want to do. But it would have to be on a per column basis. But if you are sorting the text yourself, you can use the syntax: sort lines of tText by item n of each. I don't think any

Re: Sorting [was: Polygrid sorting]

2022-08-15 Thread Paul Dupuis via use-livecode
Perhaps some expansion of the column "pgContentTypeofColumn" property? The current possible values are: text|svg-lcname|imagedata|imagefile|color|boolean|autoincrement Allowing the addition of 'numeric' and 'datetime' would at least allow a mapping to sorts although sort support 'international'

Re: Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
So I see that the Summer Bundle of widgets in the store has a note that says "Latest update 1.0.19: 11 August 2022" However, the Download button says "Version 1.0.0". Does anyone know how to update the widget set to 1.0.19 or how to update a single widget? On 8/15/2022 2:29 PM, Paul Dupuis

Re: Polygrid sorting (problems)

2022-08-15 Thread Paul Dupuis via use-livecode
On 8/15/2022 7:22 PM, Alex Tweedly via use-livecode wrote: On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote: So there is an example of sorting in the PolyGrid documentation under the entry for the MESSAGE "headerClick" and under the entry to the PROPERTY "text" (and in 'the text of

Re: Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
Okay, I built the stack and tested it under Windows 10. The 3 beeps are intentional. It is to let me know when it is done as some test with 500+ columns/rows takes a while. It does display under LC9.6.8 (64 bit) on Windows 10. Now I have to go try it on macOS? On 8/15/2022 4:01 PM, Mark

Re: Polygrid sorting

2022-08-15 Thread Paul Dupuis via use-livecode
I just tested on macOS Mojave (10.14) on an Intel MacBook Pro and the PolyGrid and my sample stack work as expected. Tried 10, 100, and 500 columns/rows. Now I have to find the MacBook Air with Monterey and see... 8/15/2022 4:01 PM, Mark Smith via use-livecode wrote: Hi Paul, I downloaded

Sorting [was: Polygrid sorting]

2022-08-15 Thread Alex Tweedly via use-livecode
So it occurred to me, while playing with sorting by columns, that it might be nice to have an additional "sortType" available. I'd like to be able to say  - if all the 'things' being sorted on are numbers, then sort numeric, otherwise sort alphabetical. Would that be a reasonable

Re: Polygrid sorting (problems)

2022-08-15 Thread Bob Sneidar via use-livecode
I think they are trying to be consistent with datagrid terminology, perhaps thinking that a tabular data object has become a new class of objects. Bob S > On Aug 15, 2022, at 16:22 , Alex Tweedly via use-livecode > wrote: > > > On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote: >>

Re: Polygrid sorting (problems)

2022-08-15 Thread Mark Wieder via use-livecode
On 8/15/22 16:43, Mark Wieder via use-livecode wrote: On 8/15/22 16:22, Alex Tweedly via use-livecode wrote: I haven't tried csvdata or tsvdata (they're not listed in the dictionary, so I'd tend to avoid them if possible. I do see tsvData in the dictionary, but I'm getting weird errors