Re: [ANN] homemade slider

2014-12-09 Thread Dave Kilroy
Bernd - I love it! Looks really great and functions v nice (only thing is if
I use it I'll have to make the rest of the GUI as pretty...)

Kind regards

Dave



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-homemade-slider-tp4686566p4686641.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: How to Quit with a button

2014-12-09 Thread Richard Gaskin

William Prothero wrote:

 On Dec 8, 2014, at 2:10 PM, Richard Gaskin wrote:
 Interesting.  Any pending messages at the time quit is invoked?

 I tried doing “Lock messages” before the quit, and closing
 unused stacks, but it didn’t seem to make any difference.
 Apparently the toolbar menu quit command does some kind of
 cleanup before it actually quits.

When I wrote pending messages I should have written pendingMessages, 
e.g. timers (send message in time).


For an app to successfully quit two conditions must be met:
1. All stacks are closed
2. All pending messages either complete or are cancelled

It may be that a timer is causing an unexpected interaction with some 
other part of the closing routine.


Of course normally that would only mean the app won't quit, and nothing 
should ever cause a crash in LiveCode - any crash is by definition a bug 
that should be reported so it can be prevented from happening in the future.


The challenge here is to try to figure out the moment the crash occurs.

One solution might be logging:  you could log each routine during the 
quit process to a text file, and the last one written there will be the 
last successful action.


If there are few handlers in play you could add logging to the handlers 
themselves, and if there are many it may be useful to turn on the 
messageMessages global property and have a frontScript trap the 
messageHandled message to do the logging, so you'll have one place to 
handle logging that can easily be disabled once this diagnostic stuff is 
behind you and we've found the root cause.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Tab buttons wrong

2014-12-09 Thread William Prothero
Looks like I was wrong on this one. In the OSX Preferences window, the active 
tab is set to a dark grey, while  the inactive tabs are light grey. In Safari, 
Firefox, and other programs, the active tab is light and the inactive tabs are 
darker. Weird. Oh well, my bad. The Tabbed control in Livecode follows the way 
Apple does it now.
Regards,
Bill

On Dec 7, 2014, at 9:11 PM, William Prothero proth...@earthednet.org wrote:

 BTW, the tab buttons I’m talking about are on the tabbed button control. I 
 know there was discussion about the color of the text on the buttons, but 
 this seems like a big bug to me. The active tab should be lighter, while the 
 inactive tabs are greyed darker.
 
 Comments before I submit a bug report?
 Best,
 Bill
 
 On Dec 7, 2014, at 4:14 PM, William Prothero proth...@earthednet.org wrote:
 
 Folks:
 On a Mac, when there are tabs, the active tab is hilited and the inactive 
 tabs are greyed out. I’ve seen postings on this previously and figured the 
 situation was fixed. But, not so in LC V7.0.1(rc3) on Mavericks.
 
 This seems to be a bug that should be fixed. It’s simply backwards from what 
 users expec.
 Bill
 
 William A. Prothero
 http://es.earthednet.org/
 
 ___
 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


Re: How to Quit with a button

2014-12-09 Thread William Prothero
Richard:
There really is no code in the quit button. I just do:

——Method 1 --
on mouseUp
   quit
end mouseUp

Or:
——Method 2 --
on mouseUp
   send “doTheQuit” to me in 0 seconds
end mouseUp

on doTheQuit
   quit
end doTheQuit

I tried closing all substacks. Do I need to close the mainstack first too?

Bill

On Dec 9, 2014, at 6:59 AM, Richard Gaskin ambassa...@fourthworld.com wrote:

 William Prothero wrote:
 
  On Dec 8, 2014, at 2:10 PM, Richard Gaskin wrote:
  Interesting.  Any pending messages at the time quit is invoked?
 
  I tried doing “Lock messages” before the quit, and closing
  unused stacks, but it didn’t seem to make any difference.
  Apparently the toolbar menu quit command does some kind of
  cleanup before it actually quits.
 
 When I wrote pending messages I should have written pendingMessages, e.g. 
 timers (send message in time).
 
 For an app to successfully quit two conditions must be met:
 1. All stacks are closed
 2. All pending messages either complete or are cancelled
 
 It may be that a timer is causing an unexpected interaction with some other 
 part of the closing routine.
 
 Of course normally that would only mean the app won't quit, and nothing 
 should ever cause a crash in LiveCode - any crash is by definition a bug that 
 should be reported so it can be prevented from happening in the future.
 
 The challenge here is to try to figure out the moment the crash occurs.
 
 One solution might be logging:  you could log each routine during the quit 
 process to a text file, and the last one written there will be the last 
 successful action.
 
 If there are few handlers in play you could add logging to the handlers 
 themselves, and if there are many it may be useful to turn on the 
 messageMessages global property and have a frontScript trap the 
 messageHandled message to do the logging, so you'll have one place to handle 
 logging that can easily be disabled once this diagnostic stuff is behind you 
 and we've found the root cause.
 
 -- 
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Re: How to Quit with a button

2014-12-09 Thread Richard Gaskin

William Prothero wrote:

There really is no code in the quit button. I just do:

——Method 1 --
on mouseUp
   quit
end mouseUp

Or:
——Method 2 --
on mouseUp
   send “doTheQuit” to me in 0 seconds
end mouseUp

on doTheQuit
   quit
end doTheQuit

I tried closing all substacks. Do I need to close the mainstack first too?


The quit command should take care of closing the windows for you. 
Normally there should be no need to route a quit command through a 
timer, so to keep diagnostics simple I'd not use Method 2.


The issue here isn't likely with the quit command itself, but with 
something else going on at the moment it's called.


Are you playing any audio or video clips?  Any open Internet 
connections?  Any open files?


To see if there are any pendingMessages, try temporarily modifying your 
Quit button with this:


on mouseUp
  # quit
  answer the pendingMessages
end mouseUp

But if you were using timers you'd probably know it, so I'm disinclined 
to think it's timer-related.


If I were in your position, I'd implement logging using the 
messageMessages and a frontScript.  I occasionally need this sort of 
thing myself, so I just made a quickie version that you can add as a 
substack temporarily while you're figuring out what's going on:


http://www.fourthworld.net/lc/4wLogger.livecode.zip

Instructions for using it are included.  I'll be interested to know what 
you find with it.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: How to Quit with a button

2014-12-09 Thread Bob Sneidar
My perennial question is, how do I quit without saving the stack or even 
asking? There ought to be a “close without saving” variation.

Bob S


On Dec 7, 2014, at 15:25 , Colin Holgate 
co...@verizon.netmailto:co...@verizon.net wrote:

Try this instead:

on mouseup
   quit
end mouseup

___
use-livecode mailing list
use-livecode@lists.runrev.commailto: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: [ANN] homemade slider

2014-12-09 Thread Bob Sneidar
If I am not mistaken, Scott at Tactile Media has a product for sliders and 
counters that can be skinned. He has some pretty cool ones too.

Bob S


On Dec 7, 2014, at 16:30 , Roger Guay i...@mac.commailto:i...@mac.com wrote:

Dear List,

sometimes one needs a custom slider for either mobile or desktop.

I made one that can be skinned in many ways. It is horizontal only.
Can also be used as progress bar.

___
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: How to Quit with a button

2014-12-09 Thread J. Landman Gay
Any open drivers also prevent quitting, or it used to. 

On December 9, 2014 8:59:32 AM CST, Richard Gaskin ambassa...@fourthworld.com 
wrote:
William Prothero wrote:

  On Dec 8, 2014, at 2:10 PM, Richard Gaskin wrote:

For an app to successfully quit two conditions must be met:
1. All stacks are closed
2. All pending messages either complete or are cancelled

-- 
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: How to Quit with a button

2014-12-09 Thread William Prothero
Richard:
Got your logger stack. I’m in a huge crunch right now, so I need to just go 
ahead and delete my quit button, and use the toolbar menu to quit, for a bit. 
I’m getting ready for a geophysics meeting in San Francisco, then Hawaii until 
Jan. 1. I’ll try to get to it but got a bunch of things to refine and finish by 
tomorrow. 

I’ll try to get to it, but have to put it at lower priority for a bit.
Best,
Bill

On Dec 9, 2014, at 9:39 AM, J. Landman Gay jac...@hyperactivesw.com wrote:

 Any open drivers also prevent quitting, or it used to. 
 
 On December 9, 2014 8:59:32 AM CST, Richard Gaskin 
 ambassa...@fourthworld.com wrote:
 William Prothero wrote:
 
 On Dec 8, 2014, at 2:10 PM, Richard Gaskin wrote:
 
 For an app to successfully quit two conditions must be met:
 1. All stacks are closed
 2. All pending messages either complete or are cancelled
 
 -- 
 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


___
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: How to Quit with a button

2014-12-09 Thread J. Landman Gay
That only happens in the IDE,  you can lock messages before quitting. Or, what 
I usually do from the message box: delete this stack. (Or you can use the menu 
option to remove from memory.) Then a regular quit doesn't ask. 

On December 9, 2014 11:25:36 AM CST, Bob Sneidar bobsnei...@iotecdigital.com 
wrote:
My perennial question is, how do I quit without saving the stack or
even asking? There ought to be a “close without saving” variation.

Bob S


On Dec 7, 2014, at 15:25 , Colin Holgate
co...@verizon.netmailto:co...@verizon.net wrote:

Try this instead:

on mouseup
   quit
end mouseup

___
use-livecode mailing list
use-livecode@lists.runrev.commailto: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

-- 
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: Convert PDF's to Images

2014-12-09 Thread Richmond

On 08/12/14 22:03, Jim Lambert wrote:

In earlier versions of LiveCode on a Mac, you could just load a PDF into a 
Player object.
Then just set the current time to page through the document and grab 
screenshots to get images of the pages.

But this doesn’t work anymore.

JimL
___



I just tried that with 7.0.1 rc3 (Linux) and crashed the IDE.

Richmond.

___
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: Tab buttons wrong

2014-12-09 Thread Terence Heaford
Except when the window is inactive the colours of the tab are not dimmed.

Is it expected in LiveCode that you disable the tabbed control?

All the best

Terry

 On 9 Dec 2014, at 15:42, William Prothero proth...@earthednet.org wrote:
 
 Oh well, my bad. The Tabbed control in Livecode follows the way Apple does it 
 now.

___
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: Tab buttons wrong

2014-12-09 Thread Terence Heaford
In addition the text in the button is offset far to much towards the bottom of 
the tab.

There is a bug report for this one but it has not been incorporated into the 
last release.


All the best

Terry

 On 9 Dec 2014, at 18:09, Terence Heaford t.heaf...@btinternet.com wrote:
 
 Except when the window is inactive the colours of the tab are not dimmed.

___
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: How to Quit with a button

2014-12-09 Thread Scott Rossi
I also use close this stack from the message box.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

 On Dec 9, 2014, at 9:46 AM, J. Landman Gay jac...@hyperactivesw.com wrote:
 
 That only happens in the IDE,  you can lock messages before quitting. Or, 
 what I usually do from the message box: delete this stack. (Or you can use 
 the menu option to remove from memory.) Then a regular quit doesn't ask. 
 
 On December 9, 2014 11:25:36 AM CST, Bob Sneidar 
 bobsnei...@iotecdigital.com wrote:
 My perennial question is, how do I quit without saving the stack or
 even asking? There ought to be a “close without saving” variation.
 
 Bob S
 
 
 On Dec 7, 2014, at 15:25 , Colin Holgate
 co...@verizon.netmailto:co...@verizon.net wrote:
 
 Try this instead:
 
 on mouseup
  quit
 end mouseup
 
 ___
 
 ___
 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
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | 

___
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: Convert PDF's to Images

2014-12-09 Thread Ray
Just a word of thanks to all who have responded to this thread which I 
started a few days ago.


Richmond - I've got the same crash results on the Mac side.

Roger - your your suggestion is turning out to be promising.  I've 
gotten in touch with Thierry and I may have a Windows solution through 
his work.


I'll post any solutions I find for the Mac.

On 12/9/2014 2:59 PM, Richmond wrote:

On 08/12/14 22:03, Jim Lambert wrote:
In earlier versions of LiveCode on a Mac, you could just load a PDF 
into a Player object.
Then just set the current time to page through the document and grab 
screenshots to get images of the pages.


But this doesn’t work anymore.

JimL
___



I just tried that with 7.0.1 rc3 (Linux) and crashed the IDE.

Richmond.

___
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: Missing properties

2014-12-09 Thread Monte Goulding

On 9 Dec 2014, at 1:48 am, Geoff Canyon gcan...@gmail.com wrote:

 Why? I know we don't have detailed documentation on the syntax morphing
 functionality, but why would this be any different than the other examples
 that have been given of how we'll be able to tweak the language? Depending
 on the implementation it might be complex (if there isn't a generic way to
 refer to objects) or simple (if there is), but either way it should at
 least be possible, yes?

Well... I could be wrong but I expect that we will get widgets (a way to create 
new object types) and then more general extensions to declare command syntax 
but I'm not expecting to be able to add a property to an existing object. As I 
said I could be wrong...

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Missing properties

2014-12-09 Thread Richard Gaskin

Monte Goulding wrote:
 Well... I could be wrong but I expect that we will get widgets (a way
 to create new object types) and then more general extensions to
 declare command syntax but I'm not expecting to be able to add a
 property to an existing object. As I said I could be wrong...

I don't know if v8's Open Language will allow the addition of new 
properties (would be nice), but in this case I think we're safe since 
the request here is arguably more of a function than a property.


After all, the owner of an object isn't something intrinsic to an 
object, but merely incidental to where it happens to be placed at the 
moment.


Given this, Geoff's function seems like a good solution.  Whether it's 
written in fancy v8 syntax or the syntax we have doesn't matter much to 
me personally; it gets the job done.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Missing properties

2014-12-09 Thread Monte Goulding

On 10 Dec 2014, at 10:31 am, Richard Gaskin ambassa...@fourthworld.com wrote:

 Given this, Geoff's function seems like a good solution.  Whether it's 
 written in fancy v8 syntax or the syntax we have doesn't matter much to me 
 personally; it gets the job done.

Yep, I originally said I didn't really know if it were all that worthwhile to 
actually add it to the engine or as an extension. Script will do for me for the 
few times I need something like this. Also I wasn't all that sure about adding 
a property like card owner that in certain circumstances could change depending 
on the context it's called in. Although we already have that with object names 
and IDs in shared groups.

Cheers

Monte

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: opening stack as modal changes screenMouseLoc?

2014-12-09 Thread Dr. Hawkins
*bump*

Also, this is happening in the ide.

On Sat, Dec 6, 2014 at 1:55 PM, Dr. Hawkins doch...@gmail.com wrote:

 I have a control stack to pop up as a modal, and use

 set the loc of this stack to the screenMouseLoc

 in preOpenStack

 If I simply open the stack *not* as modal, it properly appears centered
 on the mouse.

 If opening *as*, modal, however, it opens away from that, near the middle
 of the screen.

 And when I check the screenMouseLoc each way, I get widely different
 results:  nonmodal gives a correct horizontal of about 1100, while modally
 produces about 400.

 Is this behavior correct?  And if so, why???

 7.0.1-rc2 on Mac



 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: opening stack as modal changes screenMouseLoc?

2014-12-09 Thread Scott Rossi
I would guess this is happening because the behavior of displaying a modal 
stack is based on some UI convention of centering modal dialogs on the screen.  
The answer dialog behaves this way.

One way to work around this is to use a suspendStack handler in the main stack 
that opens the model, like this:

on suspendStack
   if  “myModal is among the lines of the openStacks then
  set the topLeft of stack “myModal to 100,100
   end if
end suspendStack

Upon opening the modal stack, the main stack is suspended and sets the position 
of the modal before the modal is displayed.  I use this to position the answer 
dialog when I want to display it in a specific location.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 


On Dec 9, 2014, at 7:48 PM, Dr. Hawkins doch...@gmail.com wrote:

 *bump*
 
 Also, this is happening in the ide.
 
 On Sat, Dec 6, 2014 at 1:55 PM, Dr. Hawkins doch...@gmail.com wrote:
 
 I have a control stack to pop up as a modal, and use
 
set the loc of this stack to the screenMouseLoc
 
 in preOpenStack
 
 If I simply open the stack *not* as modal, it properly appears centered
 on the mouse.
 
 If opening *as*, modal, however, it opens away from that, near the middle
 of the screen.
 
 And when I check the screenMouseLoc each way, I get widely different
 results:  nonmodal gives a correct horizontal of about 1100, while modally
 produces about 400.
 
 Is this behavior correct?  And if so, why???
 
 7.0.1-rc2 on Mac
 
 
 
 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: How to Quit with a button

2014-12-09 Thread William Prothero
Jim,
Great idea! There are s many ways to do things in LC.
Bill

On Dec 8, 2014, at 1:58 PM, Jim Lambert j...@netrin.com wrote:

 I suggested doMenu because Bill said selecting Quit from the menu worked 
 while a button with ‘quit’ didn’t.
 
 But he reports that doesn’t work for him either, so perhaps doMenu doesn’t 
 really 'do menu' under the hood.
 
 If the Quit accelerator key combination also works (command-Q on Mac) then 
 I’d next try:
 
  type ‘Q’ with commandKey
 
 But I would not lock messages in any case.
 
 Jim Lambert
 ___
 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: Tab buttons wrong

2014-12-09 Thread William Prothero
It’s very interesting because Safari, Firefox, Excell, most Mac applications 
have lighter colored tabs for the active tab. The tabs in the Systems 
Preferences work so the darker tab is the active one. Seems, with Safari at 
least, Apple is inconsistent.
Bill

On Dec 9, 2014, at 10:11 AM, Terence Heaford t.heaf...@btinternet.com wrote:

 In addition the text in the button is offset far to much towards the bottom 
 of the tab.
 
 There is a bug report for this one but it has not been incorporated into the 
 last release.
 
 
 All the best
 
 Terry
 
 On 9 Dec 2014, at 18:09, Terence Heaford t.heaf...@btinternet.com wrote:
 
 Except when the window is inactive the colours of the tab are not dimmed.
 
 ___
 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: Missing properties

2014-12-09 Thread Geoff Canyon
It's been a long time since I saw anything on the syntax extension
functionality, but my recollection was that it was supposed to be the
all-singing, all-dancing wonder of the universe -- meaning that if I wanted
to use a C-like dot-notation (I don't, usually) that would be easy to
build. And that basically I'd be able to write that up as a language
module, and then share it with other dot-notation fans, who could just drop
it in place and go to work. All of which makes me think that if I want to
implement a grandchildControlIDs property (I don't), I'll be able to.

Is there a more-recent-and-detailed spec that confirms or denies this? I'm
(non)patiently awaiting the ability to create inline if statements, default
parameter values, and multiple assignments.

put (if x = y then 6 else 7) into z
function getColumn pData, rowDel=cr, colDel=tab
put 3 into x into y

But maybe that's just my fantasy.

gc

On Tue, Dec 9, 2014 at 5:40 PM, Monte Goulding mo...@sweattechnologies.com
wrote:


 On 10 Dec 2014, at 10:31 am, Richard Gaskin ambassa...@fourthworld.com
 wrote:

  Given this, Geoff's function seems like a good solution.  Whether it's
 written in fancy v8 syntax or the syntax we have doesn't matter much to me
 personally; it gets the job done.

 Yep, I originally said I didn't really know if it were all that worthwhile
 to actually add it to the engine or as an extension. Script will do for me
 for the few times I need something like this. Also I wasn't all that sure
 about adding a property like card owner that in certain circumstances could
 change depending on the context it's called in. Although we already have
 that with object names and IDs in shared groups.

 Cheers

 Monte

 --
 M E R Goulding
 Software development services
 Bespoke application development for vertical markets

 mergExt - There's an external for that!

 ___
 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: Tab buttons wrong

2014-12-09 Thread Terence Heaford
I am getting confused with darker tab is the active one”.

In system preferences/Desktop  Screen Saver as an example.

If you click on the Screen Saver Tab:

1. The text of the Screen Saver Tab is white and it’s background is blue.
2. The text of the Desktop Tab is black and it’s background is white.

If you place the system preferences behind another window then:

1. The text of the Screen Saver Tab is black and it’s background is dark grey.
2. The text of the Desktop Tab is black and it’s background is white.

This is on Yosemite 10.10.1

There are no tab controls in the preferences of Safari.
If you are referring to Safari’s tabs for web pages then they are not the same 
controls as the tabbed control that LiveCode are failing to implement correctly.

Tab controls in the preferences of Apple Mail work as above.

Tab controls in Xojo work as above.

Tab controls in the Date  Time System Preferences work as above.

Apple appear to be consistent to me.



All the best

Terry




 On 10 Dec 2014, at 06:01, William Prothero proth...@earthednet.org wrote:
 
 The tabs in the Systems Preferences work so the darker tab is the active one. 
 Seems, with Safari at least, Apple is inconsistent.

___
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