Re: lack of Mac OS X intuition: system menu

2011-07-30 Thread paolo mazza
Slava, using Mac OS, usually I have the application menu in the run mode and the LC IDE menu in the edit mode (unless I set the "Set as stack Menu Bar" option to false in the Menu Builder). If I select the "Preview in Menu Bar" button in the Menu Builder panel, for some reasons, I have the new appl

RE: lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
My stack has a menu bar built with the Menu Builder in the Tools menu. It is essentially a group of buttons use as a menu bar. When I open the stack in the IDE on Mac OS X, that menu replaces the standard LC IDE menu. No matter which mode I am in (Browse or Run), I cannot see the LC IDE menu in the

Re: lack of Mac OS X intuition: system menu

2011-07-30 Thread Colin Holgate
What is the Application menu? What things are in the LC menu. On Jul 30, 2011, at 10:54 PM, Slava Paperno wrote: > can someone please tell me how > to remove my application menu from the system menu bar and restore the LC > menu so I can do some work? ___

revBrowserCallScript() not working in Mac OS X

2011-07-30 Thread Slava Paperno
My application (LC 4.6.3) does this: revBrowserSet(sBrowserID, "htmltext", tMyHTML) tMyHTML is a fully-formed Web page that includes this function: function SetFontSize(FSizeStr) { document.body.style.fontSize = FSizeStr; } A button on the same card as the revBrowser instance does this: revBr

Re: Getting someone's age from dob and current year

2011-07-30 Thread Warren Samples
On Saturday, July 30, 2011 07:16:44 PM Roger Eller wrote: >convert tToday to seconds >convert tBorn to seconds It's been talked about before, but this calls for a reminder: attempting to convert a date prior to Jan 1, 1970 to "seconds" returns "invalid date" instead of a number in Windo

revBrowser and Unicode on Mac OS X

2011-07-30 Thread Slava Paperno
Short version: revBrowser does not display Unicode characters in Mac OS X (PPC/Tiger and Intel/Snow Leopard). LC 4.6.2 and 4.6.3. Long version: I finished writing and testing my Russian dictionary application in Windows and started testing it in Mac OS X. My first surprise is that revBrowser does

lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
I've been learning LC in Windows, and have now switched to Mac OS X, where everything is just so intuitive and easy... can someone please tell me how to remove my application menu from the system menu bar and restore the LC menu so I can do some work? My intuition fails on this point. I know I've s

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread stephen barncard
No the software hasn't been updated since the branding change. I guess the ability to change extensions was just to allow the viewing of various other text files. On 30 July 2011 18:26, Martin Koob wrote: > Yes I found the setting to add lc as an irev type which allows me to edit > it > in the o

Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
Those guys in the engine room are pretty darn clever. I wondered how they were going to handle two versions. sqb On 30 July 2011 18:18, Martin Koob wrote: > Thanks Mike and Stephen > > So the answer is that the file has to have the .lc extension for the 4.6.3 > engine to process it. > > Once I

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 8:38 PM, Admin wrote: > > > Hi all - another one: > > I have a path stored in a MySQL database to > an image file. > > I have a page with a image control > > I know how to > SELECT the imagepath info and bring it into a variable, but how do I > then load that image into the

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Martin Koob
Yes I found the setting to add lc as an irev type which allows me to edit it in the on-rev client but when I select a file with the .lc extension the 'View online' and 'Debug' buttons are disabled. It seems to treat the file as other plain text files except for the colourization. Is debugging supp

Re: using stacks with on-rev

2011-07-30 Thread Martin Koob
Thanks Mike and Stephen So the answer is that the file has to have the .lc extension for the 4.6.3 engine to process it. Once I had the correct extension the line start using stack "libstackmain.rev" worked and I was able to call a function in the stack. That is interesting that .irev files a

Re: Getting someone's age from dob and current year

2011-07-30 Thread Michael Kann
The following works: put "http://fake.com/fake.jpg"; into k set the filename of img 1 to k To get the correct dimensions I guess you would have to find the dimensions of the online jpg, then make you img the same dimensions. Just a thought. Mike --- On Sat, 7/30/11, Admin wrote: From: Adm

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Hi all - another one: I have a path stored in a MySQL database to an image file. I have a page with a image control I know how to SELECT the imagepath info and bring it into a variable, but how do I then load that image into the image control (with proper proportions)? I tried the obvious

Re: running an exe from a web server

2011-07-30 Thread Admin
Hi all, How to I run a .exe file or a mac executeable from a button - the file of which is on a web server (http://www.campstaffusa.com/newdb/upcc.exe)? I want to run a self-extracting zip file that opens up a live code program to allow the user to upload their picture to the database, sinc

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Thank you. I am sure that will do it! Mike On Sat, 30 Jul 2011 20:16:44 -0400, Roger Eller wrote: > On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: > >> Hello all, I need to figure out someone's age. I have their date of birth and I have today's date. How do I get the end result. My math s

RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
Thank you. The only place I did not have it was in my stack's script with the openstack handler. Duh! Mike On Sat, 30 Jul 2011 17:34:58 -0400, Slava Paperno wrote: >> How do you carry a global variable from one stack to a substack? > > If you set a global variable in the main stack:

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: > > I figured I would subtract this year from the dobyear and get the age - am > I right? How would I do this if I am? > > Mike > I gotta start reading the whole message before I reply... If you already have two 4-digit year values in variables, you

Re: User Interface Question

2011-07-30 Thread Jeff Massung
I never do mouse cursor changes in controls. I do all of them in the card. on mouseMove px,py if px,py is within the rect of ... then -- cursor A else if px,py is within the rect of ... then -- cursor B else -- put the cursor back to normal end if end mouseMove This makes it *

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: > > > Hello all, > > I need to figure out someone's age. > > I have their date > of birth and I have today's date. How do I get the end result. My math > skills SUCK. > > Here's my code (loaded in from the database with a SELECT > statement): > > put i

Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
stacks work, only with some limitations. These have been tested by me: Custom properties work. Create and name stacks works. Reading fields sometimes works. Can't write back to them, and no htmltext. Think of stacks for storage, not layout or graphics. I just tried out Mark Smith's excellent id3 m

Re: using stacks with on-rev

2011-07-30 Thread Michael Kann
Martin, I couple posts after yours stephen barncard put the cherry on top of the "Re: Path to start using a stack in On-Rev"  thread. Check it out. Good luck. Mike --- On Sat, 7/30/11, Martin Koob wrote: From: Martin Koob Subject: using stacks with on-rev To: use-revolut...@lists.runre

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread stephen barncard
I remember there was a setting in the client for that. Look in preferences (the gear icon upper right) sqb On 30 July 2011 11:34, Michael Kann wrote: > Bruce, > > I'm not sure why the on-rev app doesn't approve of .lc yet. There is > probably a line in a preferences file somewhere that hasn't b

RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Slava Paperno
> How do you carry a global variable from one stack to a substack? If you set a global variable in the main stack: on preOpenStack global gMyName put "Mike" into gMyName end preOpenStack then in any card in any substack you can retrieve the value like so: on openCard global gMyName a

Re: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
Hello all, How do you carry a global variable from one stack to a substack? I have this set of commands on every page of every stack in my project: on opencard --Create a global variable for the db global dbID global curUserID global UN put numtochar(39) into SQ I then proceed to l

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Hello all, I need to figure out someone's age. I have their date of birth and I have today's date. How do I get the end result. My math skills SUCK. Here's my code (loaded in from the database with a SELECT statement): put item 7 of myLine into dobMonth put item 8 of myLine into dobDay put

using stacks with on-rev

2011-07-30 Thread Martin Koob
Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the 'start using stack' command. I created a simple stack with a couple of functions in it and I uploaded to the directory where my index.irev page is. I put the following command in my index.irev file start using stack "libstac

[ANN] Data Grid Helper 1.3.5 Update

2011-07-30 Thread zryip theSlug
Dear LC and DGH users, A new update for DGH is available. This new version has the following fix and changes: Fix: After opening the behaviors or the columns topics, some others properties values could appear locked and with an inappropriated tooltip. Changes: 1. All the DGH's substacks are now

Re: User Interface Question

2011-07-30 Thread Pete
Hi Mark, Yes, that sound like good advice. In fact, I just read the Apple HIG about contextual menus and they recommend the same approach, except they recommend the use of the standard Apple Action menu rather than a menubar entry. Pete Molly's Revenge On Sat, J

Re: User Interface Question

2011-07-30 Thread Mark Schonewille
Hi Pete, Never offer a popup menu as the only way to access a feature. Put your popup menu into the menubar and enable the menu items in those situations when the user might as well click on the objects to show the popup menu. Show the same menu, or the essential menu items of it, in the option

Re: User Interface Question

2011-07-30 Thread Pete
I tried that - didn't make any difference. The cursor returns to arrow automatically with the code I have, except when I move the mouse above the datagrid. Pete Molly's Revenge On Sat, Jul 30, 2011 at 1:05 PM, William de Smet wrote: > Hi Pete, > > After unlock y

Re: User Interface Question

2011-07-30 Thread William de Smet
Hi Pete, After unlock you have to set the cursor to arrow, Greetings, William - Verstuurd vanaf mijn iPhone! Op 30 jul. 2011 om 21:58 heeft Pete het volgende geschreven: > Thanks Jeff. I'm trying to implement the cursor change and running into > some weirdness. > > In the script of th

Re: User Interface Question

2011-07-30 Thread Pete
Thanks Jeff. I'm trying to implement the cursor change and running into some weirdness. In the script of the datagrid, I have these two handlers: *on* mouseEnter *lock* cursor *set* the cursor to hand *end* mouseEnter *on* mouseLeave *unlock* cursor *end* mouseLeave This cha

Re: User Interface Question

2011-07-30 Thread Jeff Massung
For dragging, I'd go with "handles" on the left side of the datagrid that have hand icon when you hover over them. They've become pretty ubiquitous on webpages. For an example of what I mean: http://jqueryui.com/demos/sortable/ As for a context menu, you be okay with just a tool-tip. People gener

User Interface Question

2011-07-30 Thread Pete
Wondering if anyone has any thoughts on a couple of user interface questions. I'm providing a popup contextual menu when the user right-clicks on a datagrid. I'm also providing the ability to re-order rows in a datagrid by dragging and dropping them. The common thread between these two functions

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce, I'm not sure why the on-rev app doesn't approve of .lc yet. There is probably a line in a preferences file somewhere that hasn't been changed yet. Mike --- On Sat, 7/30/11, Bruce Pokras wrote: From: Bruce Pokras Subject: Re: Path to start using a stack in On-Rev? To: "How to use LiveC

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Bruce Pokras
Mike, thanks very much. Changing the HTML file's extension from .irev to .lc worked. The web page is now displaying the result of the function that is in the stack script of my test stack file. I had not seen anything about the file extension being critical to functionality on On-Rev. However,

Re: [ANN] LiveCode.tv event #34

2011-07-30 Thread Björnke von Gierke
One hour to go... approximately. Remember that John Caig was so kind to step up as second presenter. see you in chatrev. On 29 Jul 2011, at 14:57, Björnke von Gierke wrote: > Tomorrows event will be of reduced scope due to a lack of volunteers. All > applicants welcome. > > I will introduce t

RE: LC Summer Academy

2011-07-30 Thread Mark Smith
The Summer Academy was incredibly useful (and hats off to Elanor for being such a great presenter). A ton of information was presented in the 7 weeks, so much so that I had trouble keeping track of it all and definitely wanted a way to be able to go back and review it later. So I created the S

Re: Where does survive the inventive user ?

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 10:42 AM, Richard Gaskin wrote: > Kay C Lan wrote: > > I look in my wallet an there are a couple of notes and a couple of plastic >> cards. The notes represent about 0.01% of iMoney I have in my account. I >> can >> use those plastic cards to access the BankCloud and if t

RE: Where does survive the inventive user ?

2011-07-30 Thread John Dixon
:-) > > I've always wondered why they're called "brokers" ... I think if I were in > that line of work I'd find another way of describing it. > > -- Peter > > Peter M. Brigham > pmb...@gmail.com > http://home.comcast.net/~pmbrig

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
A little mistake in the last post: wrote: From: Michael Kann Subject: Re: Path to start using a stack in On-Rev? To: "How to use LiveCode" Date: Saturday, July 30, 2011, 10:16 AM Bruce, Not sure about the path, but there is one other item to consider. If your web page is good_page.irev then

Re: Where does survive the inventive user ?

2011-07-30 Thread Peter Brigham MD
On Jul 30, 2011, at 10:42 AM, Richard Gaskin wrote: > Kay C Lan wrote: > >> I look in my wallet an there are a couple of notes and a couple of plastic >> cards. The notes represent about 0.01% of iMoney I have in my account. I can >> use those plastic cards to access the BankCloud and if the stra

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce, Not sure about the path, but there is one other item to consider. If your web page is good_page.irev then the old 3.5 engine will be used, so you aren't going to connect to the stack no matter where it is. Try file: good_page.lc within that page you can use either or The file na

Re: Where does survive the inventive user ?

2011-07-30 Thread Richard Gaskin
Kay C Lan wrote: I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes represent about 0.01% of iMoney I have in my account. I can use those plastic cards to access the BankCloud and if the strangers at the Bank are willing, the machine will give me more rea

Re: [OT] More Apple Foolishness

2011-07-30 Thread Andy Henshaw
Yes, its sound great!!! I think it would take me slightly more than an hour Andy On 30 Jul 2011, at 01:47, J. Landman Gay wrote: > On 7/29/11 7:25 PM, Mark Wieder wrote: >> Jacque- >> >> Friday, July 29, 2011, 1:58:48 PM, you wrote: >> >>> It works with any server and with Dropbox, >>> a