Re: Best way to store videos

2018-08-27 Thread BNig via use-livecode
J. Landman Gay via use-livecode wrote > On 8/27/18 4:12 PM, Niggemann, Bernd via use-livecode wrote: >> When using Tiny Dictionary in the option menu either choose "All" and >> search for "aws" or choose from the option menu "library.aws". If you >> start your search with a quote it will return wha

Re: Storing Images for use by Custom Controls

2018-07-25 Thread BNig via use-livecode
the short id of image "greenRound" of me end newGroup Kind regards bnig--- via use-livecode wrote > Hi Simon, > > I think the easiest way would be to copy the images your custom control > uses > to the custom controls. > then add this code to the group (it is

Re: Storing Images for use by Custom Controls

2018-07-25 Thread BNig via use-livecode
Simon, try to add "of me" like below repeat with x=1 to the number of images of me put the ID of image x of me into tID put the short name of image x of me into tName put tID into ImageA[tName] end repeat Kind regards Bernd scott--- via use-livecode wrote > Well I t

Re: Storing Images for use by Custom Controls

2018-07-25 Thread BNig via use-livecode
Hi Simon, I think the easiest way would be to copy the images your custom control uses to the custom controls. then add this code to the group (it is for one button "bOne" and two images "greenRound" and "redQMark" on newGroup resolve image "redQMark" relative to button "bOne" of me if it

Re: Datagrids and Nested Behaviors

2018-07-24 Thread BNig via use-livecode
Brian That is a nice modification, makes it faster and is still only in one place. >I also noticed that there are extra "stack" references in the code (stack >_ResourceStack instead of just _ResourceStack 4/10 uses). to my surprise both versions work. Kind regards Bernd Brian Milby via use-li

Re: representing this character from a pdf

2018-02-08 Thread BNig via use-livecode
maybe he likes put numToCodepoint(0x2794) HEAVY WIDE-HEADED RIGHTWARDS ARROW' (U+2794) Kind regards Bernd -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.ru

Re: representing this character from a pdf

2018-02-08 Thread BNig via use-livecode
would this do? put numToCodepoint(0x270D) from http://www.alanwood.net/demos/wingdings.html Kind regards Bernd -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@li

Re: "module format not supported"

2018-02-05 Thread BNig via use-livecode
Hi Ben, I posted a stack to the forum, that forces recompilation of widgets that were automatically compiled from 8 to 9 format. http://forums.livecode.com/viewtopic.php?f=104&t=30433&p=163580#p163580 Kind regards Bernd -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution

Re: FormattedHeight of a field and its contents

2018-02-01 Thread BNig via use-livecode
Hi David, have a look at http://berndniggemann.on-rev.com/margins/marginsapp.livecode.zip It does not explain why but shows what influences the formattedHeight of a field when changing margins, border size, scrollbars, text height etc. Kind regards Bernd -- Sent from: http://runtime-revoluti

Re: regex deconstructor

2018-01-28 Thread BNig via use-livecode
There are nice tests for indentation on Git for Livecode https://github.com/livecode/livecode-ide/tree/develop/tests/scripteditor/_indentation_tests especially the if variants are mind boggling Kind regards Bernd -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f

[ANN] TinyDictionary updated to work also in LC 8.2.0 DP2 and LC 9 DP10

2017-10-24 Thread BNig via use-livecode
Due to changes how LC organizes dictionary data in LC 8.2 DP2 and LC 9 DP 10 tinyDictionary did not display LCB dictionary entries anymore. TinyDictionary version 0.8.3 restores that functionality and is backwards compatible. Thanks James Hale for the code for the acqusition of the dictionary arra

[OT] Stable versions of Livecode

2017-07-21 Thread BNig via use-livecode
In recent month there has been muck ado about the word "stable" in stable versions of Livecode. I think there is a serious misunderstanding of the word "stable" here. It is according to the Oxford Dictionary: stable (noun) A building set apart and adapted for keeping horses. ‘the horse was led t

[ANN] TinyDictionary updated to display Synonyms

2017-07-18 Thread BNig via use-livecode
Brian Milby contributed to tinyDictinary the extraction of synonyms. He also submitted a pull request to add synonyms to the built-in dictionary https://github.com/livecode/livecode/pull/5669 Synonyms now are part of the built-in dictionary as of LC9 DP8. TinyDictionary displays synomyms in LC ve

[ANN] north widget

2017-07-12 Thread BNig via use-livecode
North is a widget that indicates north like a compass or direction indicator. http://forums.livecode.com/viewtopic.php?f=93&t=29486 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-north-widget-tp4716915.html Sent from the Revolution - Use

Re: Feature Race: Pick Your Project

2017-07-05 Thread BNig via use-livecode
>> On Jul 5, 2017, at 12:44 , J. Landman Gay via use-livecode < > use-livecode@.runrev > > wrote: > >> A subset of users employ datagrids, but everyone needs smooth scrolling >> in a variety of situations. That's the primary reason I pledged -- That's exactly the reason why I pledged too. I ha

Re: [ANN] a gauge widget

2017-06-09 Thread BNig via use-livecode
Thanks Tom, I had just found out what the problem was, Now it works as advertised. will update the .lcb file in the forum to version 0.2.0 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-a-gauge-widget-tp4715635p4715695.html Sent from t

[ANN] a gauge widget

2017-06-09 Thread BNig via use-livecode
further experimenting with Livecode Builder I did a Gauge widget that I posted in the Forum http://forums.livecode.com/viewtopic.php?f=93&t=29348 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-a-gauge-widget-tp4715635.html Sent from the

Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread BNig via use-livecode
pink wrote > > BNig wrote >> TinyDictionary is a small footprint dictionary for Livecode from version >> 8.1 and up. >> >> New features are user added notes and import of notes. Some code >> optimization and cleanup. >> Should work on Mac, Windows an

[ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread BNig via use-livecode
TinyDictionary is a small footprint dictionary for Livecode from version 8.1 and up. New features are user added notes and import of notes. Some code optimization and cleanup. Should work on Mac, Windows and Linux. See Help from Preferences Menu. Probably best when used as plug-in. (put tinyDicti

Re: [ANN] tinyDictionary

2017-03-23 Thread BNig via use-livecode
Sorry Bob, I fell foul of Nabble, it is unfortunately broken since the bouncing issue was resolved. Since I am on digest for the use-list I use Nabble to post and see current activity. Too bad it is broken since the only other repository that lets you post I know is gmane that is rebuilding and

Re: [ANN] tinyDictionary

2017-03-23 Thread BNig via use-livecode
Bob Sneidar via use-livecode wrote > Then please also make sure to submit this to Edinburgh. I want this to be > my official dictionary. Thanks Bob, I think the LiveCode people did a pretty good job reorganizing the dictionary. The new dictionary, once getting used to it, offers the different di

Re: [ANN] tinyDictionary

2017-03-22 Thread BNig via use-livecode
Skip Kimpel via use-livecode wrote > On 03/22/2017 12:46 PM, BNig via use-livecode wrote: > >> Hi Mark, >> >> tinyDictionary tries on preopenCard -> loadPreferences to find via >> put specialFolderPath("support") into tFolderSupport >> an &qu

Re: [ANN] tinyDictionary

2017-03-22 Thread BNig via use-livecode
> On 03/22/2017 07:37 AM, BNig via use-livecode wrote: >> I uploaded a compact version of the dictionaries for LC 8.1 and up to >> Livecodeshare > > Very nice. Thanks. Works well for me on linux. > What means "unable to create preferences folder"?

Re: [ANN] tinyDictionary

2017-03-22 Thread BNig via use-livecode
Hi Mike, Mike Bonner via use-livecode wrote > This is awesome! Quick question (feature request) would it be difficult > to > add a dictionary selector? So if I have 13 versions of lc installed, I > could pick which dict to look at? (and make it work as a standalone at the > same time?) If you

[ANN] tinyDictionary

2017-03-22 Thread BNig via use-livecode
I uploaded a compact version of the dictionaries for LC 8.1 and up to Livecodeshare http://livecodeshare.runrev.com/stack/825/tinyDictionary_0_7_7_7 this is also accessible via "Sample Stacks" from inside LC. it is the result of Mike Kerners push to have a small footprint dictionary. James Hale

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread BNig via use-livecode
Sannyasin Brahmanathaswami wrote: > OK, one more SVG example (I believe that's what you were asking for) > > now you have three > > http://wiki.hindu.org/uploads/floor-plan.svg # not responsive, but > could be > > http://wiki.hindu.org/uploads/SivaSivaDiagram.svg ># not responsive, bu

Re: Delete element from array

2017-01-26 Thread BNig via use-livecode
> @Bernd: is your dictionary plug in working in the latest 8+ versions of > LC? That is Björnke who did the plug in. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Delete-element-from-array-tp4711916p4711957.html Sent from the Revolution -

Re: Clone graphic does not respect dimensions

2016-12-06 Thread BNig
Mark Waddingham-2 wrote > On 2016-12-03 01:47, Richard Gaskin wrote: >> If someone's smart enough to develop software, they're probably smart >> enough to figure out how to grab a resize handle and make a graphic >> larger. :) > > I think that was the problem - and why the check was present. (Of

Re: Clone graphic does not respect dimensions

2016-12-05 Thread BNig
Jeanne A. E. DeVoto wrote > Hmm, I was under the impression that it was scripted using the > "clone" command. I'd forgotten about option-drag... > > ...but that's also done with the pointer tool, not the graphic tool. > So checking the tool would also exempt that case from auto-resizing > small

Re: Clone graphic does not respect dimensions

2016-12-02 Thread BNig
Richard Gaskin wrote > Michael Julian Lew wrote: > > > Richard Gaskin wrote: > >> BNig wrote: > >>> that is determined somewhat arbitrarily by the > >>> revBackScriptLibrary in handler > >>> > >>> on newGraphic >

Re: Clone graphic does not respect dimensions

2016-12-01 Thread BNig
Scott Rossi wrote > It's wrong but it's always been like this. LC doesn't like graphics > smaller than 9 pixels. > > Regards, > > Scott Rossi that is determined somewhat arbitrarily by the revBackScriptLibrary in handler on newGraphic if the width of the target < 9 and the height of the tar

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-25 Thread BNig
Hi, a "regular polygon" is not a "polygon" which is confusing. a "polygon" is the type of graphic made of points whereas a "regular polygon" has no points and are IIRC drawn by the operating system, that is why they are smooth. Mark Wieder introduced the "effective points" of any of "rectangle,

Re: Type on an angle

2016-11-20 Thread BNig
Sannyasin Brahmanathaswami wrote > Thanks everyone my responses is > > "All of the above" > > -- @ Bernd: your HTML5 demo is amazing! Where can I can we get the source? > BR > > On 11/20/16, 12:52 AM, "use-livecode on behalf of BNig" wrote: > &g

Re: Type on an angle

2016-11-20 Thread BNig
Elanor has a simple and bare bones LCB file for a widget that can rotate one line of text in the attachement of http://quality.livecode.com/show_bug.cgi?id=17782 The widget I did turns one line of text horziontally http://runtime-revolution.278305.n4.nabble.com/widget-that-turns-text-horizontal-

Re: Goofy question about Datagrids

2016-11-02 Thread BNig
Mike Kerner wrote > N00bs should also check out modTableField and tableLab (Bernd and Scott, > respectively) > http://berndniggemann.on-rev.com/modTableField/modTableField_0_1_9.livecode.zip > http://forums.livecode.com/download/file.php?id=5458&sid=672cdd04a95bc2c80430bc1bc88b7470 For modTableFi

Re: [ANN] calendar widget updated

2016-10-31 Thread BNig
Peter TB Brett wrote > There are so many options! > > - One of you could take the lead on integrating the improvements under > their personal LiveCode developer ID > > - You could free yourselves from the shackles of the LiveCode developer > ID system by registering a domain name an an umbrella

Re: [ANN] calendar widget updated

2016-10-24 Thread BNig
Hi Roger, please remove prior versions from the "extensions" folder in "My Livecode" folder. Then move the unzipped folders to the "extensions" folder in "My Livecode" folder manually. These are the actual folders should work when moved manually. In case everything fails you could use the "Exte

Re: [ANN] calendar widget updated

2016-10-24 Thread BNig
forgot to mention: compiled using 8.1.1, works in LC 9.0.0 DP1. http://www.berndniggemann.on-rev.com/calendar/calendar.zip Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709703.html Sent from the Revol

[ANN] calendar widget updated

2016-10-24 Thread BNig
Update of the calendar widget Added the option to use Custom day/month names beside English or System names. Resolved a name conflict by renaming properties of the widget calDayNames calMonthNames Also changed a property to NamesToUse to indicate [ English | System | Custom ] names to use. Duri

Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Roger, Hermann Hoch just informed me that recompiling community.livecode.elanor.datesupport.1.0.0.lcb using 8.1.0 made the calendar widget work for Windows 7 To do this you would move the community.livecode.elanor.datesupport.1.0.0 folder from your "My Livecode"-> "extensions" folder to some

Re: [ANN] calendar widget

2016-10-18 Thread BNig
d a new version. Kind regards Bernd Tore Nilsen wrote > ... >> 18. okt. 2016 kl. 23.08 skrev BNig < > bernd.niggemann@ > >: >> >> In case someone sees a use case for customizing abbreviated day/month >> names >> I would reconsider that. > >

Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Devin, I just tested and see that also when I try to get the monthNames by script. It throws an error. I did not test that part of the widget enough because that was already in place and since I did not need to set or get the monthNames nor dayNames since I use a call to Livecodescript to get t

Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Roger, Could you try with a version > 8.1.0 and Windows 7? the widget does not use Mac specific code. Actually I just tested using on a Mac 10.9.5 and LC 8.1.0 and it worked. But I compiled the widget using LC 9.0.0 DP1. But that _should_ not matter? Kind regards Bernd Roger Eller wrote >

[ANN] calendar widget

2016-10-18 Thread BNig
During the conference a calendar widget was used in the widget course. The original author is Elanor Buchanan. I think it is a wonderful example of what widgets can do. Elanor did a very good job. I extended the calendar to add some useful features. You can choose via the properties inspector the

Re: code folding

2016-09-19 Thread BNig
Hi Andy, thanks for testing, very helpful. It is reassuring that "Fold All" now works for you. Kind regards Bernd AndyP wrote > Hi Bernd, > > Great, that sorted the problem. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/code-folding-tp4708589p4708610.htm

Re: code folding

2016-09-19 Thread BNig
And yes Andy, I am aware of that enhancement request and on the cc for it, thanks for pointing it out. Kind regards Bernd BNig wrote > Hi Andy, Tom and Brahma, > > thanks for testing. > > "Fold All" works for me all the time but there is known inconsistency in

Re: code folding

2016-09-19 Thread BNig
Hi Andy, Tom and Brahma, thanks for testing. "Fold All" works for me all the time but there is known inconsistency in variable naming which I corrected and uploaded. http://berndniggemann.on-rev.com/fold/foldcode.zip same instructions as before: unzip and install in Livecoe 8.1.0 stable replaci

Re: How can I "fake" the appearance of merged cells (like in Excel)

2016-09-18 Thread BNig
Hi Rodger this works for me if you are going with formatedRect to get to the left and right it is easier but you would have to find the fudge factors for that. make a button "indic" and change the script to reflect your table field - local sMy

Re: code folding

2016-09-18 Thread BNig
Maybe I should have added that folding takes time. I tested against the livecodeIDE file with nearly 12000 lines of code. That takes about 3 seconds to fold all handlers. For 5000 lines it is about a second. Unfold All for 12000 lines is a little more than a second, less for smaller scripts. tog

code folding

2016-09-18 Thread BNig
This is for the adventurous of the community. Some file swapping involved. I modified the Script Editor of Livecode 8.1.0 stable to allow basic code folding. This is experimental so you should not try this on your valuable work, only on copies. I tested it and did not have any data loss but still,

Re: Threading (plus random question)

2016-09-08 Thread BNig
Hi, currently on a Mac command-alt-tab switches between browse and edit mode. I use it all the time. If I remember correctly keyboard switching between edit and browse mode was broken for a while and it took Mark Waddingham some magic to implement it in the refactored Mac engine a while to get it

Re: LineGraph widget

2016-09-01 Thread BNig
ve to > a rounded range that makes sense for the data and an option to set the > range and step size of the grid. > > This reminds me we still need to sort out the decimal number formatting we > discussed at the conference! > > Cheers > > Monte > >> On 2 Sep

LineGraph widget

2016-09-01 Thread BNig
Hi all, I modified the line graph widget that ships with LC 8.1.0 RC1 per user request to show optionally decimal Y-values up to 5 digits and optionally values at the vertices of the graph. needs LC 8.1.0 RC1 http://forums.livecode.com/viewtopic.php?f=7&t=27490&start=15#p145912 feature requests

Re: Pass multiple strings as params via "command"

2016-07-15 Thread BNig
this seems to work: put "media/type" into par1; put "art/paint" into par2; TestParams par1, par2 from the message box. Kind regards Bernd Sannyasin Brahmanathaswami wrote > in msg box enter > > testParams "1+2", "3+4" > > result: > > 1+2 > 7 > > "

Re: SelectedObjectChanged in LC8... Bug?

2016-06-16 Thread BNig
Hi Hugh, FlexibleLearning.com wrote > When the "Browse" tool is selected in the UI, any selected objects are > deselected and a SelectedObjectChanged message used to be sent. This is no > longer the case in LC8. > > I have also tried trapping for a NewTool message, but this is similarly > ignore

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread BNig
multiple objects for a snapshot, is > it? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/6/16, 12:42 PM, "use-livecode on behalf of BNig" > < > use-livecode-bounces@.runrev > on beh

Re: Card SnapShot from Negative Rect?

2016-06-06 Thread BNig
Hi Scott, what happens if you reference the object directly: on mouseUp export snapshot from field 1 of group 1 to tImg as png set the text of image 1 to tImg put the rect of field 1 of group 1 end mouseUp or on mouseUp import snapshot from field 1 of group 1 put the rect of fi

Re: [ widget that turns text horizontal ]

2016-05-30 Thread BNig
Bill, as a proof of principle for "hand drawing on the screen" in Livecode see http://forums.livecode.com/viewtopic.php?f=7&t=22575&hilit=+whiteboard with sample stacks Kind regards Bernd Wprothero wrote > Bernd: > > What I would really love is one of those applications that shows t

Re: [ widget that turns text horizontal ]

2016-05-30 Thread BNig
Bill, I apparently completely misunderstood what you wanted to do. here is a script that I hope is close to what you have in mind. Please watch out for line breaks in the script due to text wrapping local sTurning = false local sD

Re: [ widget that turns text horizontal ]

2016-05-29 Thread BNig
ites with HTML5 stacks) Kind regards Bernd RH wrote > Wow, great. ))) Unfortunately in my Chrome Browser in Android latest > version Samsung S7 the HTML version only loads but then hangs. > > Not supported yet? > On May 29, 2016 12:54, "BNig" < > bernd.niggemann@ &

Re: [ widget that turns text horizontal ]

2016-05-29 Thread BNig
Bill: in its most simple form you could script in a button - local sTurning = false on mouseUp if sTurning = false then put true into sTurning put "This is Bills text" into tText set the displayText of widget "turnText" to tText

Re: [ widget that turns text horizontal ]

2016-05-29 Thread BNig
Thank you Richmond, just taking babysteps into widgets. Oh, and if you installed the widget and want to get rid of it use "Tools" -> "Extension Manager" Kind regards Bernd RM wrote > Clever, clever stuff! > > Congratulations. > > Richmond. > >

[ widget that turns text horizontal ]

2016-05-29 Thread BNig
in the spirit of letting thousand widgets bloom: here is a simple widget that turns text horizontally. the widget to install in "My Livecode" -> "extensions" -- http://berndniggemann.on-rev.com/turnwidget/turnText.zip -- as widge

Re: Arrow Keys on List Fields - The Selected/hilited Line

2016-04-22 Thread BNig
Sannyasin Brahmanathaswami wrote > If you use the arrow key on a list field, the selected line in the fld is > the line that was selected before the arrow key > > So if you traverse a list up and down with the arrow keys, the selected > line is always “one line behind” so to speak > > on arrowKey

Re: LC7 and 8 - Non responsive processing large text files

2016-04-15 Thread BNig
I once helped someone in the forum In 2009 someone at the forum wanted to index Wikipedia for "title". It took him 3 days to complete an indexing operation on a 23 GB xml file. http://forums.livecode.com/phpBB2/viewtopic.php?f=9&t=3690 after some optimizations it was down to 30 minutes http://foru

Re: Design Challenge -- Round Corner mask on images

2016-03-31 Thread BNig
Alejandro Tejada wrote > By the way, just to complete in this same thread all masking options > available, here is a recipe for using Scott Rossi's Hidden Point technique > to mask an image: > http://runtime-revolution.278305.n4.nabble.com/Hidden-point-technique-to-mask-an-image-td2270248.html > >

Re: Script Only Stack Architecture

2016-03-31 Thread BNig
Richard Gaskin wrote > In just 11 steps, each taking only a few seconds, you've just created a > rich hierarchy of custom messaging: > >"A" "B" "C" > \ | / > \ | / > MyClass > | > | > MySuperClass > > > If you wanted the drag b

Re: Design Challenge -- Round Corner mask on images

2016-03-31 Thread BNig
This works set the backgroundpattern of grc 1 to 1004 as for "imageSource" -> from the dictionary: "Specifies an image to be displayed in place of the specified character in a field." Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Design-C

Re: Design Challenge -- Round Corner mask on images

2016-03-31 Thread BNig
Alejandro Tejada wrote > By the way, while looking for a script to convert a color in a mask, > (for example: convert bright green color of an image to alphadata) > I just found that Bernd already answer this Design Challenge, > back in 2011: > > http://forums.livecode.com/viewtopic.php?f=10&t=65

Re: Design Challenge -- Round Corner mask on images

2016-03-30 Thread BNig
Alejandro Tejada wrote > Hi Bernd, > Did you have a reliable recipe to export (or import) > a snapshot of an image with a blend mode > (or ink effect) applied? > > Try this: > > 1) Import two images: > > a) transparent black and white png (ubuntu logo) > http://design.ubuntu.com/wp-content/uploa

Re: How to make a group scroll withut a visible scrollbar/by using one finger touch/scroll wheel on a mouse

2016-03-30 Thread BNig
Tore Nilsen wrote > I have noticed that it is possible to hav a datagrid objekt scroll without > a visible scrollbar, if the "scroll when vscrollbar is hidden” is set to > true. when doing so, it is possible to use one finger/scroll wheel to > scroll up and down in a datagrid, just as you can when

Re: Design Challenge -- Round Corner mask on images

2016-03-30 Thread BNig
Alejandro Tejada wrote > Just noticed that you used: export snapshot > instead of import snapshot > Why? Is import snapshot buggy in some > LiveCode versions? > Alejandro I guess it is a habit from times when the paintcompression default was "RLE" in the IDE and you can define the export format us

Re: Should before [handler name] trigger when using send?

2016-03-30 Thread BNig
Malte Brill wrote > Hi all, > > before I file a bug on this, I would like to enquire about your opinion. > > If in a behavior you have > > before resizeControl > — do some stuff > end resizeControl > > should this trigger if you send resizeControl to the control from > somewhere else? > > If

Re: Design Challenge -- Round Corner mask on images

2016-03-30 Thread BNig
if you want to get round corners on an image, that does not make use of alphaData, like jpg or png without alpha you can round the corners by setting the alphaData as Alejandro has shown. here is an example of setting the alphaData of an image to get round corners on the fly -

Re: [ANN] Blog Post

2016-03-27 Thread BNig
Scott Rossi wrote > New blog article about crazy fast blur and pixelizing effects, with sample > stacks. > > > http://tactilemedia.com/blog/ > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design Thank you for sharing this. It is a ultra cool use of existing techniqu

Re: [ANN] guides for positioning of controls

2016-03-24 Thread BNig
Thierry Douez wrote > Nice piece of art, kudos :) > > Thierry Thanks for kind comments. Sorry, yesterday while I wanted to change a typo in the dialog for auto install of the stack as plugin I broke inadvertendly the install mechanism. The installation into the plugins folder should now procee

Re: [ANN] guides for positioning of controls

2016-03-23 Thread BNig
Peter TB Brett wrote >> - >> http://berndniggemann.on-rev.com/guides/bnGuides_0_4.livecode.zip >> - > > Hi Bernd, > > Unfortunately that link is broken for me! Is it working for you? > > Peter Please try

[ANN] guides for positioning of controls

2016-03-23 Thread BNig
I was asked by Rolf Kocherhans if one could do a guide system when doing the layout of controls on a card. Here is a plugin that does that: once the plugin is started any control you select in edit mode can be moved around and controls that have matching positions for left, top, right bottom and mi

Re: Activating tabs in a liveCode field

2016-03-05 Thread BNig
Hi Francis, if you convert the word document to a RTF document then you could drop it onto a field from the finder. The field would have this script - on dragDrop put the dragData["files"] into tFiles put line 1 of tFiles into tAFile set the

Re: DataGrid

2016-02-25 Thread BNig
Hi Stephen, Stephen Barncard-4 wrote > Thanks guys. > > Both Scott Rossi's solution and Bernd's were really well done. > > In the end I chose modTableField which does everything I want... (and was > about to go through the pain of creating...) > This thing is FAST and really well designed. Than

Re: Unable to select transparent buttons

2016-02-25 Thread BNig
Hi Brahma, isn't that the same bug you reported here? http://quality.livecode.com/show_bug.cgi?id=17015 When you click on a button that you can not select click on the button with the shift-key down. This unselects the image and then you can click on the transparent (or opaque) button and it wil

Re: When is a GIF Finished Playing?

2016-02-10 Thread BNig
Hi Ray, not pretty but seems to work: local sGifName local sLastFrame local sRepeatTimesFrames local sCount on mouseUp put "myGif" into sGifName put the currentFrame of img sGifName into sLastFrame put 7 into tRepeatCount put tRepeatCount * t

Re: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
J. Landman Gay wrote > The formattedtext returns the correct metrics for me even when the field > size is changed and the text re-wraps. Do you get different results? If you make the field not wide enough it it can happen that the chapter title breaks. The same if you give the user the option to

Re: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
I posted 5 stacks with different solutions to Tiemo's problem > I want to create a kind of text hyperlink in a resizable scrolling field > with word wrap. > > I have a long text field with a table of contents at the beginning and > headlines for chapters and I would like to make the table of con

Re: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
Tiemo Hollmann TB wrote > Thanks Jacque, > >>>Create or import a transparent 1x1 pixel image. Hide it. Make each line in >>>the table of contents into linked text. The html of each line looks like > this: > Chapter one > > In the body text of the field, place a marker character before the chapt

Re: Moving the mouse pointer by script

2016-02-03 Thread BNig
Hi Scott, just looked at it and if I understand what you want to do then the drag command does it. make a small graphic "g1" place it into the center of a card make a button "bDrag" and place it in the topLeft cornder another button in the lower half of the card script of that button -

Re: LC 8, new pushbuttons

2016-01-31 Thread BNig
Hi Klaus, I don't see a way for the push button, but maybe you could use a navigation bar with just one item. It fires on mouseDown though and you have to fake the hilite/unhilite because it does not unhilite. You could use this script to experiment in the script of the navigation bar widget call

Re: Ken Burn's Effect Library for Livecode

2016-01-31 Thread BNig
here is a stack that draws a graphic Those graphics were made using a livecode stack converting a bitmapped image into x,y coordinates. http://forums.livecode.com/viewtopic.php?f=7&t=22575#p116267 A little further up in that thread http://forums.livecode.com/viewtopic.php?f=7&t=22575#p116239

Re: Questions: Setting the borderWidth (lineSize) of a graphic through script

2016-01-29 Thread BNig
Hello Roland, RH wrote > Borderwidth or linesize are synonyms according to the Dictionary, and I > tried all without success. > . > But should it not work just using script? I tried "set the borderwidth of grc "x" to y" on MacOSX 10.9.5 in LC 7.1 and 8 DP13 and it did not work. However "set

Re: Getting textShift To Shift Down?

2016-01-14 Thread BNig
Hi Scott, the following works for me in 7.0.6 textSize 14, textheight 28, fixed lineHeight e.g. - set the textShift of char 1 to - 1 of field 1 to -9 - then a slider with values from - 9 to - 3 on scrollbarDrag pValue set the textShift of word 2 of line 1 of field 1 to pValue

Re: Release 8.0 DP 10

2015-11-24 Thread BNig
Hi Paul, have a look at this pull-request from Mark Waddingham https://github.com/livecode/livecode/pull/3089 So I guess SVG import is coming, though not the full specifictions. But that should meet most needs. Kind regards Bernd Paul Hibbert-4 wrote > +1 > > Paul > >> On Nov 24, 2015, at 1

Re: Area of Irregular Polygon

2015-11-11 Thread BNig
for those on the list like me who can only iteratively add 1 to a variable and that have 10 seconds to spare to get at the area of a polygon: here is what the screen thinks it is: --- on mouseUp put "poly" into pName if not (there is a graphic

Re: Custom radio button icons

2015-10-13 Thread BNig
Hi Jacque, this works for iconGravity left and keeps the distance of the right aligned text at a constant distance from the icon. -- on mouseUp ask "text for label of btn" if it is "" then exit mouseUp lock screen put "b1" into tBtnName set t

Re: function for greatest object in list less than or equal to a value

2015-10-12 Thread BNig
hh wrote > [@Bernd: here a PONG to your PING.] > > Obviously each list member has to be inspected once for the comparison. > And each "smaller than"-member has to be inspected once again to find > the maximum. There is no other way, this is a math fact. > > Here is my solution, that seems to be p

Re: function for greatest object in list less than or equal to a value

2015-10-12 Thread BNig
Thank you for the explanation Richard. Good to know the historical background of ticks. so for a list of 10 items the worst case for my code is tMax 10 to find 9 it takes about 12 ticks and roughly 190 milliseconds Kind regards Bernd -- View this message in context: http://runtime

Re: function for greatest object in list less than or equal to a value

2015-10-12 Thread BNig
OK, I will throw this in for a good measure - function closestSmallerValue @pList, pMax -- this assumes pList to be sorted ascending AND consisting of numbers -- AND no empty items -- here only testing for SMALLER, not <= put the

Re: App Browser versus Project Browser

2015-10-08 Thread BNig
I am following this discussion and I have the impression that Project Browser refers to the one in LC 7. Ali posted in a different thread (that is why I quote him here) > There may not be many immediately obvious advantages to the new property > inspector, but there are two extraordinarily sign

Re: gjpqy cut off while typing

2015-10-01 Thread BNig
g and also when tabbing out of the field. Sorry if this almost has the length of a Bug-report. :) I did all my testing on a Mac. Kind regards Bernd BNig wrote > Hi Paul, > > I like your idea to use textshift for screenrefresh, no fiddling with > selectedChunk etc. > > Just one l

Re: gjpqy cut off while typing

2015-10-01 Thread BNig
Hi Paul, I like your idea to use textshift for screenrefresh, no fiddling with selectedChunk etc. Just one little change to your code in case textshift has not been set before. Then textShift would be empty. Adding 0 to it will not change previous text shift and if textShift has not been set it w

Re: gjpqy cut off while typing

2015-09-30 Thread BNig
Hi Mark, I tried various things but the only remedy I found is to put this into the script of the field - on textChanged lock screen put the selectedChunk into tChunk set the htmlText of me to the htmlText of me select tChunk end textChanged ---

  1   2   3   4   >