Search found 162 matches

by Zryip TheSlug
Tue Apr 07, 2015 7:40 pm
Forum: LiveCode Builder
Topic: Executing a function - How to get a result
Replies: 7
Views: 6487

Re: Executing a function - How to get a result

Trevor,

I should have thought to a simple "return". Thanks!

That's said I'm not sure the syntax for defining property options:

Code: Select all

metadata fontName.options is "execute:get the fontnames; sort it" 
is not confusing. It confused me. 8)
by Zryip TheSlug
Mon Apr 06, 2015 9:49 pm
Forum: LiveCode Builder
Topic: Formatting a numeric as a string - Issue?
Replies: 4
Views: 4375

Formatting a numeric as a string - Issue?

If I'm following the "format" documentation about casting a numeric as a string public handler myHandler() variable tNum as Number variable tNumString as String put 5 into tNum format tNum as string put the result into tNumString log tNumString end handler The result is not 5 but 5.000000 even if th...
by Zryip TheSlug
Sun Apr 05, 2015 10:48 pm
Forum: LiveCode Builder
Topic: com.livecode.date library - Numeric day of a week
Replies: 3
Views: 4204

com.livecode.date library - Numeric day of a week

I'm trying to play with dates in LCB.

For getting the numeric day of the week we have the need of an equivalent to the "convert to dateItems" of LiveCode or a way to get the numeric day.

The local date returned by LCB is a list of 6 elements against 7 for LC. The 7th is the numeric day I need.
by Zryip TheSlug
Sun Apr 05, 2015 10:32 pm
Forum: LiveCode Builder
Topic: Executing a function - How to get a result
Replies: 7
Views: 6487

Executing a function - How to get a result

The com.livecode.date library seems actually very limited. For getting the list of the weekdayNames, I have tried: private handler getWeekDaysName() as List variable tStringList as String variable tDayNamesList as List execute script "get the system weekdayNames" put the result into tStringList spli...
by Zryip TheSlug
Thu Apr 02, 2015 10:18 pm
Forum: LiveCode Builder
Topic: Handlers - Optional parameters syntax
Replies: 4
Views: 4724

Handlers - Optional parameters syntax

How to use optional parameters in a handler / function ? For example I want an addRectangle handler accepting 2 parameters and 2 optional parameters: I tried: private handler addRectangle(in pRectangle as Rectangle, in pColor as Color, in optional pBorderWidth as Integer = 0, in optional pBorderColo...
by Zryip TheSlug
Wed Apr 01, 2015 11:49 pm
Forum: LiveCode Builder
Topic: Clipping text in a shape - Wrapping text
Replies: 4
Views: 4067

Re: Clipping text in a shape - Wrapping text

@LCMark

Sounds great, thanks.

Btw, any chance to have the "text path" implemented?
by Zryip TheSlug
Sun Mar 29, 2015 7:23 pm
Forum: LiveCode Builder
Topic: Clipping text in a shape - Wrapping text
Replies: 4
Views: 4067

Clipping text in a shape - Wrapping text

I've tried to clip a text in a rectangle and I would have expected the text would have wrapped inside the rectangle. I do not seen a command for creating a text behaving like the svg "textarea" element. Maybe I missed something in the documentation. If not, is there any plan to support this behavior...
by Zryip TheSlug
Sun Mar 29, 2015 7:07 pm
Forum: LiveCode Builder
Topic: Create a path out of arcs and lines that can be filled
Replies: 3
Views: 4618

Re: Create a path out of arcs and lines that can be filled

@trevordevore setting the fill rule to "non zero" should have do the trick but in your case I don't understand why applying this rule has no effect. According to the SVG documentation the rule is applied for shapes drawn from left towards right. By the way there is a mistake in the documentation. Th...
by Zryip TheSlug
Tue Mar 24, 2015 12:34 am
Forum: LiveCode Builder
Topic: List of metadata .editors?
Replies: 2
Views: 3930

Re: List of metadata .editors?

@ livecodeali Thanks! Hi Zyrip, metadata <property>.editor is "com.livecode.pi.enum" metadata <property>.options is "execute:get the fontnames; sort it" I was not aware of the execute thing, very useful. Widgets do have a textFont property, but it didn't make it into the property definition file for...
by Zryip TheSlug
Sun Mar 22, 2015 7:38 pm
Forum: LiveCode Builder
Topic: List of metadata .editors?
Replies: 2
Views: 3930

List of metadata .editors?

Do we have a list of possible metadata editors?

I've seen so far:
- com.livecode.pi.color
- com.livecode.pi.enum
- com.livecode.pi.text

Do we have something for the available fonts?

I've tried: com.livecode.pi.font with no chance.
by Zryip TheSlug
Thu Dec 18, 2014 11:49 pm
Forum: Data Grid Helper
Topic: DGH Update
Replies: 3
Views: 11174

Re: DGH Update

Hi Gagsoft, The reason I've asked your LiveCode version is the issue has been reported by 2 DGH users at the beginning of the year, and this was because of a bug introduced by LC 7.0 (in the load url command when using a callback message). The bug has been reported to LiveCode and should be now fixe...
by Zryip TheSlug
Tue Dec 16, 2014 10:35 pm
Forum: Data Grid Helper
Topic: DGH Update
Replies: 3
Views: 11174

Re: DGH Update

Hi Gagsoft,

What is your LC version?

This is maybe linked to this bug reported and fixed for version 7.0

http://quality.runrev.com/show_bug.cgi?id=12546
by Zryip TheSlug
Mon Oct 06, 2014 11:01 pm
Forum: Data Grid Helper
Topic: Drag and drop column error in 7.0 rc1
Replies: 2
Views: 7851

Re: Drag and drop column error in 7.0 rc1

The issue seems to be relative in the dragImage property is no longer accepting ids upper than 65535.

http://quality.runrev.com/show_bug.cgi?id=13610



Best Regards
by Zryip TheSlug
Mon Oct 06, 2014 9:00 pm
Forum: Data Grid Helper
Topic: Drag and drop column error in 7.0 rc1
Replies: 2
Views: 7851

Re: Drag and drop column error in 7.0 rc1

Tom,

Thanks for the report. I stopped my tests of DGH with LC 7.0 dp 6 and all appeared to be ok. Will investigate with LC 7.0 RC1


Best Regards,
by Zryip TheSlug
Tue Aug 05, 2014 9:19 pm
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 101112

Re: android externals

@runrevmark,

Ok, thanks for the infos.

Go to advanced search