iOS iPhone Retina splash image

2011-03-20 Thread Gerry
Hi folks

My iPhone app uses a 960x640 .png as the splash screen image. In the standalone 
settings, I have the status bar set to visible, and the status bar style to 
default. The image appears but after a second or two it suddenly stretches 
vertically.

What am I doing wrong?

Cheers

Gerry



-- photo site: http://gerryorkin.com



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PlonkerPoint

2011-03-20 Thread Richmond

On 3/20/11 1:46 AM, Kee Nethery wrote:

As much as I love Livecode, I use Keynote on the Mac to make my presentations 
and it is really easy compared to powerpoint. Once I'm done I can export as 
PowerPoint or PDF and find that works quite well. It's a really nice easy to 
use tool for presentations.
Kee Nethery
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


I don't really have a beef with Keynote; what I do have a beef with is
Microsoft, their inferior products, and the way that because Microsoft
have market dominance everybody else has to play slowDown (the
opposite of 'catchup') with their stuff.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Acorn Image editor - launch error

2011-03-20 Thread Keith Clarke
Hi folks,
I have set Acorn as my image editor in LiveCode preferences but when attempting 
to use Launch Editor from an image's contextual menu get an error dialogue, 
with the message There was a problem launching the editor. No such document.
Any clues? Is anyone using Acorn successfully with LiveCode?
Best,
Keith..   
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Debug problem

2011-03-20 Thread edward cawley
Solved part of my problem, I had left a little bit of code from setting up a 
Windows standalone which put /system/ into the global, deleted the code and it 
OK now but I still can't set the breakpoint to debug the stack. I think this 
happened once before and I found a execution error with a handler on another 
card. Is there an easy way to check where? Any other ideas?

Ed
On Mar 20, 2011, at 12:00 PM, use-livecode-requ...@lists.runrev.com wrote:
 
 Message: 3
 Date: Sat, 19 Mar 2011 13:29:52 -0500
 From: edward cawley etcaw...@fastmail.fm
 To: use-livecode@lists.runrev.com
 Subject: Debug problem with relative paths
 Message-ID: 25d72639-99ae-44c5-97e0-532fa761c...@fastmail.fm
 Content-Type: text/plain; charset=us-ascii
 
 I have a problem that has cropped up. I can work around it but it has me 
 puzzled. I am modifying a stack from a functioning desktop stack to an iPad 
 stack. I made a few minor changes -to  ios landscape and a few scale 
 modifications- and suddenly a global path reference changed.
 The open stack script is   put MisippFiles/ into GVStackPath   the 
 GVStackPath is a global, but the variable shows it as  /System/ 
 MisippFiles/ and I can't get it to change back to just MisippFiles/. And 
 when I try to set a breakpoint to debug it I get a message that the script 
 debug mode is currently off and it won't let me turn it on? What's happening??
 Ed

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sort of OT: mysql and select from two tables...?

2011-03-20 Thread Peter Haworth
Bit late to the game on this but it sounds like you need an option menu 
populated with the teacher names to allow the teachers to select themselves or 
another teacher.  You'd need to keep track of the teacher_id for each option 
menu entry so you could grab it in a menuPick handler and use it in a SELECT 
statement to find all the students with the teacher's ID.

Pete Haworth

On Mar 16, 2011, at 12:15 PM, John Patten wrote:

 Hi All...
 
 Thanks for the previous help on the on-rev php/mysql question. I have a 
 question about the mysql select command, session_register, and selecting from 
 two tables.
 
 I have one database with two tables. The tables are teacher_user and 
 student_user.
 
 Each table has a unique teacher-id stored in a fields. So students with the 
 teacher_id value of 0001 stored in their student_user record all belong to 
 the same teacher.
 
 
 Teacher_tableStudent_table
 
 id - 0001 teacher_id = 0001
 first   first
 last   last
 title   grade
 
 
 I also have the teacher login with their username and password comparing what 
 is stored in their db record for username and password. If they match, then 
 their username and password is then session_register(username);  
 session_register(password);  .
 
 What i would like to be able to do is query the database and return a list of 
 students to the individual teacher based on some unique information about the 
 teacher's record, say their username.
 
 is there some way I can get at the session_register(username) and use it in 
 my select query?
 
 Something like:
 
 select username from teacher_table and put id of table teacher_table into 
 tTeacher_id then
 select tTeacher_id from student_table and loop through the student printing 
 each record
 
 I suppose if the teacher new their id value I could just have them type that 
 into a form and do a simple query the student_table and teacher_id field by 
 that id value. But I was trying to make it a little more automatic and did 
 not want teachers trying to guess other teachers' ids.
 
 Thanks in advance!
 
 John Patten
 SUSD
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SQL and other databases

2011-03-20 Thread Kee Nethery
 So, I am really interested to know why so many folk seem interested in using
 Livecode to write database front-ends rather than using Livecode for the
 database as such.


1. We already have a multiuser database and several other light client systems 
that access it via web browsers. 

I have a heavy client in Livecode that we use internally to access and 
manipulate the data in ways that would be difficult in a browser.

2. If I anticipated 10 records, a real SQL database is probably going to be 
faster as the database grows.

3. If I anticipated the need to do joins between multiple tables, a real SQL 
query mechanism is probably going to be faster than Livecode. For example: 
imagine four stacks; one with product records, one with customer records, one 
with transaction records, one that ties countries to areas. Now envision 
selecting all transactions by customers who live in europe that contain 
products that are blue. 

In Livecode you could grab a list of all products that are blue, then see what 
transactions contain those products. Grab a list of countries that are in 
europe. For that list of transactions, look up every customer to see what 
country they live in. Toss out transactions from countries that are not in 
Europe. A SQL database does this very quickly. Livecode could do this but wow 
it would probably take a long time.

Those are three reasons I would not use Livecode as the database.

Kee Nethery
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: URLencode bug?

2011-03-20 Thread Chipp Walters
The project, called revShare, was commissioned by David Johnson, and as
such, is his property. You may try and contact him directly to find out
more. At the time it was created, things worked by updating changes via FTP
to a server and reading them via HTTP. The idea was it should be able to
accomodate synchronous and asynchronous communications. So, if someone made
a change to a stack they were sharing with you, yours would update as soon
as you came online, no matter if they were online or not. Sort of a cloud
based stack sharing system.

On Fri, Mar 18, 2011 at 11:06 AM, Bob Sneidar b...@twft.com wrote:

 Hi Chipp. Any chance that stack still works? That is a great idea.

 Bob


 On Mar 18, 2011, at 1:20 AM, Chipp Walters wrote:

  Yep, years ago I wrote a stack sharing library for Rev which passed back
 and forth via a server any changes made to stacks, thus allowing multiple
 people in remote locations to work on the same stack at the same time, and
 used the base64encode trick you mention to encode all meta data for all
 controls and their properties. Worked well.
 
  Chipp Walters
  CEO, Shafer Walters Group, Inc


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Chipp Walters
CEO, Shafer Walters Group, Inc.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS iPhone Retina splash image

2011-03-20 Thread Gerry
Tom
Or is this the Apple start up splash image that gets bundled with the app?
It's the Apple startup splash, as specified in the app settings window.
 When you run it in the emulator is the Status Bar visible? Not the setting in 
 the Standalone Settings but the actual Status Bar? 
The status bar cuts in after the splash image shows, and just after the image 
stretches. 

This app is only for use in portrait orientation. 


Gerry



 I code the status bar myself after one time setting it in the Standalone 
 settings and then it not working. After that I always code it myself. If this 
 is the problem then the screen should only stretch by 40 pixels.
 
 The 960x640 is the right size for a horizontal view. With the Status Bar it 
 would be 960x600 since the the iPhoneRetina is 2x the size.
 
 Dd you want the app to launch horizontal? If not then the size would be 
 640x960.
 
 Or is this the Apple start up splash image that gets bundled with the app?
 
 Or if this is in your app then do you/ are you using a resizeStack handler? 
 Two resize stack handlers?
 
 More info would help.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Mar 20, 2011, at 5:28 AM, Gerry wrote:
 
  Hi folks
  
  My iPhone app uses a 960x640 .png as the splash screen image. In the 
  standalone settings, I have the status bar set to visible, and the status 
  bar style to default. The image appears but after a second or two it 
  suddenly stretches vertically.
  
  What am I doing wrong?
  
  Cheers
  
  Gerry
  
  
  
  -- photo site: http://gerryorkin.com
  
  
  
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


bullet chars in Linux?

2011-03-20 Thread Richard Gaskin
On Mac and Win, using $#149; in htmlText produces a bullet char.  In
Linux, however, that gets rendered as a non-renderable character (the
rectangle with numbers in it in Ubuntu).

When I paste a block of text that has a bullet in it into a field and
get the htmlText, the bullet is shown to be #8226;

- BUT -

When I set the htmlText of a field to a string which contains #8226;
it gets rendered as a double-quote char.

Whiskey tango?

How do I get bullet chars in Linux, and why would reading htmlText
behave so differently from setting it?

-- 
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: bullet chars in Linux?

2011-03-20 Thread Peter Alcibiades
I do bullets in openoffice by insert special character, it seems to vary with
the font where they are.  In wordpress these all seem to work:

bull
#x2022
#8226

not sure if they need a semi colon after them, it seems to work with or
without.

Peter

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/bullet-chars-in-Linux-tp3392149p3392208.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: combobox

2011-03-20 Thread Terry Judd
On 21/03/11 9:47 AM, Kee Nethery k...@kagi.com wrote:

 OK, comboboxes appear to be rather complicated and I'm stumped.
 
 As a user types into a combobox I use
on rawKeyUp keyCode
 to notice that a new character has been added to the combobox.
 
 I then do a database search to see all the data that matches the characters
 currently in the combobox.
 
 I then replace all the data in the combobox with the data returned from the
 database. This puts the first alphabetical value as the combobox label (or
 whatever that is referred to).
 
 This all works fine.
 
 The thing I want to do next is to select the characters after what the user
 actually typed in the ?label? of the combobox so that the next character they
 type replaces all those. For example:
 
 user types:
 
 joe
 
 script returns
 
 joebill
 joebob
 joemammy
 joemomma
 
 The value displayed in the combobox is now
 
 joebill
 
 and what I want selected in the combobox is bill (if capital letters
 signify a selection ...)
 
 joeBILL
 
 so that if the user types m the combobox the script is now going to display
 
 joemAMMY
 
 and the selections presented will just be
 
 joemammy
 joemomma
 
 what script would select some of the characters within joemammy like for
 example characters ammy (aka characters 5 to 8)?

Hi Kee,

It seems like you need to target field 0 of the control so I'd...
1. get the length of line 1 of the text of the control (tLength)
2. update the control's text as you are already doing
3. do something like select char tLength+1 to -1 of fld 0 of me

Hopefully that will work

Terry...

 Thanks,
 Kee Nethery
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: bullet chars in Linux?

2011-03-20 Thread Roger Eller
On Sun, Mar 20, 2011 at 7:41 PM, Peter Alcibiades wrote:
 I do bullets in openoffice by insert special character, it seems to vary with
 the font where they are.  In wordpress these all seem to work:

 bull
 #x2022
 #8226

 not sure if they need a semi colon after them, it seems to work with or
 without.

 Peter


I am in Windows 7 in WordPad, and pressing and holding the ALT
(Option) key while typing 8226 on the keypad does prodice a bullet
character.  Your other examples do not.  I tried the same in
OpenOffice and it created a curly-quote character.

~Roger

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] Post Conference Fun Stuff

2011-03-20 Thread Scott Rossi
For anyone attending the LiveCode dev conference in April, if you're not
from the area, I'd strongly suggest allowing a couple of hours one day to
visit the Computer History Museum, located in Mountain View, about a 1/2
hour away from the conference venue.
http://www.computerhistory.org/

Housed in a refurbished building that was once part of the Silicon Graphics
campus, the exhibits start with historical devices, through mechanical and
early electrical machines for business, consumer, and military use, up
through the common digital computers and devices of today.  The route
through the exhibits is a bit maze-like, but the whole experience is
beautifully designed, with several short video installations, and includes a
bunch of interesting side-note pop culture computing info, in addition to
the rich history.  All the big names and companies (and those not so big)
are represented, and for those of you still clinging to the bygone days of
programming, you'll be happy to know one of your favorites is displayed,
still in its shrinkwrapped glory:
http://www.tactilemedia.com/download/exhibit.jpg

Note the museum is only open Wed - Sun, so plan your visit accordingly.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Post Conference Fun Stuff

2011-03-20 Thread Björnke von Gierke
Oh yeah i wanted to go after vegas, but never managed to haul my lazy ass 
there... maybe we can do a group visit?


On 21 Mar 2011, at 02:24, Scott Rossi wrote:

 For anyone attending the LiveCode dev conference in April, if you're not
 from the area, I'd strongly suggest allowing a couple of hours one day to
 visit the Computer History Museum, located in Mountain View, about a 1/2
 hour away from the conference venue.
 http://www.computerhistory.org/
 
 Housed in a refurbished building that was once part of the Silicon Graphics
 campus, the exhibits start with historical devices, through mechanical and
 early electrical machines for business, consumer, and military use, up
 through the common digital computers and devices of today.  The route
 through the exhibits is a bit maze-like, but the whole experience is
 beautifully designed, with several short video installations, and includes a
 bunch of interesting side-note pop culture computing info, in addition to
 the rich history.  All the big names and companies (and those not so big)
 are represented, and for those of you still clinging to the bygone days of
 programming, you'll be happy to know one of your favorites is displayed,
 still in its shrinkwrapped glory:
 http://www.tactilemedia.com/download/exhibit.jpg
 
 Note the museum is only open Wed - Sun, so plan your visit accordingly.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Post Conference Fun Stuff

2011-03-20 Thread Andre Garzia
I want it

On Sun, Mar 20, 2011 at 10:24 PM, Scott Rossi sc...@tactilemedia.comwrote:

 For anyone attending the LiveCode dev conference in April, if you're not
 from the area, I'd strongly suggest allowing a couple of hours one day to
 visit the Computer History Museum, located in Mountain View, about a 1/2
 hour away from the conference venue.
 http://www.computerhistory.org/

 Housed in a refurbished building that was once part of the Silicon Graphics
 campus, the exhibits start with historical devices, through mechanical and
 early electrical machines for business, consumer, and military use, up
 through the common digital computers and devices of today.  The route
 through the exhibits is a bit maze-like, but the whole experience is
 beautifully designed, with several short video installations, and includes
 a
 bunch of interesting side-note pop culture computing info, in addition to
 the rich history.  All the big names and companies (and those not so big)
 are represented, and for those of you still clinging to the bygone days of
 programming, you'll be happy to know one of your favorites is displayed,
 still in its shrinkwrapped glory:
 http://www.tactilemedia.com/download/exhibit.jpg

 Note the museum is only open Wed - Sun, so plan your visit accordingly.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: bullet chars in Linux?

2011-03-20 Thread Peter Alcibiades
Yes.  When I do this in OO under Linux, nothing happens.  But if you make an
html file in linux with the entries shown and then display it in a browser,
you do get bullets.

Dunno.  There is something about unicode in wikipedia, and it also claims
you can press control + shift in Gtk+ apps.  Doesn't seem to work for me. 
Or maybe my apps are not Gtk+.

As usual there seem to be at least three ways of doing anything in Linux,
and some of them work some of the time.

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/bullet-chars-in-Linux-tp3392149p3392287.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debug problem

2011-03-20 Thread J. Landman Gay

On 3/20/11 2:23 PM, edward cawley wrote:

Solved part of my problem, I had left a little bit of code from
setting up a Windows standalone which put /system/ into the global,
deleted the code and it OK now but I still can't set the breakpoint
to debug the stack. I think this happened once before and I found a
execution error with a handler on another card. Is there an easy way
to check where? Any other ideas?


Put the breakpoint on the line before or the line after the one that 
doesn't work. There are a few IDE-related calls that ignore breakpoints. 
The only workaround is to break on a different line.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: combobox

2011-03-20 Thread Kee Nethery
Thanks Terry,

Actually I'm at the point of one step forward two steps back.

I appear to be unable to put the return delimited list into the combobox more 
than a couple of times. I've tried all of these variations of the script to 
alter the combobox text:

put theList into me
put theList into button myComboBox
put theList into field myComboBox of button myComboBox
put theList into field myComboBox

I can get one or two inserts (I type different things into the combobox) before 
the whole stack crashes and the apple Problem Report for LiveCode appears.



When I can get the combobox data to get updated, the following scripts don't 
leave the text selected (the data in the combobox is for these examples always 
more than 5 characters in length):

select char 2 to 5 of me
select char 2 to 5 of button myComboBox
select char 2 to 5 of field myComboBox
select char 2 to 5 of field myComboBox of button myComboBox
select char 2 to 5 of the label of me
select char 2 to 5 of fld 0 of me   -- not sure what fld 0 is in a button 
but tried it anyway

Thank you for your suggestions. 

The only example I'd seen of changing a combobox contents is in the font 
portion of the inspector but I'm not sure how to access that code to see what 
they are doing, how exactly they are referring to that content.

The documentation has almost nothing about combo boxes. There is something 
different about them.

Kee
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: combobox

2011-03-20 Thread Peter Haworth
My experience with combo boxes is that they are weird beasts and the 
documentation is, as you say, sadly lacking.  In scripts they sometimes report 
themselves as fields and sometimes as buttons and of course they are both but I 
had a hell of a time figuring out when they reported themselves as one or the 
other.  I ended up rolling my own - at least that way I knew how it worked!

Pete Haworth

On Mar 20, 2011, at 6:38 PM, Kee Nethery wrote:

 Thanks Terry,
 
 Actually I'm at the point of one step forward two steps back.
 
 I appear to be unable to put the return delimited list into the combobox more 
 than a couple of times. I've tried all of these variations of the script to 
 alter the combobox text:
 
 put theList into me
 put theList into button myComboBox
 put theList into field myComboBox of button myComboBox
 put theList into field myComboBox
 
 I can get one or two inserts (I type different things into the combobox) 
 before the whole stack crashes and the apple Problem Report for LiveCode 
 appears.
 
 
 
 When I can get the combobox data to get updated, the following scripts don't 
 leave the text selected (the data in the combobox is for these examples 
 always more than 5 characters in length):
 
 select char 2 to 5 of me
 select char 2 to 5 of button myComboBox
 select char 2 to 5 of field myComboBox
 select char 2 to 5 of field myComboBox of button myComboBox
 select char 2 to 5 of the label of me
 select char 2 to 5 of fld 0 of me   -- not sure what fld 0 is in a button 
 but tried it anyway
 
 Thank you for your suggestions. 
 
 The only example I'd seen of changing a combobox contents is in the font 
 portion of the inspector but I'm not sure how to access that code to see what 
 they are doing, how exactly they are referring to that content.
 
 The documentation has almost nothing about combo boxes. There is something 
 different about them.
 
 Kee
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Post Conference Fun Stuff

2011-03-20 Thread Mark Wieder
Also...

As if you didn't already have enough to do, 30 April 2011 is the 24th
annual Tech Challenge day at The Tech Museum in San Jose. Even if
there weren't a special event happening it's an easy place to spend a
whole day wandering around getting lost among all the exhibits.

http://www.thetech.org/

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: combobox

2011-03-20 Thread Terry Judd



On 21/03/11 12:38 PM, Kee Nethery k...@kagi.com wrote:

 Thanks Terry,
 
 Actually I'm at the point of one step forward two steps back.
 
 I appear to be unable to put the return delimited list into the combobox more
 than a couple of times. I've tried all of these variations of the script to
 alter the combobox text:
 
 put theList into me
 put theList into button myComboBox
 put theList into field myComboBox of button myComboBox
 put theList into field myComboBox

I think you should be setting the text of the button.
 
 I can get one or two inserts (I type different things into the combobox)
 before the whole stack crashes and the apple Problem Report for LiveCode
 appears.
 
 
 
 When I can get the combobox data to get updated, the following scripts don't
 leave the text selected (the data in the combobox is for these examples always
 more than 5 characters in length):
 
 select char 2 to 5 of me
 select char 2 to 5 of button myComboBox
 select char 2 to 5 of field myComboBox
 select char 2 to 5 of field myComboBox of button myComboBox
 select char 2 to 5 of the label of me
 select char 2 to 5 of fld 0 of me   -- not sure what fld 0 is in a button
 but tried it anyway

So in a keyUp handler you get line 1 of the text of the control (or the
label of the control) and based on it you create your list of options. You
then set the text of the control to this list and then select the characters
as suggested. As in...

Select char length(original label)+1 to -1 of fld 0 of me

Based on my limited testing this works as advertised (it didn't fail on
repeated testing) on Mac OSX but I can't vouch for it on Windows.

HTH,

Terry...

 
 Thank you for your suggestions.
 
 The only example I'd seen of changing a combobox contents is in the font
 portion of the inspector but I'm not sure how to access that code to see what
 they are doing, how exactly they are referring to that content.
 
 The documentation has almost nothing about combo boxes. There is something
 different about them.
 
 Kee
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: combobox

2011-03-20 Thread Kee Nethery

On Mar 20, 2011, at 7:46 PM, Terry Judd wrote:

 
 
 
 On 21/03/11 12:38 PM, Kee Nethery k...@kagi.com wrote:
 
 Thanks Terry,
 
 Actually I'm at the point of one step forward two steps back.
 
 I appear to be unable to put the return delimited list into the combobox more
 than a couple of times. I've tried all of these variations of the script to
 alter the combobox text:
 
 put theList into me
 put theList into button myComboBox
 put theList into field myComboBox of button myComboBox
 put theList into field myComboBox
 
 I think you should be setting the text of the button.

set the text of button myComboBox to theList

Good suggestion, but it crashed.

 
 I can get one or two inserts (I type different things into the combobox)
 before the whole stack crashes and the apple Problem Report for LiveCode
 appears.
 
 
 
 When I can get the combobox data to get updated, the following scripts don't
 leave the text selected (the data in the combobox is for these examples 
 always
 more than 5 characters in length):
 
 select char 2 to 5 of me
 select char 2 to 5 of button myComboBox
 select char 2 to 5 of field myComboBox
 select char 2 to 5 of field myComboBox of button myComboBox
 select char 2 to 5 of the label of me
 select char 2 to 5 of fld 0 of me   -- not sure what fld 0 is in a button
 but tried it anyway
 
 So in a keyUp handler you get line 1 of the text of the control (or the
 label of the control) and based on it you create your list of options. You
 then set the text of the control to this list and then select the characters
 as suggested. As in...

To get the data that has been typed the code I use is:

put word 1 of the label of me into theSearchText

No problems with that.

 
 Select char length(original label)+1 to -1 of fld 0 of me

That's one of the variations I've been trying and it causes a crash. 

 
 Based on my limited testing this works as advertised (it didn't fail on
 repeated testing) on Mac OSX but I can't vouch for it on Windows.

I'm running LiveCode 4.5.1 perhaps this got fixed in one of the later versions? 
I'll submit a question to Runrev. If I ever get comboboxes to work, I'll post 
the magic here.

Thanks everyone,
Kee

 
 HTH,
 
 Terry...
 
 
 Thank you for your suggestions.
 
 The only example I'd seen of changing a combobox contents is in the font
 portion of the inspector but I'm not sure how to access that code to see what
 they are doing, how exactly they are referring to that content.
 
 The documentation has almost nothing about combo boxes. There is something
 different about them.
 
 Kee
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 --
 Dr Terry Judd | Senior Lecturer in Medical Education
 Medical Education Unit
 Melbourne Medical School
 The University of Melbourne
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-
I check email roughly 2 to 3 times per day. 
Kagi main office: +1 (510) 550-1336




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Dial with USB modem

2011-03-20 Thread Philip Usher
Back in the days when I was using a serial modem, I developed several  
stacks which included dialing phone numbers using write to file  
modem.  How might Revolution write to a built in USB modem on a Mac  
G4 to dial phone numbers as is done in apps such as ABDialer and  
Dialetic?


thanks, Philip Usher

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Loading files in iPad

2011-03-20 Thread edward cawley
I'm trying to get my app into iPad using revMobil. I load the plugin, put the 
folder of files into the directory but when the app comes up in the simulator 
none of the files are accessed. The buttons all work and the text not accessed 
by files show, but none of the images,audio or text files are found. It acts 
like they are not loaded in the IOS. The app loads successfully in the 
standalone.  The documents mention using the specialFolderPath but I'm not sure 
how to use it to get the files loaded.

Ed
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode