Search found 285 matches

by bwmilby
Sun Sep 16, 2018 8:45 pm
Forum: LiveCode Builder
Topic: com.livecode.widget.ColorPicker
Replies: 17
Views: 3546

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: 56
Views: 8597

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

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

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

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

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

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

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

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

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

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

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

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.
by bwmilby
Tue Aug 21, 2018 11:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Working in Teams
Replies: 2
Views: 679

Re: Working in Teams

I think it will depend on the size of the team and the size of the project. If you have multiple pieces of GUI that you can separate out into multiple stacks so that you can split out work on those pieces, then Levure would fit that model. If you have one person that will be the traffic cop for the ...
by bwmilby
Sat Aug 18, 2018 10:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Non sorted tree view display
Replies: 10
Views: 1799

Re: Non sorted tree view display

To do this would require a pretty significant change to the widget. The underlying data is an array so the value is either a string or an array. Keys are sorted alpha or numeric. You could probably use 2 part keys (sort ID,key name) and adjust the code to sort by the ID and display the key name. I’l...

Go to advanced search