Search found 3253 matches

by bn
Sun Sep 15, 2019 11:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling
Replies: 11
Views: 821

Re: Scrolling

Hi Quinton, in your code command createScroller RegisterGroup -- scrolling groups -- "RegisterGroup" = any valid grp identifier, may work on fields too if not isMobile() then exit CreateScroller deleteMobileControl "RegisterGroup" -- delete any existing put (the rect of control "RegisterGroup") into...
by bn
Thu Aug 29, 2019 5:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to disable autocomplete in code editor???
Replies: 3
Views: 183

Re: How to disable autocomplete in code editor???

blackout123 wrote:
Wed Aug 28, 2019 11:36 pm
Is there a way to turn OFF autocomplete code statements in code editor on MacOS?
When you are editing a script then the go to the Edit Menu and look for Options.
The Options depend a bit on your edition of Livecode.

There you can turn off autocomplete
autocomplete.png
autocomplete.png (65.23 KiB) Viewed 125 times
Kind regards
Bernd
by bn
Wed Aug 21, 2019 3:45 am
Forum: LiveCode Builder
Topic: Altering "my background paint"
Replies: 5
Views: 368

Re: Altering "my background paint"

I want to be able to alter them within the widget itself, I also still want to be set them as their current existing properties.
See Hermann's response.
The example I gave is an effective override of the background paint.
Kind regards
Bernd
by bn
Wed Aug 21, 2019 12:52 am
Forum: LiveCode Builder
Topic: Altering "my background paint"
Replies: 5
Views: 368

Re: Altering "my background paint"

here are some modifications that make "makeGreen" functional and also displays the text. widget pink.mad.colorexperiment metadata title is "MPTemplate" metadata author is "MadPink" metadata version is "0.0.0" metadata preferredSize is "23,42" metadata svgicon is "" use com.livecode.canvas use com.li...
by bn
Thu Aug 15, 2019 11:07 pm
Forum: Converting to LiveCode
Topic: Convert old Basic dual FOR's to LC
Replies: 7
Views: 705

Re: Convert old Basic dual FOR's to LC

It works now and I played two rounds. I am not much into games but this is nice.
And it is a nice adaption to Livecode coding.

Kind regards
Bernd
by bn
Thu Aug 15, 2019 9:10 pm
Forum: Converting to LiveCode
Topic: Convert old Basic dual FOR's to LC
Replies: 7
Views: 705

Re: Convert old Basic dual FOR's to LC

Hi Cristian, I just had a play with "Impas Flex" on LivecodeShare. I did not get it to work at first then I looked at the code of "command afisez" There you set the filename of image (l2) to xxx That only works on files that are on disk. And without a fully referenced fileName including the path it ...
by bn
Mon Aug 12, 2019 11:40 pm
Forum: Converting to LiveCode
Topic: Convert old Basic dual FOR's to LC
Replies: 7
Views: 705

Re: Convert old Basic dual FOR's to LC

Hi Kry_M, welcome to the forum. In Livecode you can only exit a repeat loop of one level deep. You want to jump out of a 2 level repeat loop. The trick is to use a flag. on mouseUp local tExitRepeats -- declaring of local var optional put false into tExitRepeats -- your flag repeat with i = 1 to 6 r...
by bn
Mon Aug 12, 2019 11:26 pm
Forum: LiveCode Builder
Topic: SVG in widgets - any roadmap?
Replies: 44
Views: 10593

Re: SVG in widgets - any roadmap?

Hi Pi, A complete package would be just useful for anyone wanting to just start using it. I tried to compress the whole thing but it is too large to upload. But you can use the .lcb file, put it into a folder. Then open that -lcb file from the Extension Builder and press button "Test Extension" (fro...
by bn
Tue Apr 02, 2019 8:52 am
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 1386

Re: [ANN] bnGuides alignment tool on livecodeshare

The plugin does not work even if I start it from the Plugin menu. I have no idea why. When does the selected control get this script or behavior? When I click on them? Yes, when you select a control it gets a behavior set, either the control if it has no behavior or the last behavior of the chain o...
by bn
Tue Apr 02, 2019 12:05 am
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 1386

Re: [ANN] bnGuides alignment tool on livecodeshare

Hi Al, once you have put the stack into your plugins folder you should start the stack from the Development Menu -> Plugins. What probably happened is that the stack is set up to move itself into the plugins folder if you start it from anywhwere except the plugins folder. That is where the installat...
by bn
Sun Mar 31, 2019 12:49 pm
Forum: LiveCode Builder
Topic: NumToChar in LCB?
Replies: 6
Views: 734

Re: NumToChar in LCB?

Hi Trevix, this works for me library community.livecode.trevix.testmathuno metadata version is "1.0.0" metadata author is "trevix" metadata title is "TestMathUno Library" public handler AdditionTest(in pText as String) returns String variable tNumData as Data variable tResult as String variable tNum...
by bn
Fri Mar 29, 2019 6:10 pm
Forum: LiveCode Builder
Topic: NumToChar in LCB?
Replies: 6
Views: 734

Re: NumToChar in LCB?

Does this help? ByteWithCode Type operator Syntax the byte with code Value Summary Create a 1-byte data value from a number Edition Community Associations com.livecode.byte Parameters Name: Value Description: The value for the new data value Description Returns a byte of binary data, created using t...
by bn
Thu Mar 28, 2019 10:42 pm
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 1386

Re: [ANN] bnGuides alignment tool on livecodeshare

bnGuides has been updated to version 0.5.0 The update fixes some instances where graphics used by bnGuides were not properly removed from the target stack. Additionally it adds the option to display distances to nearest neighbors when setting the capsLock-key. Thanks bogs for suggesting "distances" ...
by bn
Tue Mar 05, 2019 8:45 am
Forum: Mac OS
Topic: Do as Applescript Execution Error when looping Objects
Replies: 6
Views: 847

Re: Do as Applescript Execution Error when looping Objects

Hi Simon, I now tried: tell application "Mail" -- get all the messages in the list with same subject. set tMessageList to selection set tEmail to "" set tbreak to "----------------------- ! -----------------------" set tOutput to "" set aMessage to "" repeat with aMessage in tMessageList -- loops fr...
by bn
Tue Mar 05, 2019 8:04 am
Forum: Mac OS
Topic: Do as Applescript Execution Error when looping Objects
Replies: 6
Views: 847

Re: Do as Applescript Execution Error when looping Objects

Hi Simon,

maybe this is the problem
repeat with aMessage in tMessages -- loops from first to last
you declare the variable as
set tMessageList to selection
tMessage vs tMessageList.

The script you posted throws an error when executing in AppleScript.

Kind regards
Bernd

Go to advanced search