Search found 3201 matches

by bn
Tue Sep 18, 2018 2:28 pm
Forum: Bug Triage
Topic: Gradient Property Palette Bug
Replies: 5
Views: 95

Re: Gradient Property Palette Bug

Hi Al, In the screenshot, Why the Gradient palette shows two Ok buttons while "Mirror" and "Wrap" disappeared? because you opened two palettes, Properties Inspector does not like this. I have seen it before and reproduced it just now. PI assumes you close a palette once you are done with the setting...
by bn
Tue Sep 18, 2018 12:22 pm
Forum: Bug Triage
Topic: Gradient Property Palette Bug
Replies: 5
Views: 95

Re: Gradient Property Palette Bug

Hi Al, looging a little more into this the it does not become clear what happens but you can tell when. I made a little stack that tracks the "colorOverlay" of the templateGraphic every 200 milliseconds trackTemplateGraphicOverlay.livecode.zip when starting LC 9.0.1 open this stack and start watchin...
by bn
Tue Sep 18, 2018 9:49 am
Forum: Bug Triage
Topic: Gradient Property Palette Bug
Replies: 5
Views: 95

Re: Gradient Property Palette Bug

Hi Al, when you import you use the templateGraphic in button "bz4" you use the templateGraphic without resetting it. if you reset the templateGraphic before using it I can not see your problem anymore. you can test the templateGraphic from the message box: put the colorOverlay["color"] of the templa...
by bn
Thu Aug 23, 2018 9:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Non sorted tree view display
Replies: 10
Views: 514

Re: Non sorted tree view display

here is a cleaned up version of the first stack I posted.
Additionally there was a small glitch in there too.

Kind regards
Bernd
setOrderedArray_2.livecode.zip
(6.32 KiB) Downloaded 12 times
by bn
Wed Aug 22, 2018 9:12 pm
Forum: LiveCode Builder
Topic: Timer not working
Replies: 3
Views: 172

Re: Timer not working

Greg, private variable mTester as Boolean private variable mNumText as String public handler OnMouseDown() variable tNum as Number put "1" into mNumText put mNumText parsed as number into tNum add 1 to tNum put tNum formatted as string into mNumText put not mTester into mTester redraw all schedule t...
by bn
Wed Aug 22, 2018 9:52 am
Forum: LiveCode Builder
Topic: Built-in properties
Replies: 13
Views: 349

Re: Built-in properties

I've looked at the source, and the font is a pointer to the current effective font of the widget to include the textFont, textSize, and textStyle properties. There does not appear to be a way to individually address any of those properties from inside the widget. You could use "execute script" I su...
by bn
Tue Aug 21, 2018 4:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Non sorted tree view display
Replies: 10
Views: 514

Re: Non sorted tree view display

Okay, I gave it another try: This is a horrible hack I take a list of what I want to display as a "menuList" i.e. a list that keeps the original order of the list. The problem in just passing this list as an array with the lines of the list as keys is that arrays beyond 9 keys are not ordered. TreeV...
by bn
Mon Aug 20, 2018 1:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Non sorted tree view display
Replies: 10
Views: 514

Re: Non sorted tree view display

James, I don't think the slide was a fudge but it was from a version that was more advanced than what was covered in the video. Elanor did say that she wanted to put the modified version up on the extension store once it is finished. And for a menulist, that is how she called the modified version, a...
by bn
Mon Aug 20, 2018 1:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Returning to LiveCode
Replies: 10
Views: 515

Re: Returning to LiveCode

jmburnod wrote: ↑Sat Aug 18, 2018 11:34 pm Bernd did TinyDictionary. I have to agree, He (and Brian and a few others) really did a fantastic job on it. It is responsive as all get out, and can be resized to a far greater use of space and still be usable than the included dictionary. While you still...
by bn
Sat Aug 18, 2018 11:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Non sorted tree view display
Replies: 10
Views: 514

Re: Non sorted tree view display

Hi James,

EDIT: I thought I could find a way but did not succeed.

Kind regards
Bernd
by bn
Fri Aug 17, 2018 3:32 pm
Forum: LiveCode Builder
Topic: Default Script
Replies: 11
Views: 468

Re: Default Script

the default script did not work for me either.
I resorted to make a button that sets the script.

but Hermann's solution might be easier.

Kind regards
Bernd
by bn
Fri Aug 17, 2018 3:29 pm
Forum: LiveCode Builder
Topic: Wrap Text in Rect
Replies: 8
Views: 303

Re: Wrap Text in Rect

What happens is that there is a large gap at the top of the box, and then all the text is at the bottom that it because your pTextBox is too tall, If you set its height to text height and not changing the topLeft or alteratively creating a new rect for filling that has the width of pTextBox and the...
by bn
Fri Aug 17, 2018 3:02 pm
Forum: LiveCode Builder
Topic: Wrap Text in Rect
Replies: 8
Views: 303

Re: Wrap Text in Rect

Greg, I did not know newLine, good to know, thank you. here is your handler set up to display text centered. I made a variable tAlign which is hardcoded here. It would probably be easier to make it a property so you can set it via script or from the properties Inspector. Then the "fill" command is c...
by bn
Thu Aug 16, 2018 7:10 pm
Forum: LiveCode Builder
Topic: Wrap Text in Rect
Replies: 8
Views: 303

Re: Wrap Text in Rect

Greg, as far as return is concerned I resorted to this solution create some new variables and put a linefeed character into your list of words as a test. I assume that if you pass the widget a string with a return from LCS it will be linefeed (ASCII 10). variable tReturnChar as String get the char w...
by bn
Thu Aug 16, 2018 4:31 pm
Forum: LiveCode Builder
Topic: Wrap Text in Rect
Replies: 8
Views: 303

Re: Wrap Text in Rect

Greg, regarding alignment I only found this solution variable tAlign as String put "center" into tAlign and then if tAlign is "center" then fill text tLine at center of pTextBox on this canvas else if tAlign is "top left" then fill text tLine at top left of pTextBox on this canvas else if tAlign is ...

Go to advanced search