Search found 3236 matches

by bn
Fri Jan 18, 2019 10:49 am
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 5
Views: 136

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: 5
Views: 136

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: 27
Views: 4919

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: 27
Views: 4919

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

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

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...
by bn
Thu Dec 20, 2018 9:19 am
Forum: Announcements
Topic: bnGuides alignment tool on livecodeshare
Replies: 3
Views: 189

Re: bnGuides alignment tool on livecodeshare

Thank you Bogs and Andy,

I am glad you like it.

Kind regards
Bernd
by bn
Tue Dec 18, 2018 4:43 pm
Forum: Announcements
Topic: bnGuides alignment tool on livecodeshare
Replies: 3
Views: 189

bnGuides alignment tool on livecodeshare

I have put a stack "bnGuides" on livecodeshare (or access it from "Sample Stacks" from within LC). It is best used as a plugin. http://livecodeshare.runrev.com/stack/918/BnGuides bnGuides.png It helps with visual guides to align objects. It complements the build-in alignment tool. Feedback welcome. ...
by bn
Sun Dec 16, 2018 9:57 am
Forum: Windows
Topic: Using " inside a string.
Replies: 4
Views: 234

Re: Using " inside a string.

Hi Google, use the keyword quote. put this into the message box and hit return put "first word " & quote & " second word " & quote or Klaus has a nifty function for this I think he calls it kwote. on mouseUp put kwote("first word") && "and" && kwote("second word") end mouseUp function kwote pWhatToQ...
by bn
Sat Dec 15, 2018 11:53 am
Forum: Mac OS
Topic: Script editor view problem
Replies: 5
Views: 251

Re: Script editor view problem

Hi Kaveh, did you delete the preference files from folder /Users/userName/Library/Preferences/RunRev ? The files "livecode7.rev" and "livecode.rev" ? When you delete those files (assuming both are there. "livecode7.rev" is for LC 7 and up) Livecode should not be running because otherwise it will rec...
by bn
Tue Dec 04, 2018 2:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Zoom IDE
Replies: 30
Views: 1162

Re: Zoom IDE

bogs made me aware that bnGuides is not working in pre 7.0 LC versions

Here is a version that was saved in LC 5.5 format. (should also work in later versions of LC)

Did not test this version extensively but a first short test seemed to work

Kind regards

Bernd
bnGuides5.5.livecode.zip
(17.91 KiB) Downloaded 9 times
by bn
Sat Dec 01, 2018 11:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Zoom IDE
Replies: 30
Views: 1162

Re: Zoom IDE

Thanks. I don’t mean simple alignment tools like you mentioning mean dynamic alignment tools that appear when you move a field or object around like you can see here..... https://youtu.be/r1UOx0vo_Jc at around the 25 second mark. Can you configure this? I believe someone wrote a plugin to do just t...
by bn
Thu Nov 29, 2018 5:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Zoom IDE
Replies: 30
Views: 1162

Re: Zoom IDE

maybe scaleFactor helps

put this into the message box and hit return

Code: Select all

set the scalefactor of stack "myStack" to 0.5
it will shrink your stack, 1.0 is original size and so on
Although this only scales one stack at the time.

Kind regards
Bernd
by bn
Thu Nov 29, 2018 5:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: save image from url
Replies: 6
Views: 374

Re: save image from url

I tried this on a Mac/desktop in LC 9.0.2 RC1 and it worked. You have to adapt the code to your code. (e.g. I download to desktop, I use a script local etc.) All code is in the button. I unload before load. Please see also the User Guide for load. (around p 446/447 for the LC 9.0.2 User Guide) The d...
by bn
Mon Nov 26, 2018 8:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: horizontal navigation in a vertical scroller
Replies: 8
Views: 584

Re: horizontal navigation in a vertical scroller

Hi Louis, here is an attempt at two mobile scrollers for your problem. It is not perfect since you have to first click to change the scroller and click again when changing back before you can scroll in the respective scroller. What makes your approach difficult is that mobile does not like two activ...

Go to advanced search