DataGrid placement of Total Fields

2011-06-16 Thread Todd Geist
Hello, I am trying to figure out how I can have a field stay stuck to the bottom of the column so that if you drag the column header to make it wider the field is automagically moved to stay aligned. I am really not sure how figure this out. Can any one suggest a stratgey? Thanks Todd Todd G

Re: Functions (was: Re: horizontal and vertical scrolling)

2011-06-16 Thread Richard Gaskin
Pete wrote: Probably worth mentioning the "@" syntax for a command handler parameter. If you have a handler: command foo parm1, at parm2 --do stuff that puts a new value into parm2 end foo .. then you call it: foo tlocal1,tlocal2 ... tlocal2 will contain the new value put into it after foo

Re: Functions (was: Re: horizontal and vertical scrolling)

2011-06-16 Thread Pete
Probably worth mentioning the "@" syntax for a command handler parameter. If you have a handler: command foo parm1,@parm2 --do stuff that puts a new value into parm2 end foo .. then you call it: foo tlocal1,tlocal2 ... tlocal2 will contain the new value put into it after foo has processed it.

Re: Functions (was: Re: horizontal and vertical scrolling)

2011-06-16 Thread Ken Ray
> If anyone wants to provide some rules of thumb for when you use a > function and when you don't, that might be interesting. In general I use functions when the main point is to process something and return a value, and I use command handlers when I want to "do" something that may or may not ret

Re: horizontal and vertical scrolling

2011-06-16 Thread Timothy Miller
>From the documentation: > The vScroll of a field, group, or stack is a non-negative integer. > > By default, the vScroll property of newly created objects is set to zero. > > For stacks, the vScroll property is read-only and cannot be set. This might have changed -- not sure when. I dimly reca

Re: horizontal and vertical scrolling

2011-06-16 Thread Mark Wieder
Richmond- Lftor. and Ehcuot. -- -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/mailma

[ANN] Live LiveCode code event #28

2011-06-16 Thread Björnke von Gierke
This is the title of an announcement The email is continued with this intro to the announcement, which contains a plea for help, to incite you to make a presentation for the event, and visit the appropriate site for that: http://livecode.tv/participate/ This is a sentence that explains about Ju

Re: horizontal and vertical scrolling

2011-06-16 Thread Björnke von Gierke
can you show how to set the scroll of a stack, and make objects move about by that? because I tried and it didn't work with: set the scroll of this stack to 200 set the scroll of this stack to -20 set the vscroll of this stack to 200 set the hscroll of this stack to 200 getting works tho, as per

OT Re: horizontal and vertical scrolling

2011-06-16 Thread Joe Lewis Wilkins
As with all things "visual" there is a handedness that is gender based; the reason that Classical Architecture is almost always symmetrical. That's the way you build things if you want both genders to "see" things in exactly the same way. I have been told that about 90% of males read from left t

[ANN] Zygodact DropTool now available!

2011-06-16 Thread Ken Ray
Hot on the heels of Chipp's announcement, I'm happy to say that Jacque has created a DropTool for users of her Zygodact registration product that makes it dirt simple to add registration to your standalones. More info is here at the DropTools site: http://droptools.sonsothunder.com/products/hy

Re: [ANN] New altButton DropTools control

2011-06-16 Thread Ken Ray
I've also set up a page at the DropTools site for Chipp's altButton control here: http://droptools.sonsothunder.com/products/alt/alt-btn.irev :D Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ _

Re: horizontal and vertical scrolling

2011-06-16 Thread Timothy Miller
Ask a silly question... Tim Miller On Jun 16, 2011, at 11:03 AM, Peter Brigham MD wrote: > But when we finally make contact with another intelligent species, will we > discover that all their cards are right-handed? (It goes with out saying that > such a species will necessarily be using Live

Re: [ANN] New altButton DropTools control

2011-06-16 Thread Chipp Walters
Apparently not. I thought as long as the images are URL referenced, they worked. (FYI, that means they are referenced using an external image source URL and not part of an attachment.) At least this has worked for me in the past, though maybe it was on the improve list, I can't remember, though I

Re: horizontal and vertical scrolling

2011-06-16 Thread J. Landman Gay
On 6/16/11 8:31 AM, Richard Gaskin wrote: When I try these: put the scroll of this cd set the scroll of this cd to 100 ...I get "object does not have that property" and "can't set that property", respectively. Oops. I misspoke, sorry. Stacks have a scroll property, and that's what needs to b

Re: horizontal and vertical scrolling

2011-06-16 Thread Peter Brigham MD
I'm a nerd and proud of it. My daughter once got me a button that read "I was cool before uncool was cool." (Actually, before all that I really was cool. But never to my daughter...) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 16, 2011, at 2:49 PM, Richmon

Re: horizontal and vertical scrolling

2011-06-16 Thread Keith Clarke
...that's exactly what the brain in the vat next to me on the shelf was saying just the other day...well, I say 'me'... On 16 Jun 2011, at 19:43, Bob Sneidar wrote: > You all realize how completely odd this line of humor would seem to someone > who was not a nerd erm excuse me, a Profession

Re: horizontal and vertical scrolling

2011-06-16 Thread Richmond Mathewson
On 06/16/2011 09:43 PM, Bob Sneidar wrote: You all realize how completely odd this line of humor would seem to someone who was not a nerd erm excuse me, a Professional Software Developer? Umm; well, nobody around these parts would admit to being a nerd would they? I have yet to become a P

Re: horizontal and vertical scrolling

2011-06-16 Thread Bob Sneidar
You all realize how completely odd this line of humor would seem to someone who was not a nerd erm excuse me, a Professional Software Developer? Bob On Jun 16, 2011, at 11:13 AM, Keith Clarke wrote: > ...sure they'd use LiveCode but it's ridiculous to just blindly assume that > they'd hav

Re: horizontal and vertical scrolling

2011-06-16 Thread Keith Clarke
...sure they'd use LiveCode but it's ridiculous to just blindly assume that they'd have hands! ;-) Best, Keith.. On 16 Jun 2011, at 19:03, Peter Brigham MD wrote: > But when we finally make contact with another intelligent species, will we > discover that all their cards are right-handed? (It g

Re: horizontal and vertical scrolling

2011-06-16 Thread Richmond Mathewson
On 06/16/2011 09:03 PM, Peter Brigham MD wrote: But when we finally make contact with another intelligent species, will we discover that all their cards are right-handed? (It goes with out saying that such a species will necessarily be using LiveCode.) If so, then importing any of their cards

Re: horizontal and vertical scrolling

2011-06-16 Thread Peter Brigham MD
But when we finally make contact with another intelligent species, will we discover that all their cards are right-handed? (It goes with out saying that such a species will necessarily be using LiveCode.) If so, then importing any of their cards might result in the stack disappearing in a flash

Re: horizontal and vertical scrolling

2011-06-16 Thread Bob Sneidar
So you think that card creation would be racemic in nature? As many left handed cards as right handed? But surely someone would soon come up with a plugin that ensured an optically pure creation of new cards. Then we would be back to where we are now, purely left handed cards, as it should be.

Re: [ANN] New altButton DropTools control

2011-06-16 Thread Bob Sneidar
Can't do attachments Chipp. But you knew that. :-) Bob On Jun 16, 2011, at 1:10 AM, Chipp Walters wrote: > > > [image: altButtonsGallery.png] > > [image: altButtonsInspector.png] > > http://blog.chipp.com/new-altbutton-control-for-livecode/ > ___

Re: Distinguishing CLI from GUI

2011-06-16 Thread Trevor DeVore
On Thu, Jun 16, 2011 at 9:51 AM, Richard Gaskin wrote: > > Thanks for that - I'll give it a try. > > But I'll admit that I'm now more mystified than before: How did you > discover that you can pass arguments to the quit command? I don't believe > that's documented. > Someone from RunRev mentione

Re: function keys

2011-06-16 Thread Mark Schonewille
Richmond, You're right, the OS hijacks only those keys that have been assigned in the system preferences. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Dow

Re: function keys

2011-06-16 Thread Richmond Mathewson
On 06/16/2011 06:20 PM, Mark Schonewille wrote: Martin, The OS hijacks the function keys. You need to turn them off in the Keyboard and Exposé preferences if you want to pass them on to LiveCode. Well; I do know that on Mac OS X NOT all the F keys are kept for the OS. Best regards, Mark S

Re: function keys

2011-06-16 Thread stephen barncard
As an example, during installation Pro Tools reminds users to turn off the function keys for Spotlight and one other item. On 16 June 2011 10:20, Mark Schonewille wrote: > Martin, > > The OS hijacks the function keys. You need to turn them off in the Keyboard > and Exposé preferences if you want

Re: function keys

2011-06-16 Thread Mark Schonewille
Martin, The OS hijacks the function keys. You need to turn them off in the Keyboard and Exposé preferences if you want to pass them on to LiveCode. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.c

function keys

2011-06-16 Thread Martin Meili
Hi, is there a possibility to prevent the user opening DASHBOARD from within a LiveCode standalone? Normally, the functionkey to open dashboard is 12. The following script doesn't work: on functionKey theKey if theKey is 12 then exit functionKey end functionKey Cheers Martin __

Re: Distinguishing CLI from GUI

2011-06-16 Thread Mark Wieder
Richard- Thursday, June 16, 2011, 7:45:08 AM, you wrote: > I saw that and may try it, but initially I was reluctant to because of > the issues with trying to run that way on Linux servers, which don't > have GUI support. > Forgive my ignorance, but I've never worked with IIS: Do the server > ve

Re: Distinguishing CLI from GUI

2011-06-16 Thread Richard Gaskin
Mark Wieder wrote: @All: Anyone know a way to run facelessly from the command line in Windows and quit after executing without having Windows think it's an error? I did point out earlier that the way I execute faceless apps in Windows is by hiding the stack in the preOpenStack handler, not by

Re: Distinguishing CLI from GUI

2011-06-16 Thread Andre Garzia
On Thu, Jun 16, 2011 at 11:04 AM, Richard Gaskin wrote: > Warren Samples wrote: > > Just to point out, although I'm sure you noticed; while I do get the >> promised $ vars, which appears to be not >> working for you, the "-ui" flag is not being stored here, and it seems >> you're interested in

Re: Distinguishing CLI from GUI

2011-06-16 Thread Richard Gaskin
Warren Samples wrote: Just to point out, although I'm sure you noticed; while I do get the promised $ vars, which appears to be not working for you, the "-ui" flag is not being stored here, and it seems you're interested in getting that. That the $ values exist at all would indicate commandli

Re: Distinguishing CLI from GUI

2011-06-16 Thread Richard Gaskin
Trevor DeVore wrote: On Wed, Jun 15, 2011 at 12:16 PM, Richard Gaskin wrote: @All: Anyone know a way to run facelessly from the command line in Windows and quit after executing without having Windows think it's an error? Shot in the dark. What if you explicitly an exit code of zero to qui

Re: horizontal and vertical scrolling

2011-06-16 Thread Richard Gaskin
Timothy Miller wrote: > Is there any rational reason that native scrollbars can be enabled > for fields and groups but not for cards or stacks? Okay, I'll give it a try, more seriously this time: As I alluded to in a lighthearted way, scrolling a card by itself isn't something that can be appa

Re: horizontal and vertical scrolling

2011-06-16 Thread Richard Gaskin
J. Landman Gay wrote: On 6/15/11 11:44 PM, Richard Gaskin wrote: Thomas McGrath III wrote: Although, I suppose if you could group a card then you could scroll a card. Actually, I believe empty cards do scroll. ;) Cute. :P But for Tim: you can in fact scroll a card. Cards have a scroll p

[ANN] New altButton DropTools control

2011-06-16 Thread Chipp Walters
Hey folks, Been awhile since I've added anything of use to the community, besides a Steve Jobs bashing now and again ;-) I've been playing around with Ken Ray's amazing new DropTools Architecture ( http://droptools.sonsothunder.com/index.irev ) and created a fairly slick little button object calle

Re: Has anyone experimented with memo functions in LC?

2011-06-16 Thread Dick Kriesel
So there, for the rumor mill, is another feature of the CanyonLands pre-compiler ... Actually, the memoize function below would work for just about all functions where you'd ever want memoizing (barring polymorphism and array parameters). It would work even in a stack-in-use or a back script.