Search found 86 matches

by CenturyMan1979
Wed Dec 03, 2014 6:53 pm
Forum: Talking LiveCode
Topic: Native Mobile Scroller and Datagrids
Replies: 1
Views: 2070

Native Mobile Scroller and Datagrids

Trying to get the native mobile scroller to work with a data grid but am having trouble on how to figure out the height of the content in the data grid to set as the contentRect for the scroller. Anyone know what I can do to get the content height of a data grid?
by CenturyMan1979
Tue Oct 28, 2014 5:05 pm
Forum: iOS Deployment
Topic: Could not find external revZip for Simulator 7.0
Replies: 0
Views: 1567

Could not find external revZip for Simulator 7.0

So I am working on an iPad app and when I click the test button to test my app in the simulator I am greeted with the message, Could not find external revZip for Simulator 7.0 If I click ok then I am given the error message, Unable to build app for simulation: Could not find external revzip for Simu...
by CenturyMan1979
Fri Oct 24, 2014 9:01 pm
Forum: iOS Deployment
Topic: Unable to test or test target on IOS.
Replies: 4
Views: 4020

Re: Unable to test or test target on IOS.

Any patch available for this yet? Just downloaded LiveCode 6.7 (rc2) and I still can't seem to connect to the sdk for Xcode 6.0.1
by CenturyMan1979
Mon Aug 04, 2014 5:03 pm
Forum: Talking LiveCode
Topic: Get the height of multiline text field with word wrap
Replies: 1
Views: 1828

Get the height of multiline text field with word wrap

Hey All, I have a text field that has the fixedLineHeight set to false and is set to word wrap. Is there a way to get the height of a line of text when the field is wrapping text to make it multiple lines high. I don't know how many lines will be in the text field and since it is text that is wrappe...
by CenturyMan1979
Tue Jul 29, 2014 4:17 pm
Forum: Talking LiveCode
Topic: Position objects with float value
Replies: 1
Views: 1958

Position objects with float value

Hey All,

Just wondering if anyone out there knows a way to position objects based on a float value instead of an integer?
by CenturyMan1979
Wed May 07, 2014 4:41 pm
Forum: Talking LiveCode
Topic: screenRect returns wrong size
Replies: 3
Views: 2783

Re: screenRect returns wrong size

On the mac it seems you can't always rely on multiplying the screenRect by the screenPixelScale if you use a scaled resolution. In system information it shows that my display resolution is 2880 x 1800. If using the display setting Best (retina) which is 1440 x 900 then I can use screenPixelScale whi...
by CenturyMan1979
Tue May 06, 2014 3:46 pm
Forum: Talking LiveCode
Topic: screenRect returns wrong size
Replies: 3
Views: 2783

Re: screenRect returns wrong size

Looks like you need to multiply the width and height values from screenRect by the screenPixelScale to get the correct screenRect value.

My guess Simon is that you screenPixelScale value is 1. Mine is returning 1.25, so the size output I am seeing from screenRect makes sense now at least.
by CenturyMan1979
Tue May 06, 2014 3:28 am
Forum: Talking LiveCode
Topic: screenRect returns wrong size
Replies: 3
Views: 2783

screenRect returns wrong size

Hey All, Downloaded 6.6.2 RC3 on Windows 7 Pro 64-bit and noticed that screenRect is returning the wrong value. Just checking if others can verify this issue on there machines. If you are getting incorrect values what OS and version of live code are you using? I have filed a bug report for this whic...
by CenturyMan1979
Tue May 06, 2014 3:21 am
Forum: Talking LiveCode
Topic: Datagrid woes
Replies: 3
Views: 2464

Re: Datagrid woes

If you get an answer on this I would love to know it as well. Every time I get in this situation the only thing I have gotten to work is re-create a new data grid. You can save some time by creating the data grid and then copy and paste the items from your old data grid row template into the new one...
by CenturyMan1979
Wed Apr 30, 2014 7:46 pm
Forum: Talking LiveCode
Topic: How to Create Shortcut Key Combinations?
Replies: 13
Views: 9982

Re: How to Create Shortcut Key Combinations?

Also to insert text where the cursor is in a text field you can just use the following line,

Code: Select all

 put "hello world" into the selection
by CenturyMan1979
Wed Apr 30, 2014 7:42 pm
Forum: Talking LiveCode
Topic: How to Create Shortcut Key Combinations?
Replies: 13
Views: 9982

Re: How to Create Shortcut Key Combinations?

I only had the put lines in there so you can see output in the message window. You also don't need to check tVariable after the "altKey is down" line since you have already determined that the altKey and the "b" key are down at this point. on rawKeyDown theKeyNumber switch (theKeyNumber) case 98 -- ...
by CenturyMan1979
Wed Apr 30, 2014 7:03 pm
Forum: Talking LiveCode
Topic: How to Create Shortcut Key Combinations?
Replies: 13
Views: 9982

Re: How to Create Shortcut Key Combinations?

I think those rawKey down codes for letters are just the ASCII codes: I remember having to memorise the lot in 1976 when I was 14, learning FORTRAN IV. However those are now a subset of the Unicode consortium's codeset: http://www.unicode.org/charts/ You can download a PDF chart for a particular wr...
by CenturyMan1979
Wed Apr 30, 2014 4:46 pm
Forum: Talking LiveCode
Topic: How to Create Shortcut Key Combinations?
Replies: 13
Views: 9982

Re: How to Create Shortcut Key Combinations?

I found it best to use rawKeyDown for doing shortcut commands as keyDown does not work when trying to use the alt key as part of the shortcut. rawKeyDown is a little more annoying to use since you have to figure out theKeyNumber for each key you want to use. Here is sample code of the alt + b shortc...
by CenturyMan1979
Wed Apr 16, 2014 5:13 pm
Forum: Talking LiveCode
Topic: Code Editor Bug (version 6.6.1)
Replies: 2
Views: 2883

Re: Code Editor Bug (version 6.6.1)

Posted this as a bug report. If you want to follow it is Bug 12218
by CenturyMan1979
Wed Apr 16, 2014 2:24 pm
Forum: Talking LiveCode
Topic: revBrowserSnapshot not working in Windows
Replies: 3
Views: 2482

Re: revBrowserSnapshot not working in Windows

Bug Report Update
we have now confirmed the bug in your bug report and will continue to update you as the status of this issue changes.

This problem seems to have been around for a while as this also appears to happen in LiveCode 6.1.3.

Go to advanced search