Search found 12 matches

by webmaster
Wed Oct 15, 2025 11:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: See text returned from a tsNetCustom TCP call
Replies: 3
Views: 667

See text returned from a tsNetCustom TCP call

When I issue a TCP call using tsNetCustom, the server sends a response as text. How can I put the returned text into a variable so it can be shown either as an "answer" (dialog box) or set as the text of a display field?
by webmaster
Mon Oct 13, 2025 10:58 pm
Forum: Talking LiveCode
Topic: tsNetCustom and HTTP/0.9 error
Replies: 0
Views: 653

tsNetCustom and HTTP/0.9 error

I'm building my first LiveCode app with tsNet networking. I have success sending commands to other devices using tsNetCustom (and the device responds to the request sent via TCP). But, the response coming back to the ResponseHandler has both an error code and I can't figure out how to process and di...
by webmaster
Sat Jan 23, 2021 9:19 pm
Forum: Talking LiveCode
Topic: Override arrow action on DataGrid controls
Replies: 4
Views: 4124

Re: Override arrow action on DataGrid controls

Thanks Klaus!! Your solution works great.

I double checked and the "dgarrowKey" command isn't in the LiveCode directory. Is there some way I should submit that as a documentation 'bug' ... or is there already a list somewhere of all the special/secret DataGrid commands.

Again, thanks!
by webmaster
Sat Jan 23, 2021 3:53 pm
Forum: Talking LiveCode
Topic: Override arrow action on DataGrid controls
Replies: 4
Views: 4124

Override arrow action on DataGrid controls

I am building a user interface that includes two DataGrid form components in a card. I would like to use "on arrowKey" at the card level to trigger some specific actions. However, whenever the user hits an arrow Up or Down, the DataGrid component also acts on the message (by highlighting the previou...
by webmaster
Wed Jun 29, 2011 8:21 pm
Forum: Android Deployment
Topic: Double Click implementation
Replies: 2
Views: 4788

Re: Double Click implementation

Hi. Just did a quick test of "mouseDoubleUp" on my Andriod phone. No, click and hold does not trigger it. The user must double tap the same control because LiveCode is sensing the removal of the finger as one mouseUp. Two finder removals within a short period of time is a double-click. I'm curious w...
by webmaster
Wed Jun 29, 2011 3:47 am
Forum: Android Deployment
Topic: Fonts on Android?
Replies: 0
Views: 2896

Fonts on Android?

Are we able to make any typeface/font choices for LiveCode Android apps? I just tried only choosing "Droid family" fonts (the ones pre-installed on Android devices; I copied them over from the Andriod emulator files) and my test app still showed everything in the same typeface. Is this a limitation ...
by webmaster
Mon Jun 27, 2011 4:21 pm
Forum: Android Deployment
Topic: Resolution Issue?
Replies: 19
Views: 18256

Re: Resolution Issue?

Sorry... I forgot that was posted to the Summer Academy forum that not everyone has access to see. Repost below... ---------- I've been hammering away at a "simple" but effect method for detecting screen size and orientation and adjusting the card layouts to match. I've got this proof-of-concept met...
by webmaster
Mon Jun 27, 2011 12:40 am
Forum: Android Deployment
Topic: Resolution Issue?
Replies: 19
Views: 18256

Re: Resolution Issue?

I posted a working example of one method of handling multiple screen resolutions in the following post:
http://forums.runrev.com/viewtopic.php? ... 58&start=0

There are a number of approaches to handling this, and I'm sure different solutions are appropriate to various types of moblie apps.
by webmaster
Sat May 28, 2011 9:25 pm
Forum: Android Deployment
Topic: Screen Orientation problem on Android?
Replies: 6
Views: 8049

Re: Screen Orientation problem on Android?

resizeStack message ... is sent reliably after that on each rotation. Jacque -- Thanks for the reply! I tried changing to the resizeStack event handler, but it doesn't ever seem to get triggered on my Android phone. (I put a simple answer box in the code for resizeStack, but it doesn't ever appear....
by webmaster
Fri May 27, 2011 2:05 am
Forum: Android Deployment
Topic: Unable to build app for testing
Replies: 12
Views: 14378

Re: Unable to build app for testing

The steps you list sound good. That's pretty much what I've done and it is working for me. Make sure you are targeting a virtual Androird OS version of 2.2 or higher. Have you tried creating a very simple 1 stack 1 card application (text/rectangles/buttons -- no code) to make sure it's not something...
by webmaster
Thu May 26, 2011 11:51 pm
Forum: Android Deployment
Topic: Screen Orientation problem on Android?
Replies: 6
Views: 8049

Screen Orientation problem on Android?

[Posted this in the "Summer Academy" forum, but would LOVE to know what the wider audience of LiveCoders is seeing.] Is anyone else seeing a Screen orientation problem on Android devices? I've got some code that switches between a vertical and horizontal layout depending on the "mobileDeviceOrientat...
by webmaster
Mon May 23, 2011 11:30 pm
Forum: Android Deployment
Topic: Resolution Issue?
Replies: 19
Views: 18256

Re: Resolution Issue?

Android phones come in various screen resolutions. So far, my research shows that the majority are in the following categories: * 240x320 -- QVGA -- quite rare, actually. * 320x480 -- HVGA -- fairly common (older phones) * 480x800 -- WVGA -- fairly common (newer phones) * 480x856 -- FWVGA -- Motorol...