Search found 197 matches

by bwmilby
Mon Sep 17, 2018 1:59 pm
Forum: Talking LiveCode
Topic: Collapse and expand Tree View Widget from code
Replies: 4
Views: 158

Re: Collapse and expand Tree View Widget from code

I think I need to do another PR to make it easier :D
by bwmilby
Mon Sep 17, 2018 1:25 am
Forum: Talking LiveCode
Topic: Collapse and expand Tree View Widget from code
Replies: 4
Views: 158

Re: Collapse and expand Tree View Widget from code

Currently there isn't a way to change the fold state from code.
by bwmilby
Sun Sep 16, 2018 8:45 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 633

Re: com.livecode.widget.ColorPicker

Looks like the "onSave" issue was indeed a bug. Fix should show up in 9.0.2rc1

https://quality.livecode.com/show_bug.cgi?id=21582
https://github.com/livecode/livecode/pull/6686
by bwmilby
Sat Sep 15, 2018 2:19 pm
Forum: Announcements
Topic: LiveCode Multi-Search
Replies: 28
Views: 665

Re: LiveCode Multi-Search

Mac issue? I don’t see it get populated either.

There are spaces in the URL which if removed make it work correctly on my machine. (In the search button script)

Search string should probably be URL Encoded (for spaces mainly). Dictionary code needs to reverse that though.
by bwmilby
Thu Aug 30, 2018 3:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: property inspector size issue
Replies: 12
Views: 418

Re: property inspector size issue

I only tested the workaround in 9 - mainly on Linux.
by bwmilby
Thu Aug 30, 2018 2:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Table Field not updating correctly
Replies: 21
Views: 528

Re: Table Field not updating correctly

There is code (handlers) to go to the next/previous row/cell (one for each direction). When navigating that way, tabs are automatically inserted. My guess is that something is amiss with the calculation of tabs that need to get inserted when clicking on an arbitrary cell. The location is good in one...
by bwmilby
Thu Aug 30, 2018 1:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Table Field not updating correctly
Replies: 21
Views: 528

Re: Table Field not updating correctly

Looking at the code, I can see why arrow keys work. Knowing that should make finding a solution easier. I kind of doubt that it is random, I’m guessing there will be a pattern too.
by bwmilby
Thu Aug 30, 2018 3:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: property inspector size issue
Replies: 12
Views: 418

Re: property inspector size issue

Vertical does work after you switch tabs a few times. (Still a bug, but there is a work around). The listed bug report is something that I’ve taken a look at. The proposed logic is pretty much what is used, but for some reason the initial resize permission isn’t getting set correctly (there is a set...
by bwmilby
Tue Aug 28, 2018 2:41 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 633

Re: com.livecode.widget.ColorPicker

My comment was more for how to generate a widget that works for both. If you distribute with both lcm files then it would work fine. If you initially compile in 9, then it uses lcm, you only get the 2.lcm when there is already a lcm for 8 (v1 of lcm format). Agree that a commercial widget needs to o...
by bwmilby
Mon Aug 27, 2018 11:36 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 633

Re: com.livecode.widget.ColorPicker

The release of LC 9 fixed the recompile issue. What you need to do is update the source code and install in LC 8. When you launch LC 9 it will recompile the widget for LC 9 but leave the working code for LC 8 as long as the lcb file is present. The files are "module.lcm" and "module.2.lcm"
by bwmilby
Mon Aug 27, 2018 6:11 am
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 633

Re: com.livecode.widget.ColorPicker

I think it just needs one or both of these handlers (probably just the first one): public handler OnSave(out rProperties as Array) put the empty array into rProperties return rProperties end handler public handler OnLoad(in pProperties as Array) end handler When I added them, I was able to save the ...
by bwmilby
Mon Aug 27, 2018 12:24 am
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 633

Re: com.livecode.widget.ColorPicker

I’m sure there are a few that would look at the code to help track down where the issues are.
by bwmilby
Wed Aug 22, 2018 6:16 am
Forum: LiveCode Builder
Topic: Built-in properties
Replies: 13
Views: 349

Re: Built-in properties

The advantage is that you don't have to manually load/save the values. Look at the "my" entries in the LCB dictionary. Not all of the properties that you listed are covered. Color is probably the easiest example. Standard color settings are available within the widget (my background paint, my border...
by bwmilby
Wed Aug 22, 2018 12:36 am
Forum: LiveCode Builder
Topic: Built-in properties
Replies: 13
Views: 349

Re: Built-in properties

Code: Select all

property textAlign get mTextAlign set mTextAlign
metadata textAlign.editor is "com.livecode.pi.textalign"
private variable mTextAlign as String
by bwmilby
Tue Aug 21, 2018 11:29 pm
Forum: LiveCode Builder
Topic: Built-in properties
Replies: 13
Views: 349

Re: Built-in properties

You need to read the value of the property and then adjust your code accordingly. Those properties are just values, it is up to your code to give them meaning as appropriate for your widget.

Go to advanced search