Re: [Ann] An accordion widget

2025-01-15 Thread Niggemann, Bernd via use-livecode
ce of work. Like the datagrid, it shows what can be done with native LC controls and good ingenuity. Bob S > On Jan 11, 2025, at 4:08 AM, Niggemann, Bernd via use-livecode > wrote: > > Hello all, > > I uploaded a slightly updated version of "Accordion" to the Forum. &

Re: [Ann] An accordion widget

2025-01-11 Thread Niggemann, Bernd via use-livecode
Hello all, I uploaded a slightly updated version of "Accordion" to the Forum. Code cleanup and subtle change to appearence (even more "material design") Accordion for LC

Re: How to Return the Exponent

2024-12-18 Thread Niggemann, Bernd via use-livecode
Hi Roger, This does work: Please note the quotes, in your mail it was curly quotes that do not work apart from asking for "word" instead of "token". on mouseUp set the itemDel to "^" put token 3 of item 2 of "((1234…)^1/x)" into field 1 set the itemDelimiter to "/" put cr & toke

Re: [Ann] An accordion widget

2024-12-17 Thread Niggemann, Bernd via use-livecode
Tom Glod via use-livecode Mon, 16 Dec 2024 19:43:03 -0800 Nice! Thank you, what license is this und

Re: [Ann] An accordion widget

2024-12-15 Thread Niggemann, Bernd via use-livecode
Peter, Mark Thank you for testing bnAccordion. I am glad you liked it. Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lis

[Ann] An accordion widget

2024-12-14 Thread Niggemann, Bernd via use-livecode
Hi all, I posted an accordion widget on the forum Accordion for LC forums.livecode.com

Re: Cropping invisible images

2024-09-25 Thread Niggemann, Bernd via use-livecode
jbv wrote: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Cropping invisible images

2024-09-25 Thread Niggemann, Bernd via use-livecode
jbv wrote: >"One more question : what happens to the imagedata >when an image is resized ? >For instance : > > put width of img 1 into w > put height of img 1 into h > put w/h into tratio > set width of img 1 to 150 > set height of img 1 to 150/tratio > >And then when you crop the image..

Re: Cropping invisible images

2024-09-24 Thread Niggemann, Bernd via use-livecode
jbv wrote: "Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results..." I tried to crop images with and without transparencies (both png images) programmatically as visible or hidden images and it worked all the time. Imagedata was what

Re: CharToNum Depricated??

2024-09-17 Thread Niggemann, Bernd via use-livecode
Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button

Re: CharToNum Depricated??

2024-09-15 Thread Niggemann, Bernd via use-livecode
Hi Bob, charToNum has been deprecated, I think since LC 7.0 It is replaced by nativeCharToNum() and byteToNum (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) This covers the ASCII range. For unicode you use codepointToNum() I suspect that the small difference you see in

Re: LivecodeShare/revOnline - How to upload?

2024-09-12 Thread Niggemann, Bernd via use-livecode
Hi Matthias, If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. However using LC 9.6.13 it shows up as usual. This supposes that you were logged in. Otherwise it will give you the op

Re: Date and time format question

2024-07-30 Thread Niggemann, Bernd via use-livecode
Similar to Bob's and Jaque's but includes the delimiters: Additionally adds Minutes and +- offsets E.g. Nepal is 5 Hours 45 Minutes ahead of GMT/UTC -- -- create UTC timestamp: -- format: "2013-07-20T00:00:00Z" put the in

Re: use-livecode Digest, Vol 250, Issue 1

2024-07-28 Thread Niggemann, Bernd via use-livecode
Hi David, Here is a script that lets you compare filter operations on lists or arrays. With and without unicode. put it into a button and make a field "fRes" and hold down the option/alt key to test unicode, else it is ASCII. - on mouseUp

[ANN] A new version of TinyDictionary

2024-07-16 Thread Niggemann, Bernd via use-livecode
A new version of TinyDictionary has been uploaded to Livecodeshare https://livecodeshare.runrev.com/stack/825/TinyDictionary or download it from within the IDE from "Sample Stacks" Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.run

Re: Snapshot question

2024-06-02 Thread Niggemann, Bernd via use-livecode
Neville wrote Now while referenced images such as png’s can be rotated (more precisely, have their angle set) they lose their scaling, reverting to their native size; and rotated images cannot be scaled (why?? set the resizeQuality of the image to good or best depending on your image (images get

Re: Snapshot question

2024-06-02 Thread Niggemann, Bernd via use-livecode
Neville wrote > Now while referenced images such as png’s can be > rotated (more precisely, have their angle set) they lose their scaling, > reverting to their native size; and rotated images cannot be scaled (why?? set the resizeQuality of the image to good or best depending on your image (im

Re: Snapshot question

2024-05-31 Thread Niggemann, Bernd via use-livecode
Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame Have you tried as "png"? It should make the black corners transparent. export snapshot from graphic "g1" to image "iDest" as png Kind rega

Re: Code Folding in LC

2024-05-15 Thread Niggemann, Bernd via use-livecode
A new version of Code Folding has been uploaded to the Forum https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=229971#p229971 It addresses a couple of bugs and has been tested to work from 9.6.9 up to 9.6.12 (RC1) and 10.0.0 (DP8) Kind regards Bernd ___

Help converting python one-liner...

2024-04-25 Thread Niggemann, Bernd via use-livecode
Hi David, Are you sure that sImage contains the data you want? What happens if instead of: put url imageUrl into sImage you do: put url("binfile:" & imageURL) into sImage Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev

Code Folding in LC

2024-02-22 Thread Niggemann, Bernd via use-livecode
For all those interested in Code Folding a new version has been posted to the forum. Easier install and some minor bug fixes. https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=228244&sid=2a60c9420c1615aca35c5957252b7d8e#p228244 Kind regards Bernd ___

Code Folding in LC

2024-02-13 Thread Niggemann, Bernd via use-livecode
Dear list I posted a stack on the Forum that temporarily installs Code Folding to LC version 9.6.9, 9.6.10, 9.6.11, or 10.0.0 DP 7. These changes are lost when closing LC Future versions might make changes to the installation stack necessary depending on the IDE changes in those versions. http

Re: Bug 23507 - LC Clipboard Polling Failure

2024-01-17 Thread Niggemann, Bernd via use-livecode
Curry, > Any progress to fix LC's Clipboard Polling Failure Bug? I tried your code on MacOS Monterey using LC 9.6.11 and LC 10.0.0 DP-7. I saw after a short time gibberish and at times empty clipboard content. No crash though. I then changed to 'fullClipboardData' instead of 'ClipboardData' and

Re: Property Inspector bug for keys with commas in the key name

2023-11-05 Thread Niggemann, Bernd via use-livecode
Hi Paul, I forgot to add handler editorUpdate to the list that needs a "set the itemDelimiter to tab" Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your sub

Re: Property Inspector bug for keys with commas in the key name

2023-11-05 Thread Niggemann, Bernd via use-livecode
Hi Paul, I looked a bit further into the problem with commas in key names of custom properties. It turns out that the widget "treeview" has the option to choose a delimiter for paths. Default is comma. If you feel adventurous you could hack the properties inspector fairly easily to work with c

Property Inspector bug for keys with commas in the key name

2023-11-03 Thread Niggemann, Bernd via use-livecode
Hi Paul, The problem with the comma in a customproperty name in the Properties Inspector (PI) arises because the PI uses a treeview to display the customproperties. More specifically the "hilitedElement" to retrieve the current selection and "hilitedElement" has the form: "A comma delimited lis

Re: Me and target of script widgets

2023-10-22 Thread Niggemann, Bernd via use-livecode
Hi David, Stam Kapetanakis has done a script widget which can be found at https://github.com/stam66/tristate/blob/main/com.sk.widget.tristate.livecodescript Script Widgets are new and a bit special. Not as much as LCB but still. You can use Stam's widget as a template of a working script widget.

Re: A spinner that keeps spinning

2023-05-02 Thread Niggemann, Bernd via use-livecode
Andreas Bergendal wrote: > Inspired by some comment over at the forum, I embarked on building myself a > tool for crafting spinners animated in browser widgets, as those would > continue > spinning in a heavenly layer of its own, no matter what traffic jams occur > down > on LC ground level…

RE: card background color

2023-04-20 Thread Niggemann, Bernd via use-livecode
Douglas A. Ruisaard wrote: > Hey! ... half an answer is better than none at all. BTW the background color used for stacks while dragging a control from the toolbar is supposedly the "Edition Color" While I like the blue as "Edition Color" it is a little dark as background color. Just wait unti

RE: card background color

2023-04-20 Thread Niggemann, Bernd via use-livecode
Douglas A. Ruisaard wrote: > Thanks for the tip .. however, while the background setting *does* control > the background color of the input field on the Message Box, it does NOT > affect the dark blue "highlight" within the field when the Box display > previous commands. Sorry, I did not get that

RE: card background color

2023-04-20 Thread Niggemann, Bernd via use-livecode
Douglas A. Ruisaard wrote: > The input line (?) on the MessageBox is also that deep blue ... I scanned > thru the C:\Program Files\RunRev\LiveCode 9.6.8 directory but couldn't find > any obviously relevant reference For me the backgroundcolor of the input line of the MessageBox is controlled by

Re: card background color

2023-04-19 Thread Niggemann, Bernd via use-livecode
Bob Sneidar wrote: > Won't that revert next time LC is downloaded and installed? You could write a plug-in that patches the Home stack on every startUp of LC. That will work until that handler of stack "Home" is changed. Kind regards Bernd ___ u

Re: card background color

2023-04-19 Thread Niggemann, Bernd via use-livecode
Douglas A. Ruisaard wrote > When I drag a new object from the > Tools Palette onto a card, as the object "enters" the destination card, the > background of that card turns a VERY dark blue . making the visibility of > the object-being-dragged very difficult to see until I release the mouse > butto

Re: Scalefactor positioning

2023-03-08 Thread Niggemann, Bernd via use-livecode
> J. Landman Gay wrote > I need to set the scalefactor of a stack and position it at the screenloc. on mouseUp local tScaleFactor, tScreenLoc, tNewStackLoc put the scaleFactor of this stack into tScaleFactor put the screenLoc into tScreenLoc put item 1 of tScreenLoc / tScaleFactor int

Re: Sort list alphabetically- ignoring first character if it is a space

2023-02-20 Thread Niggemann, Bernd via use-livecode
> David V Glasgow wrote: > I am trying to alphabetically sort a list of unique strings, some of which > have > a leading space character. I need these to sort as if the second character > is > the first character rather than all space prefixed strings being bunched > together. Would sort t

Re: Maximum field size

2023-01-19 Thread Niggemann, Bernd via use-livecode
I tried to put text into a field on an arm MacBook Pro 32 GB memory, LC 9.6.9 rc2 running natively. I realise that this is 64 bit. I took a couple of lines of Lorem Ipsum and put it into a field. Then I put the formattedText of that field into the field to force lineFeeds at every visible line.

Re: Maximum field size

2023-01-19 Thread Niggemann, Bernd via use-livecode
>> But when I tried to put that variable into a field, LC crashed. When I tried >> to put 140 MB into a field, same crash. I did not continue to reduce the >> length of that variable until the field could be loaded. Craig, >From the User Guide: Maximum length of a line in a field: 65,536 charac

Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode
I have to correct correct myself. https://developer.apple.com/documentation/appkit/nstabview shows the familiar blue hilited button in the screenshot of "Date and Time" in Preferences. But if you look at a recent MacOS (12.6.2 Monterey) and go to Preferences and look at "Date and Time" you se

Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode
>Mark Smith wrote: >I wasn’t able to change the background of the highlighted tab to >blue as per the HIG. Were you? Oh, I overlooked that the hilited button is supposed to be blue and that there seems no way to configure that for the tab group in Livecode Kind regards Bernd _

Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode
Hi Geoff and Mark, The tab group seems to be in line with Apple's current Human Interface Guidelines (HIG) for tabview. https://developer.apple.com/documentation/appkit/nstabview The tab group in the lesson Mark linked to is a prior version of the tabview. What seems to be different from HIG i

Re: currentCard vs current card

2022-12-16 Thread Niggemann, Bernd via use-livecode
>> Yet, I can find no entry for the 'current' keyword in the Dictionary? Is >> this a Dictionary omission? Paul, "current" is a synonym of "this". When you search for "current" you will see "this" among the hits. Click on "this" and you will find "current" as a synonym. LC dictionary does no

Re: ENTER in scripts

2022-11-07 Thread Niggemann, Bernd via use-livecode
Klaus wrote is it only me or does the ENTER key nothing after hitting while in script editor? https://quality.livecode.com/show_bug.cgi?id=23999 Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks. It is well worth to test 9.6.2 rc 2 to cat

Re: System Time Zone

2022-09-07 Thread Niggemann, Bernd via use-livecode
Bob Sneidar via use-livecode Wed, 07 Sep 2022 16:49:43 -0700 Isn't there some kind of function that will return the current system's time zone? Hi Bob, there is a timeZone library in LC, maybe that is of help. Please be aware that some entries in the timeZone library are deprecated. https://qu

Re: BN Guides

2022-08-29 Thread Niggemann, Bernd via use-livecode
> Richard Gaskin via use-livecode Mon, 29 Aug 2022 13:53:13 -0700 > so I'm curious: why this approach and not a frontScript? I thought about why I used behaviors a little more. What intrigued me was the idea that via a behavior a control was made aware of its neighbours. Be it a group or a contro

Re: BN Guides

2022-08-29 Thread Niggemann, Bernd via use-livecode
> Richard Gaskin via use-livecode Mon, 29 Aug 2022 13:53:13 -0700 > > Geoff Canyon wrote: > > > Okay, so it looks like BN Guides works by assigning behaviors to > > controls and temporarily adding controls to your stack as you drag > > things. I think this is meant to be transient as you drag con

Re: BN Guides

2022-08-26 Thread Niggemann, Bernd via use-livecode
Hi Bob, There is an alternative for guide right now https://livecodeshare.runrev.com/stack/1002/DevGuides-Plugin-Installer and 10.0.0 DP4 has guides built-in. They look and work really well. I will not develop bnGuides further since starting LC 10 they will be part of the IDE. I liked the idea

Re: Referencing Livecode

2022-06-21 Thread Niggemann, Bernd via use-livecode
Alan Stenhouse via use-livecode wrote > In a couple of my publications, I described developing apps with Livecode and > referred to www.livecode.org and www.livecode.com, but didn't include > anything > in the references as there was nothing (AFAICS at that time) that would > satisfy > scient

Re: M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-20 Thread Niggemann, Bernd via use-livecode
Richmond wrote: > In the standalone builder you have always separated > Linux 32-bit and 64-bit builds, and the same with > Windows: could you alter the MacOS standalones so we > end up with one INTEL 64-bit standalone, and one ARM > standalone, rather than a awkward sandwich? In the current (see

Re: M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-18 Thread Niggemann, Bernd via use-livecode
Hi Matthias, I should have added that to my previous post: If you put "put the processor" into the message box it says Rosetta: x86_64 Native: arm64 Startup time is also noticeably reduced when running native. Also is the footprint of LC in memory smaller according to activity monitor: about 2

M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-18 Thread Niggemann, Bernd via use-livecode
Sorry if this has been discussed before but I could not find it. Yesterday I played around with LC 9.6.8 RC2 and 10.0.0 RC4 and wanted to see what difference the new Universal build does for speed. After some testing I finally read the release notes and it states: Note: Apple architecture suppor

Re: Is it a bug?

2022-05-23 Thread Niggemann, Bernd via use-livecode
sounds a lot like https://quality.livecode.com/show_bug.cgi?id=23693 Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.r

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Niggemann, Bernd via use-livecode
There are two sentences in german: Folgenden Befehl in der Kommandozeile des Win10 PCs ausführen: Run the following command on the command line of the Win10 PC: Bei dem „Vordergrund“ Befehl, sieht man nur einen blinkenden Cursor. Bei dem „Hintergrund“ Befehl erscheint ein neuer Prompt. With

Re: moveStack is not triggering

2022-03-08 Thread Niggemann, Bernd via use-livecode
Hi Bob, try this in the card script of a new stack on moveStack beep end moveStack That beeps when I move the stack. I think the debugger does not fire when it is invoked in a moveStack handler as you test for in your bug report https://quality.livecode.com/show_bug.cgi?id=23607 Kind reg

Re: variable window not applying changes

2021-11-24 Thread Niggemann, Bernd via use-livecode
> Craig Newman wrote > @Bernd. > " double-click on the icon in the varialble line:” > > What icon? Do you mean the small box-with-arrow icon that appears when a > multi-line variable is present in the lower list? Yes, that open rectangle with the right-upward pointing array Kind regards Bernd _

Re: variable window not applying changes

2021-11-24 Thread Niggemann, Bernd via use-livecode
> James Hale wrote: > I have been tracing a script and while stepping through notice an error in a > variable. > I double clicked on the value in the variable list at the bottom of the SE > window and brought up the variable window. > Made the correction and clicked "apply". > Nothing happened.

Re: Script Editor Disassociation Bug - Seen it lately?

2021-11-04 Thread Niggemann, Bernd via use-livecode
On 11/4/21 4:18 AM, Curry Kenworthy via use-livecode wrote: I'm checking up on the Script Editor Disassociation Bug, described in this thread: I don't know if this is a dissociation of the Script Editor but bug 22555

Re: OT: Facebook -> Meta (Damaged Infinity!)

2021-11-02 Thread Niggemann, Bernd via use-livecode
> Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700 > > MarkW wrote: > > From a Boingboing user comment... > > > > META: Making Evil Totally Acceptable > LOL LOL LOL If you want to see infinity in action https://forums.livecode.com/viewtopic.php?f=10&t=36412&e=1&view=unread#p210094

Re: Accessing array custom properties

2021-10-26 Thread Niggemann, Bernd via use-livecode
> Neville Smythe via use-livecode Mon, 25 Oct 2021 20:20:34 -0700 wrote: > > 4. BUT (annoyingly) this fails, giving an empty result: put the > pArrayName[pElementName] of button “button” > > Why? If 3 works, I would have thought the parser would substitute values for > all variables before

Re: dropShadow knockout

2021-10-20 Thread Niggemann, Bernd via use-livecode
> Neville Smythe via use-livecode Tue, 19 Oct 2021 15:37:33 -0700 > The knockout checkbox is missing from the graphic effect dropShadow edit > dialog > in LC9.6.5 (Mac). The knockout property still works however. > Further occasionally the edit box appear to become corrupted - after a few > l

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
> Bob Sneidar via use-livecode Mon, 11 Oct 2021 16:42:20 -0700 > > I see. I think I did not maky myself clear. With the object inspector open > and > the behavior tab selected, before dragging the object with the pointer tool, > there is no behavior registered. Upon dragging the object, the too

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
> Bob Sneidar via use-livecode Mon, 11 Oct 2021 16:07:53 -0700 > > Sorry, no love. I made the change as you suggested, but the behavior property > of the object still retains the bnGuides behavior. Bob, I assume that the behavior that sticks was added after you made the changes to bnGuides an

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
Mark Wieder wrote: On 10/11/21 3:38 PM, Niggemann, Bernd via use-livecode wrote: if the tool <> "pointer tool" then exit revSelectedObjectChanged end if Wouldn't that still be a problem if something else (e.g. the Project Browser) selects an object?

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
> Bob Sneidar > > wrote > It was an old version so I imagine that was the issue. I got the new version > and am testing it in my IDE. I'll let you know if there are any issues. I

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
> Bob Sneidar via > use-livecode > Mon, 11 Oct 2021 11:01:44 > -0700 > Concerning the issue of t

Re: [ANN] bnGuides has been updated

2021-10-11 Thread Niggemann, Bernd via use-livecode
Thank you Roger for the kind words. I think I did not announce the update on the use-list. It fixes a bug when returning from "Edit Group" via "Stop Editing" bnGuides is a plug-in that shows guides to place UI-objects. I announced the update here: https://forums.livecode.com/viewtopic.php?f=4&t

Re: oAuth2 window properties

2021-08-17 Thread Niggemann, Bernd via use-livecode
Hi Bob, Have a look at "com.livecode.library.oauth2" in the Project Browser when "Show IDE Stacks in Lists" is on. That is the (library) stack that displays the information in a stack that is build on the fly. It uses a browser widget to display. You could change the dimensions of the browser wi

Re: Stacks not removed from memory?

2021-05-14 Thread Niggemann, Bernd via use-livecode
If the Project Browser is open then it may be related to https://quality.livecode.com/show_bug.cgi?id=22460 Kind regards Bern ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your sub

Re: rant: truewordOffset

2021-04-20 Thread Niggemann, Bernd via use-livecode
Mark Wieder wrote You can't just say put truewordOffset("font", tText) into tOffset because it might encounter "fontTable" first. If I set wholematches to true it works for me Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.

Re: Checking the Milliseconds

2021-04-07 Thread Niggemann, Bernd via use-livecode
I tried this and got pretty constant results except for maybe the first ten iterations. I figured if you just jump in with the milliseconds you would not be at the "beginning" of the milliseconds and added a repeat loop to mitigate that effect. Furthermore I appended the result to a variable.

Re: Polygon fill algo?

2021-02-15 Thread Niggemann, Bernd via use-livecode
>Richard wrote >a way to coerce discontiguous polygon regions to always be filled? I assume you have set the opaque of the polygon graphic to true? Without "opaque" I do not get any filling, with "opaque" true it always fills Kind regards Bernd ___ use-

Team-xAPI-in-LiveCode Update

2021-02-13 Thread Niggemann, Bernd via use-livecode
This url seems to work for the repository in xapi https://github.com/xapicohort/lib_LC_LMS_LTI Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription p

Re: Smooth scrolling

2021-02-05 Thread Niggemann, Bernd via use-livecode
> Trevor wrote > > On macOS it is simple enough to get the true scroll values from the scroll > event using NSEvent.scrollingDeltaX and NSEvent.scrollingDeltaY. It is > possible to get those values using LCB as demonstrated in the > mac_scroll_wheel.lcb extension that is included with the DataView

Re: Is the DateFormat read only?

2021-01-31 Thread Niggemann, Bernd via use-livecode
Alex Tweedly via use-livecode Sat, 07 Nov 2020 07:29:15 -0800 I tested out the TimeZone library

Re: opened socket in IDE prevents script changes

2021-01-15 Thread Niggemann, Bernd via use-livecode
Hi Bernard, I have seen similar behavior of the apply button indicating "clean" when the script was "dirty"/had compile errors. That was without sockets. https://quality.livecode.com/show_bug.cgi?id=22555 maybe your problem is related Kind regards Bernd ___

Re: Trying to use the Segmented Control

2020-12-04 Thread Niggemann, Bernd via use-livecode
>Ralf Bitter wrote >See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 Thank you Ralf for this brilliant widget. Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, u

Re: Script colorization not working

2020-11-18 Thread Niggemann, Bernd via use-livecode
panagiotis merakos via use-livecode Wed, 18 Nov 2020 13:28:22 -0800 Hello Devin, A rough

Re: Bug: jumping stack windows (when supress messages is off)

2020-10-11 Thread Niggemann, Bernd via use-livecode
Hi David, I am sorry, I did not look at the video. That is quite impressive. I have never experienced anything like that in the IDE. (LC 9.6.1 MacOS Mojave) Did you have a look at your plug-ins? Or have you tried to remove your preference file temporarily? Kind regards Bernd David Bovill

Re: Bug: jumping stack windows (when supress messages is off)

2020-10-10 Thread Niggemann, Bernd via use-livecode
Hi David, What I see on Mojave is that e.g. TextEdit or Safari show a similar behavior. Open 2 windows in TextEdit. Move one close to the other and they will snap into place, if the tops of those two windows are almost horizontally aligned they will snap into place. Same goes for Safari with

Re: Scroll a field to a specified line number

2020-08-17 Thread Niggemann, Bernd via use-livecode
Hi Michael, This is because the "fixedLineHeight" is turned off by default since a couple of versions. So you either turn "fixedLineHeight" on for the field or you change your code to something like -- one line set the vScroll of fld 1 to the formattedtop of line 60 of field 1

Re: Animation Engine: speed tips

2020-07-02 Thread Niggemann, Bernd via use-livecode
, Jul 1, 2020 at 8:27 AM Niggemann, Bernd via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > While not exactly what David asked for but on the topic of animating > > multiple objects with acceptable speed: > > > > http://foru

Re: Animation Engine: speed tips

2020-07-01 Thread Niggemann, Bernd via use-livecode
While not exactly what David asked for but on the topic of animating multiple objects with acceptable speed: http://forums.livecode.com/viewtopic.php?f=10&t=11726&hilit=sand#p56253 The original poster asked for "sand" particles that should have some sort of collision detection and should react

Re: Script profiler

2020-06-07 Thread Niggemann, Bernd via use-livecode
Jacques wrote > Does anyone with a business license use the script profiler? I'm having > trouble interpreting what it reports. According to the lesson in the LC > Lessons, it looks like the most recent handler is recorded on top of the > output but I'm getting output that is all mixed up witho

Re: Map Widget - how does it actually work?

2020-05-26 Thread Niggemann, Bernd via use-livecode
Unfortunately polylines stoppt working in recent versions of LC https://quality.livecode.com/show_bug.cgi?id=22377 Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Another widget grumble

2020-04-28 Thread Niggemann, Bernd via use-livecode
> Alex Tweedly wrote: > How do you tell whether a widget is "part of the main product" ? > Or, conversely, how do you find out what other source it came from ? If you look at a widget in the Properties Inspector in the "basic" pane you will find its name and then "Kind" for the Cock widget: na

Re: Go to card has become slow

2020-04-08 Thread Niggemann, Bernd via use-livecode
Saving the 300 cards 8.x MB stack on a 2017 MacBook Pro SSD: 0.127276 seconds Same stack saving as binfile: 0.013656 seconds Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscrib

Re: DataGrid question: Suggestions for further enhancements

2020-04-03 Thread Niggemann, Bernd via use-livecode
Roland wrote Thu, 02 Apr 2020 04:08:51 -0700: Thank you Roland for your detailed list of possible improvements to modTableField > + Selecting columns: > > marking selected columns I will have to think about that > + Dragging and dropping columns and rows presently it is possible to drag lin

Re: DataGrid question...

2020-04-03 Thread Niggemann, Bernd via use-livecode
> Bernard Devlin via use-livecode Fri, 03 Apr 2020 11:23:08 -0700 > Reminds me of the work of the late great Eric Chatonet Thanks Bernhard for your kind words. But Eric is in my memory such a super coder and his code was crystal clear. Whereas my code is, um, less so. > I see only one slight

Re: How to find the column and row of a basic tableField

2020-04-02 Thread Niggemann, Bernd via use-livecode
Sean, The idea for the script I posted was to be independent of the Livecode provided tableField. My use case was that tab-delimited data was provided in a _regular_ field and the user clicks on a cell and the developer wants to know which cell was clicked to take action upon that information.

How to find the column and row of a basic tableField

2020-04-01 Thread Niggemann, Bernd via use-livecode
There was a long thread regarding the dataGrid which somehow touched getting the row and column of a basic tableField. I posted this solution also there. Mike Doub found some problems that turned out to be due to the fact that "cellEdit" was set to true for the table object. If "cellEdit" is true

Re: DataGrid question...

2020-04-01 Thread Niggemann, Bernd via use-livecode
s expected. I have not spent the time to figure out what is going on, but these are my observations. -= Mike On Apr 1, 2020, 9:29 AM -0400, Niggemann, Bernd via use-livecode mailto:use-livecode@lists.runrev.com>>, wrote: > This is a modification of Jaque's script to get the row a

Re: DataGrid question...

2020-04-01 Thread Niggemann, Bernd via use-livecode
This is a modification of Jaque's script to get the row and column of a locked tableField when the user clicks in a cell. Use tableField whose lockText is true. Set its script to on mouseUp put "Row:" && wor

Re: DataGrid question...

2020-03-30 Thread Niggemann, Bernd via use-livecode
>Peter Bogdanoff wrote: >Does anyone have a link to obtain Bernd's modTableField ? Here is a link to the latest version of modifiedTableField berndniggemann.on-rev.com/mtf/modTableField.zip there is a zip of a demo stack with a helper st

Re: Translate metadata to field content

2020-02-21 Thread Niggemann, Bernd via use-livecode
Hi Jacque, Jacque wrote: > put the styledText of fld 1 into tDataA > put 0 into tTotalChars > put 0 into tStartChar >repeat with i = 1 to the number of elements in tDataA >put tDataA[i]["runs"] into tRunsA >repeat with j = 1 to the number of elements in tRunsA > put tRunsA[j] in

Re: Translate metadata to field content

2020-02-20 Thread Niggemann, Bernd via use-livecode
In reply to Mark Waddingham's comments Thank you Mark Waddingham for the improved scripts and the hints as to why they improve speed. I adapted Mark's version for unique occurrence, changed how the position of the target word is determined in the target line. It is not safe to assume that the

Re: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
>J. Landman Gay wrote: >I haven't converted Bernd's script to use formattedStyledText yet but that >looks like the way to go. There is no difference to using styledText for this use case. The number of lines and the number of words are the same between the two. You mentioned that you want t

RE: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
My previous post was accidentally marking a part of my response as quoting Ralph's question. This is my response to Ralph's question about the difference between styledText versus formattedStyledText >From what I tested it behaves the same as formattedText. I.e. if you have wrapped text in

RE: Translate metadata to field content

2020-02-19 Thread Niggemann, Bernd via use-livecode
>Ralph DiMola wrote: >What is the difference between styledText and formattedStyledText? A quick test >yielded identical results. StyledText is in the dictionary. >From what I tested it behaves the same as formattedText. I.e. if you have >wrapped text in a field it will keep the wraps when tra

Re: Nested numeric lists that include number of parent list item

2020-02-11 Thread Niggemann, Bernd via use-livecode
I am not aware that listStyle decimal can show other then 1. No further sub numbering. However one could hack it. Although I know you are not particularly fond of those hacks... The code assumes that the listStyle of a field is set (any) will be "skip" afterwards and list depth is also set.

Re: Diff?

2020-02-01 Thread Niggemann, Bernd via use-livecode
Richard, Library com.livecode.library.diff was introduce in 9.0 >From the release notes: diff library A new library has been implemented for computing diffs between text sources and applying those diffs to text. https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/diff/

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Niggemann, Bernd via use-livecode
Ben, If you have access to a business-license you could use "script profiling" on a small but representative sample of your data and see where the bottlenecks are. If you find any you could try to optimize that part. "script profiling" adds its own overhead to the processing time (roughly doub

  1   2   >