Search found 13 matches

by lexogram
Tue Oct 21, 2014 6:49 pm
Forum: Android Deployment
Topic: 7.0 (rc3) Barebones stack fails to launch on Android
Replies: 1
Views: 2077

7.0 (rc3) Barebones stack fails to launch on Android

Hello LiveCoders! I am new to LiveCode. I have little experience with troubleshooting deployment issues. I have created a barebones "Hello World!" stack in LiveCode 6.6.4. I can test it successfully on an Android 2.2 device, using LiveCode 6.6.4. When I open the same stack in LiveCode 7.0 (rc 2 or r...
by lexogram
Tue Oct 21, 2014 1:58 pm
Forum: Talking LiveCode
Topic: numtochar(1) invisible in LC 6.6.2
Replies: 4
Views: 3143

Re: numtochar(1) invisible in LC 6.6.2

Hi Jean-Marc, At the site asciitable (dot) com you can see that the meaning of numToChar(1) is "Start of Heading", which is meaningful when transmitting messages over a network . This is an invisible, non-printing character. The first visible character is numToChar(33) or ! There are other character...
by lexogram
Mon Oct 20, 2014 11:18 pm
Forum: Talking LiveCode
Topic: Reusing a group on the same card
Replies: 4
Views: 3236

Re: Reusing a group on the same card

Thanks Craig!
by lexogram
Mon Oct 20, 2014 9:50 pm
Forum: Talking LiveCode
Topic: Reusing a group on the same card
Replies: 4
Views: 3236

Re: Reusing a group on the same card

Hi Craig, Thanks for your reply. In fact, a Braille Dot group will work in two different ways: * The user can touch each of the dots in any pattern, to toggle it on or off, to create a new pattern. * When a word is displayed, the various pattern will be sent to a set of Braille Dot groups, to spell ...
by lexogram
Mon Oct 20, 2014 8:10 pm
Forum: Talking LiveCode
Topic: Reusing a group on the same card
Replies: 4
Views: 3236

Reusing a group on the same card

Hi LiveCoders! I am creating an app to demonstrate how Grade 2 Braille is written. Each character pattern is composed of 6 dots. I have created a group called Braille Dot containing 6 oval graphics. I have added a script to the group so that a call to setPattern(pInteger) will set the background col...
by lexogram
Mon Oct 20, 2014 7:22 pm
Forum: Talking LiveCode
Topic: Events sent from card to "behave like background" groups
Replies: 6
Views: 4670

Re: Events sent from card to "behave like background" groups

Hi Craig, You are right. If both group scripts have a handler for a given event then the event will be handled by that handler. However if one group script does not have that handler, then the event is forwarded to the card, and then to the group in the highest layer that has a handler for it. Here ...
by lexogram
Mon Oct 20, 2014 6:29 pm
Forum: Talking LiveCode
Topic: Share data between cards
Replies: 10
Views: 7169

Re: Share data between cards

Hi Klaus, Thanks for your 2 answers. The Share Text checkbox in the Inspector does the trick. I understand about using the full address for an object. I was hoping that there was a direct way of asking the current stack for a control with a given name or a given id, but it seems that there is not. Y...
by lexogram
Mon Oct 20, 2014 5:40 pm
Forum: Talking LiveCode
Topic: Share data between cards
Replies: 10
Views: 7169

Share data between cards

Hello LiveCoders! I have 2 different cards which all need access to the same information. I have stored the information in a field. The 2 cards share a button (via a shared group). Clicking on the button queries the text of the field. It seems that the field needs to be attached to all of the cards ...
by lexogram
Mon Oct 20, 2014 5:13 pm
Forum: Talking LiveCode
Topic: Events sent from card to "behave like background" groups
Replies: 6
Views: 4670

Events sent from card to "behave like background" groups

Hi LiveCoders! I have an issue with mouse events leaking through from one group and triggering handlers in a different group. In the LiveCode dictionary for `backgroundBehavior` I read: The group's script is placed behind the card in the message path for any message not originating from a control wi...
by lexogram
Sun Oct 19, 2014 9:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Iterate through objects in a group
Replies: 8
Views: 7727

Re: Iterate through objects in a group

Thanks to Jean-Marc for his quick and helpful reply. I have got the group script working now. The script error I get with... repeat for each graphic tGraphic in group "Pattern" put the number of tGraphic end repeat ... is: Script compile error: Error description: repeat: bad termination condition It...
by lexogram
Sun Oct 19, 2014 7:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Iterate through objects in a group
Replies: 8
Views: 7727

Iterate through objects in a group

Hi LiveCoders! I have 6 graphic objects in a group (dots in a Braille pattern, to be precise). I can get the number of objects in the group using put the number of graphics in group "Pattern" . What's the syntax I should use to iterate through each graphic so that I can set its properties? I've trie...
by lexogram
Fri Oct 17, 2014 11:33 pm
Forum: Talking LiveCode
Topic: Unicode from a PHP script in LiveCode 7.0
Replies: 2
Views: 2967

Re: Unicode from a PHP script in LiveCode 7.0

Thanks Neil! That works.
by lexogram
Fri Oct 17, 2014 10:31 pm
Forum: Talking LiveCode
Topic: Unicode from a PHP script in LiveCode 7.0
Replies: 2
Views: 2967

Unicode from a PHP script in LiveCode 7.0

Hi LiveCoders! I understand that in the forthcoming version 7.0, Unicode is handled differently than it has been in the past, and that uniEncode is deprecated. Apologies in advance for the awkward way in which I have created a URL, so that I can provide a simple example on this forum. I have created...