Search found 3245 matches

by bn
Tue Apr 02, 2019 8:52 am
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 745

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: 745

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: 316

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: 316

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: 745

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: 457

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: 457

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
by bn
Tue Jan 29, 2019 12:08 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 6061

Re: Gauge widget

Hi Jose,
kaikuse wrote:
Tue Jan 29, 2019 11:01 am
Do other widgets work in this setting? Yes it does
What do you mean? Do other widgets work with Android standalones? Or do you mean that your graphic works with your standalone?

Kind regards
Bernd
by bn
Fri Jan 25, 2019 12:08 pm
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 460

Re: Managing scroll in grouped groups

Hi Kaveh, resizeControl is only necesseary when the rect of the "main" group changes. Then it resizes the "back" graphic to fit the "sub" groups so that scrollWheel messages can be trapped by the "main" group. "resizeControl" is a system message that is sent to a group when it is resized. On "openFi...
by bn
Fri Jan 18, 2019 10:49 am
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 460

Re: Managing scroll in grouped groups

One thing I found is that when I have more than one field in a group, then when I focus in another field in the same group sets the scroll of the parent group to zero. Off-hand, is your script designed to handle multiple fields in a group? I did not test that. Best would be if you could post a samp...
by bn
Thu Jan 17, 2019 5:27 pm
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 460

Re: Managing scroll in grouped groups

Hi Kaveh, here is a version of your example stack that can be scrolled with a scroll wheel. To make this work I added a graphic at the lowest layer of the main group. That way rawKeyDown is trapped by the main group. That graphic is resized when you resize the group. Furthermore it scrolls the subgr...
by bn
Tue Jan 15, 2019 9:44 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 6061

Re: Gauge widget

Hi Jose, I´ll try to do it myself , using oval graph ! it is a bit tricky to do this using graphics. I did it before I did the widget. I post the graphics version here for you to use/change/study. I would try to get the widget to work in your Android-app. I don't think your error when building a sta...
by bn
Tue Jan 15, 2019 6:40 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 6061

Re: Gauge widget

Hi Kai,

sorry I don't do android standalone. Not of any help here.
Though the path seems a bit funny.

Kind regards
Bernd
by bn
Sun Jan 13, 2019 10:35 pm
Forum: Rich Media
Topic: SVG for Alejandro
Replies: 50
Views: 7858

Re: SVG for Alejandro

I guess you are aware of the option to import .svg files into images in LC 9. create an image "i1" and try with the current LC 9.0.2 on mouseUp lock screen answer file "choose" with type "SVG image|svg" if it is empty then exit mouseUp put it into tFile put URL ("binfile:" & tFile) into tSVG put dra...
by bn
Fri Dec 21, 2018 11:14 am
Forum: LiveCode Builder
Topic: north widget
Replies: 2
Views: 1577

Re: north widget

Due to a bug fix in livecode builder for ATAN2 in LC 9.0.2 the interactive "turns" of the needle where inverted. This is a version that works in LC 8.x.x and 9.x.x Instal the .lce file via "Extension Manager" either using LC 8.x or 9.x. (LC 9.x will automatically recompile the widget) The source cod...

Go to advanced search