Re: Android Orientation Woes

2012-08-31 Thread Dan Friedman
Exactly!  So, what do you do?


> But, aren't you reading the accelerometer in order to make something slide 
> around? If you're assuming that a Y rotation is what happens in the user 
> turns the left edge away from them, that will be right for phones but wrong 
> for tablets.
> 
>> Yes.  My app is portrait only.   I selected "Portrait" as the Initial 
>> Orientation in the Standalone App Settings and I don't alter the orientation 
>> settings in 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: Creating a short question answer with radio buttons

2012-08-31 Thread dunbarx
Welcome to the LC community.


Peter's reply is exactly how you should attack this, and I hope not too fast 
for you. Feel free to write back with any questions about any aspect of his, or 
one day soon, your own efforts in building your gadget. You will receive nearly 
instant advice. You can neither abuse nor overuse this resource. You'll see 
what I mean...


Craig Newman



-Original Message-
From: Shawn Blc 
To: How to use LiveCode 
Sent: Fri, Aug 31, 2012 10:15 pm
Subject: Re: Creating a short question answer with radio buttons


Peter, thank you for the reply!  It'll take me a few days to wrap my big
head around this.   In the meantime I'll still be tinkering.  I'm sure one
day all of this will "click".  Just like anything else.


Regards,

Shawn



On Fri, Aug 31, 2012 at 7:43 PM, Peter Haworth  wrote:

> Hi Shawn,
> Probably lots of ways to do this, here's one.
>
> First thing to do is put the checkboxes for each question into a group -
> that ensures that only one can be selected at a time.  You might call the
> groups Q1, Q2, Q3, etc
>
> Then define a custom property of each group that specifies the correct
> answer in terms of the name of the checkbox.  In your example, you'd call
> your buttons 1,2,3,4 and the custom property (let's call it
> "correctAnswer") of group Q1 would have the value 4.
>
> FInally, when your user indicates that they've finished answering
> questions, you'd use a repeat loop like this
>
> put the groupIDs of this card into tGroupIDs
> put zero into tRight
> put zero into tWrong
> repeat with each line tGroupID in tGroupIDS
>if the correctAnswer of group ID tGroupID is not empty and the
> hilitedbuttonname of group ID tGroupID is the correctAnswer of group ID
> tGroupID then
>   add 1 to tRight
>else
>   add 1 to tWrong
>end if
> end repeat
> 
>
> Only thing to watch out for is that the GroupIDs property includes only the
> top level groups on a card so be sure that your Qn groups aren't contained
> within any other groups.  The first condition of the if statement above
> deals with any toher groups you might have on the card that are not
> question groups, since they won't have a correctAnswer cprop.
>
> I haven't tested any of that but it should work.  No doubt you'll get
> other, equally as good, solutions.
>
> Hope that helps.
>
> Pete
> lcSQL Software 
>
>
>
> On Fri, Aug 31, 2012 at 5:17 PM, Shawn Blc 
> wrote:
>
> > Disclaimer:  I'm totally new to LiveCode, bought Colin's PDF file, read
> the
> > scripting conference stack on controls, etc.  As of yet, I haven't really
> > created anything of value to me or anyone else.  I'm trying to change
> that.
> >  I've had the Gold Bundle for over a month.
> >
> > I'm trying to create a short question and answer program, the answers
> will
> > be supplied in radio buttons.  Example:   A square has how many sides?
> A)
> > 1 B) 2 C) 3 D) 4 (these would be radio buttons).
> >
> > I'll have to keep track of the right and wrong answer and show a score at
> > the end.
> >
> > If anyone can give me a short example or show me where to find it, thank
> > you.
> > ___
> > 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

 
___
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: pirate version of my book...

2012-08-31 Thread Kay C Lan
On Sat, Sep 1, 2012 at 1:26 AM, Colin Holgate  wrote:

> I'll report it to the publisher (though I doubt they'll have the power to
> do much about it)
>

Unfortunately they are probably the cause.

My guess is the hard copies of the book were printed in China, in which
case the digital copy that was sent to the printer 'found' it's way to
Doc88.com.

Big Names, such as Apple and their contract with Foxcon, have enough sway
to ensure bits don't go 'missing' and outsourcers don't make copies. These
days the companies that do the fake iPads etc actually have to buy one and
then reverse engineer it.

Small companies though just don't have the clout. Any and every company
that sends anything to China will have copies of their stuff made, in some
cases in exactly the same factory (so no reverse engineering necessary,
just change the logos and the box it ships in), in others it will be passed
on.

The speed with which your book has made it to the Chinese cybersphere
suggests to me that Doc88.com has contacts in a number of publishing
companies and simply pays a backhander for each electronic copy sent it's
way, regardless of the title, it's language, or any other criteria.

As you say, you are so small that you are unlikely to loose too many sales
to this site, so your dilema really is do you want your book to become so
succesful that you do start loosing a significant portion of your sales to
the pirates, or are you content with being small an not becoming the next
Danny Goodman ;-)
___
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: pirate version of my book...

2012-08-31 Thread Chipp Walters
FWIW, the pirated version DID remind me to go to Packt Publishing and
purchase your book!

On Fri, Aug 31, 2012 at 9:28 PM, Chipp Walters  wrote:

> Hi Colin,
>
> Sorry to hear that. It's one of the big problems with printing in PDF.
> Still, my guess is you lost only a few sales, as most who would pirate
> wouldn't pay for it anyway. There are some PDF fullfillment which can print
> a watermark on each page of the email address with which the PDF was
> purchased with. I'm not sure they are much better at stopping this sort of
> thing.
>
> Best of luck with your book!
>
> -C
>



-- 
Chipp Walters
CEO, Altuit, 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: pirate version of my book...

2012-08-31 Thread Chipp Walters
Hi Colin,

Sorry to hear that. It's one of the big problems with printing in PDF.
Still, my guess is you lost only a few sales, as most who would pirate
wouldn't pay for it anyway. There are some PDF fullfillment which can print
a watermark on each page of the email address with which the PDF was
purchased with. I'm not sure they are much better at stopping this sort of
thing.

Best of luck with your book!

-C
___
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: Creating a short question answer with radio buttons

2012-08-31 Thread Shawn Blc
Peter, thank you for the reply!  It'll take me a few days to wrap my big
head around this.   In the meantime I'll still be tinkering.  I'm sure one
day all of this will "click".  Just like anything else.


Regards,

Shawn



On Fri, Aug 31, 2012 at 7:43 PM, Peter Haworth  wrote:

> Hi Shawn,
> Probably lots of ways to do this, here's one.
>
> First thing to do is put the checkboxes for each question into a group -
> that ensures that only one can be selected at a time.  You might call the
> groups Q1, Q2, Q3, etc
>
> Then define a custom property of each group that specifies the correct
> answer in terms of the name of the checkbox.  In your example, you'd call
> your buttons 1,2,3,4 and the custom property (let's call it
> "correctAnswer") of group Q1 would have the value 4.
>
> FInally, when your user indicates that they've finished answering
> questions, you'd use a repeat loop like this
>
> put the groupIDs of this card into tGroupIDs
> put zero into tRight
> put zero into tWrong
> repeat with each line tGroupID in tGroupIDS
>if the correctAnswer of group ID tGroupID is not empty and the
> hilitedbuttonname of group ID tGroupID is the correctAnswer of group ID
> tGroupID then
>   add 1 to tRight
>else
>   add 1 to tWrong
>end if
> end repeat
> 
>
> Only thing to watch out for is that the GroupIDs property includes only the
> top level groups on a card so be sure that your Qn groups aren't contained
> within any other groups.  The first condition of the if statement above
> deals with any toher groups you might have on the card that are not
> question groups, since they won't have a correctAnswer cprop.
>
> I haven't tested any of that but it should work.  No doubt you'll get
> other, equally as good, solutions.
>
> Hope that helps.
>
> Pete
> lcSQL Software 
>
>
>
> On Fri, Aug 31, 2012 at 5:17 PM, Shawn Blc 
> wrote:
>
> > Disclaimer:  I'm totally new to LiveCode, bought Colin's PDF file, read
> the
> > scripting conference stack on controls, etc.  As of yet, I haven't really
> > created anything of value to me or anyone else.  I'm trying to change
> that.
> >  I've had the Gold Bundle for over a month.
> >
> > I'm trying to create a short question and answer program, the answers
> will
> > be supplied in radio buttons.  Example:   A square has how many sides?
> A)
> > 1 B) 2 C) 3 D) 4 (these would be radio buttons).
> >
> > I'll have to keep track of the right and wrong answer and show a score at
> > the end.
> >
> > If anyone can give me a short example or show me where to find it, thank
> > you.
> > ___
> > 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: pirate version of my book...

2012-08-31 Thread Shawn Blc
I bought the PDF version, read it on my pc, uploaded it to my dropbox and
now have it on my Mac!  I shot my pc with my .45. ;)

To bad the pirated copy doesn't have the license/copyright information,
buyer name, buyer address, and purchase date like my copy does.   At least
then you'd have a place to start.  Not that it'd matter though.

Anyone contemplating buying a copy ... it's worth the few bucks.  Colin did
an excellent job!




On Fri, Aug 31, 2012 at 8:02 PM, Colin Holgate  wrote:

> I bought a couple of variations, including the iBooks and Kindle ones, and
> I think generally I like the iBooks one more.
>
>
> On Aug 31, 2012, at 7:48 PM, Alex Tweedly  wrote:
>
> > in the UK , the iBooks version (which I bought yesterday) costs £16.99
> > the Kindle version (which I *should* have bought) costs
> £12.95
> >
> > I guess it was a mistake to choose this book to try out iBooks with :-(
>
> ___
> 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: pirate version of my book...

2012-08-31 Thread Colin Holgate
I bought a couple of variations, including the iBooks and Kindle ones, and I 
think generally I like the iBooks one more.


On Aug 31, 2012, at 7:48 PM, Alex Tweedly  wrote:

> in the UK , the iBooks version (which I bought yesterday) costs £16.99
> the Kindle version (which I *should* have bought) costs £12.95
> 
> I guess it was a mistake to choose this book to try out iBooks with :-(

___
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: Creating a short question answer with radio buttons

2012-08-31 Thread Peter Haworth
Hi Shawn,
Probably lots of ways to do this, here's one.

First thing to do is put the checkboxes for each question into a group -
that ensures that only one can be selected at a time.  You might call the
groups Q1, Q2, Q3, etc

Then define a custom property of each group that specifies the correct
answer in terms of the name of the checkbox.  In your example, you'd call
your buttons 1,2,3,4 and the custom property (let's call it
"correctAnswer") of group Q1 would have the value 4.

FInally, when your user indicates that they've finished answering
questions, you'd use a repeat loop like this

put the groupIDs of this card into tGroupIDs
put zero into tRight
put zero into tWrong
repeat with each line tGroupID in tGroupIDS
   if the correctAnswer of group ID tGroupID is not empty and the
hilitedbuttonname of group ID tGroupID is the correctAnswer of group ID
tGroupID then
  add 1 to tRight
   else
  add 1 to tWrong
   end if
end repeat


Only thing to watch out for is that the GroupIDs property includes only the
top level groups on a card so be sure that your Qn groups aren't contained
within any other groups.  The first condition of the if statement above
deals with any toher groups you might have on the card that are not
question groups, since they won't have a correctAnswer cprop.

I haven't tested any of that but it should work.  No doubt you'll get
other, equally as good, solutions.

Hope that helps.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 5:17 PM, Shawn Blc  wrote:

> Disclaimer:  I'm totally new to LiveCode, bought Colin's PDF file, read the
> scripting conference stack on controls, etc.  As of yet, I haven't really
> created anything of value to me or anyone else.  I'm trying to change that.
>  I've had the Gold Bundle for over a month.
>
> I'm trying to create a short question and answer program, the answers will
> be supplied in radio buttons.  Example:   A square has how many sides?   A)
> 1 B) 2 C) 3 D) 4 (these would be radio buttons).
>
> I'll have to keep track of the right and wrong answer and show a score at
> the end.
>
> If anyone can give me a short example or show me where to find it, thank
> you.
> ___
> 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: Geometry Manager

2012-08-31 Thread Peter Haworth
This is actually turning out to be a lot simpler than I thought.  I hadn't
realised the resizeStack message passed the old and new height and width of
the stack as parameters.

With that info, it's trivial to resize or reposition a control releative to
the stack coordinates by adding the difference between the new and old
stack dimension to the appropriate control dimension..  I've defined a
cprop for each control that tells me whether it is to be scaled or
repositioned in each dimension, then the resize handler goes through all
the controls in the stack searching for thos with the cprop and handling
them appropriately.  Even with live resizing set to true, there's no
noticeable delay to the screen update.

I'm sure I'm not doing everythjing the GM is capable of doing but it works
for what I need right now.  I'll also try Jacque's ratio idea.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 11:54 AM, J. Landman Gay
wrote:

> For the most flexibility, use ratios when resizing. I usually figure out
> what the ratio is for a control in my original layout and then use that for
> the calcuation. I.e., if a field should be a third of the vertical size of
> the card, then the ratio is .33. Multiply the card height by .33 and put
> appropriate values into the other three points of the rectangle; then set
> the rect. It all depends on your layout. Sometimes the width will remain
> constant, sometimes not. Sometimes you always want the left at 0, sometimes
> not.
>
> Repositioning works similarly. You can either change the topleft, or the
> location, or some other point, or you can use a ratio to calculate the new
> position (one-third of the way from top, for example) and set the topleft
> to that. Or set the left to the left of another object, or use any other
> reference that should line up.
>
> I suppose that's vague enough to confuse. :)
>
___
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


Creating a short question answer with radio buttons

2012-08-31 Thread Shawn Blc
Disclaimer:  I'm totally new to LiveCode, bought Colin's PDF file, read the
scripting conference stack on controls, etc.  As of yet, I haven't really
created anything of value to me or anyone else.  I'm trying to change that.
 I've had the Gold Bundle for over a month.

I'm trying to create a short question and answer program, the answers will
be supplied in radio buttons.  Example:   A square has how many sides?   A)
1 B) 2 C) 3 D) 4 (these would be radio buttons).

I'll have to keep track of the right and wrong answer and show a score at
the end.

If anyone can give me a short example or show me where to find it, thank
you.
___
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: Datagrid/Table textHeight?

2012-08-31 Thread Peter Haworth
Hi Rick,
Didn;t email it to you, too big.

Click here  to download
it.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 3:37 PM, Rick Harrison wrote:

> Hi Pete,
>
> Thank you for this information!
> I haven't been able to much in
> the dictionary about this stuff.  It
> seems to be scattered around in
> bits, and pieces elsewhere.
>
> Thanks again,
>
> Rick
>
> On Aug 31, 2012, at 2:38 PM, Peter Haworth wrote:
>
> > You can set the text height in the Text Formatting tab of the datagrid
> > Inspector palette (separately for the body and the header).  You'd also
> > have to change the row height in the Basi Properties of datagrid
> Inspector
> > Palette.
> >
> > If you need to do it by script use the dgProps["text size"] and
> > dgProps["row height"] properties of the datagrid
> >
> > Pete
> > lcSQL Software 
> >
> >
> >
> > On Fri, Aug 31, 2012 at 10:05 AM, Rick Harrison
> > wrote:
> >
> >> My problem
> >> is that I can't find a good way to set the textHeight for
> >> the data grid to the large size.
> >>
> > ___
> > 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: Datagrid/Table textHeight?

2012-08-31 Thread Peter Haworth
Hi Rick,
I've emailed you separately with a pdf of the Datagrid Manual, it's about
the only place to find all this info and it has lots of examples too.
Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 3:37 PM, Rick Harrison wrote:

> Hi Pete,
>
> Thank you for this information!
> I haven't been able to much in
> the dictionary about this stuff.  It
> seems to be scattered around in
> bits, and pieces elsewhere.
>
> Thanks again,
>
> Rick
>
> On Aug 31, 2012, at 2:38 PM, Peter Haworth wrote:
>
> > You can set the text height in the Text Formatting tab of the datagrid
> > Inspector palette (separately for the body and the header).  You'd also
> > have to change the row height in the Basi Properties of datagrid
> Inspector
> > Palette.
> >
> > If you need to do it by script use the dgProps["text size"] and
> > dgProps["row height"] properties of the datagrid
> >
> > Pete
> > lcSQL Software 
> >
> >
> >
> > On Fri, Aug 31, 2012 at 10:05 AM, Rick Harrison
> > wrote:
> >
> >> My problem
> >> is that I can't find a good way to set the textHeight for
> >> the data grid to the large size.
> >>
> > ___
> > 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: pirate version of my book...

2012-08-31 Thread Alex Tweedly

On 31/08/2012 23:03, Colin Holgate wrote:

Thanks for that! I actually don't mind about the pirate version, I didn't write 
the book thinking I would make much money from doing that. It was more to help 
me learn things for myself, and the experience of writing a book.


Talking about money 

in the UK , the iBooks version (which I bought yesterday) costs £16.99
 the Kindle version (which I *should* have bought) 
costs £12.95


I guess it was a mistake to choose this book to try out iBooks with :-(

But even so, I really like the book - thank you for writing it; I'll 
probably use the hard copy most.

-- Alex.

___
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: Android Orientation Woes

2012-08-31 Thread Colin Holgate
But, aren't you reading the accelerometer in order to make something slide 
around? If you're assuming that a Y rotation is what happens in the user turns 
the left edge away from them, that will be right for phones but wrong for 
tablets.


On Aug 31, 2012, at 5:37 PM, Dan Friedman  wrote:

> 
> >Yes.  My app is portrait only.   I selected "Portrait" as the Initial 
> >Orientation in the Standalone App Settings and I don't alter the orientation 
> >settings in 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: Datagrid/Table textHeight?

2012-08-31 Thread Bob Sneidar
Yes you will have to bookmark the Datagrid API and examples documentation on 
the web. This is a good starting point: http://lessons.runrev.com/ for all 
things Rev. Toward the bottom is a section on the Datagrid. Click the first 
item and at the bottom of THAT page is a section on datagrid properties and 
API. 

I daresay this is not really entirely complete. Another thing you can do to get 
some idea of how datagrids work is to open the parent script of a datagrid: 
edit the script of the behavior of group "DataGrid 1". Caution: Don't edit it! 

Bob


On Aug 31, 2012, at 3:37 PM, Rick Harrison wrote:

> Hi Pete,
> 
> Thank you for this information!
> I haven't been able to much in
> the dictionary about this stuff.  It
> seems to be scattered around in
> bits, and pieces elsewhere.  
> 
> Thanks again,
> 
> Rick
> 
> On Aug 31, 2012, at 2:38 PM, Peter Haworth wrote:
> 
>> You can set the text height in the Text Formatting tab of the datagrid
>> Inspector palette (separately for the body and the header).  You'd also
>> have to change the row height in the Basi Properties of datagrid Inspector
>> Palette.
>> 
>> If you need to do it by script use the dgProps["text size"] and
>> dgProps["row height"] properties of the datagrid
>> 
>> Pete
>> lcSQL 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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Bob Sneidar
The really compelling reasons for me is properties, and certain limits placed 
on a compiled app. I got into the habit of using properties to store 
information from session to session, and since a compiled app cannot be 
modified, I cannot do that. At least that is my understanding. 

Bob


On Aug 31, 2012, at 3:03 PM, Peter Haworth wrote:

> Yes, it's kinda the general untidiness of the splash stack approach that
> gets to me.  One compiled file is much better untless there's a really
> compelling reason why you can't do that.
> Pete
> lcSQL Software 
> 
> 
> 
> On Fri, Aug 31, 2012 at 2:54 PM, J. Landman Gay 
> wrote:
> 
>> Another reason is that loose files can get lost. That's mostly true on
>> Windows and Linux because they aren't inside an app bundle. Whenever
>> possible I try to keep everything in a single file, but sometimes you can't.
> ___
> 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: Datagrid/Table textHeight?

2012-08-31 Thread Rick Harrison
Hi Pete,

Thank you for this information!
I haven't been able to much in
the dictionary about this stuff.  It
seems to be scattered around in
bits, and pieces elsewhere.  

Thanks again,

Rick

On Aug 31, 2012, at 2:38 PM, Peter Haworth wrote:

> You can set the text height in the Text Formatting tab of the datagrid
> Inspector palette (separately for the body and the header).  You'd also
> have to change the row height in the Basi Properties of datagrid Inspector
> Palette.
> 
> If you need to do it by script use the dgProps["text size"] and
> dgProps["row height"] properties of the datagrid
> 
> Pete
> lcSQL Software 
> 
> 
> 
> On Fri, Aug 31, 2012 at 10:05 AM, Rick Harrison
> wrote:
> 
>> My problem
>> is that I can't find a good way to set the textHeight for
>> the data grid to the large size.
>> 
> ___
> 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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Devin Asay

On Aug 31, 2012, at 3:54 PM, J. Landman Gay wrote:

> On 8/31/12 4:29 PM, Bob Sneidar wrote:
>> True enough, but password protecting the other stacks encrypts the
>> code in them, so I am not sure what the risk is. I suppose to prevent
>> the stacks from being used by themselves, you can add some code in
>> preOpenStack that checks what the parent stack is.
> 
> Another reason is that loose files can get lost. That's mostly true on 
> Windows and Linux because they aren't inside an app bundle. Whenever possible 
> I try to keep everything in a single file, but sometimes you can't.
> 

Of course, the big advantage of the splash screen approach is that you can 
update components of the application without recompiling it (at least on 
desktop systems.)

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University


___
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: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
I agree, but attribution is good too!

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 2:32 PM, Devin Asay  wrote:

> If I post an idea here I have not expectation that people will not use it;
> just the opposite! I've gotten so many great ideas from this list over the
> years, my posts are just a poor attempt to give back. :)
___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Peter Haworth
Yes, it's kinda the general untidiness of the splash stack approach that
gets to me.  One compiled file is much better untless there's a really
compelling reason why you can't do that.
Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 2:54 PM, J. Landman Gay wrote:

> Another reason is that loose files can get lost. That's mostly true on
> Windows and Linux because they aren't inside an app bundle. Whenever
> possible I try to keep everything in a single file, but sometimes you can't.
___
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: pirate version of my book...

2012-08-31 Thread Colin Holgate
Thanks for that! I actually don't mind about the pirate version, I didn't write 
the book thinking I would make much money from doing that. It was more to help 
me learn things for myself, and the experience of writing a book.


On Aug 31, 2012, at 4:22 PM, Jim Kanter  wrote:

> >I looked at a few pages, liked what I saw, and bought it.

___
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: Android Orientation Woes

2012-08-31 Thread J. Landman Gay

On 8/31/12 4:00 PM, Dan Friedman wrote:

Hi!

In an iOS project I have a button on the screen that when you tilt
the device, it slides left or right.  Using the accelerationChanged
message, this is easy.  However, now that I am trying to replicate
this on Android, it's not working.  The "x" value retuned by
accelerationChanged is all wrong!  I see a discussion in the Android
Release Notes about this but I can't make any sense of what they are
talking about:

"In order to correct orientation handling for this device, you must
include a file named lc_device_config.txt in your APK bundle. Do this
by adding the file in the Copy Files pane of the Standalone Builder.
This file is used to map a device's to orientation to accelerometer
value and is parsed by the Android engine on startup. If the current
device matches an entry in the file, the orientation settings in that
entry will be used."

Does anyone know what this means?  How to implement it? Or another
way to deal with different devices having different 0 degree
settings?


I've tried to figure that out too. My interpretation is that you need to 
provide a list of all supported devices and somehow indicate how each 
one is to be oriented. It almost sounds like we need to figure out in 
advance the name and type of every possible Android device, but that 
can't be right. The instructions aren't clear, and the format for the 
text file isn't described.


The problem isn't just LiveCode though, it seems to be universal. My 
Android tablet has three compass apps installed, and each one thinks 
"north" is a different direction. None of them are right, though one 
comes close. I also have two different bubble-level apps and neither one 
can figure out which way is "up", they are both upside down.


--
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: pirate version of my book...

2012-08-31 Thread Peter Haworth
A few years ago, my band played a festival in Shanghai.  You can't sell CDs
over there for more than $3-$4.  I think the second night we were there, we
went to the huge market there that sells knockoffs of Rolex watches, Tommy
Bahamas shirts, etc, etc and found our CD on sale for $1.  We were kinda
flattered in a way!

Not quite on topic, but I hope you never have to get involved with
collecting royalties on musical works you write.  A nightmare, at least
here in the USA.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 11:52 AM, Richmond wrote:

> I wish them good luck with the Chinese.
___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread J. Landman Gay

On 8/31/12 4:29 PM, Bob Sneidar wrote:

True enough, but password protecting the other stacks encrypts the
code in them, so I am not sure what the risk is. I suppose to prevent
the stacks from being used by themselves, you can add some code in
preOpenStack that checks what the parent stack is.


Another reason is that loose files can get lost. That's mostly true on 
Windows and Linux because they aren't inside an app bundle. Whenever 
possible I try to keep everything in a single file, but sometimes you can't.


--
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: Android Orientation Woes

2012-08-31 Thread Dan Friedman
Colin,

Yes.  My app is portrait only.   I selected "Portrait" as the Initial 
Orientation in the Standalone App Settings and I don't alter the orientation 
settings in code.  If you (or anyone else) has some advice, I'm all ears!!

-Dan


> I didn't know about that text file, but I do know about the issue. Generally 
> speaking Android phones are in a default orientation when portrait, and 
> generally speaking Android tablets are in a default orientation when 
> landscape. So, for LiveCode to really let you know what's going on you have 
> to help it know which way is default.
> 
> It does all look somewhat complicated. Are you making any assumptions in your 
> code about whether default is portrait or landscape?
> 
>> Hi!
>> 
>> In an iOS project I have a button on the screen that when you tilt the 
>> device, it slides left or right.  Using the accelerationChanged message, 
>> this is easy.  However, now that I am trying to replicate this on Android, 
>> it's not working.  The "x" value retuned by accelerationChanged is all 
>> wrong!  I see a discussion in the Android Release Notes about this but I 
>> can't make any sense of what they are talking about:
>> 
>> "In order to correct orientation handling for this device, you must include 
>> a file named lc_device_config.txt in your APK bundle. Do this by adding the 
>> file in the Copy Files pane of the Standalone Builder. This file is used to 
>> map a device's to orientation to accelerometer value and is parsed by the 
>> Android engine on startup. If the current device matches an entry in the 
>> file, the orientation settings in that entry will be used."
>> 
>> Does anyone know what this means?  How to implement it? Or another way to 
>> deal with different devices having different 0 degree settings?
>> 
>> Thanks in advance,
>> -Dan

___
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: Checkboxes in a scrolling field.

2012-08-31 Thread Devin Asay

On Aug 31, 2012, at 3:17 PM, Peter Haworth wrote:

> It's entirley possible I got the idea for a post by you Devin in which
> case, in the light of the ongoing thread about pirating of works, I
> apologize!
> Pete

If I post an idea here I have not expectation that people will not use it; just 
the opposite! I've gotten so many great ideas from this list over the years, my 
posts are just a poor attempt to give back. :)

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Bob Sneidar
True enough, but password protecting the other stacks encrypts the code in 
them, so I am not sure what the risk is. I suppose to prevent the stacks from 
being used by themselves, you can add some code in preOpenStack that checks 
what the parent stack is. 

Bob


On Aug 31, 2012, at 2:10 PM, Peter Haworth wrote:

> To be honest, I hate the idea of splash stack/main stack unless there's a
> valid user related reason for a splash stack.  It just complicates the
> application stack structure and, if I'm not mistaken, only the splash stack
> is compiled when you create a standalone, the other stacks being right
> there in plain view.  Dealing with this particular situation is probably
> two lines of code in a closeStackRequest handler.
> Pete


___
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: Android Orientation Woes

2012-08-31 Thread Colin Holgate
I didn't know about that text file, but I do know about the issue. Generally 
speaking Android phones are in a default orientation when portrait, and 
generally speaking Android tablets are in a default orientation when landscape. 
So, for LiveCode to really let you know what's going on you have to help it 
know which way is default.

It does all look somewhat complicated. Are you making any assumptions in your 
code about whether default is portrait or landscape?
___
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: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
It's entirley possible I got the idea for a post by you Devin in which
case, in the light of the ongoing thread about pirating of works, I
apologize!
Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 1:14 PM, Devin Asay  wrote:

> I've done this before, and it works great.
>
> Devin
>
___
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: pirate version of my book...

2012-08-31 Thread Keith (Gulf Breeze Ortho Lab)

Hi Colin,

I am very sorry to hear about this situation. And just to let you know, I 
ordered a hardcopy of your book on 8/17/12 (and would have still done so 
even if I had known about a pirated copy). Nice work on the book, and again, 
I am very sorry to hear about the piracy issue. (Very, very disturbing to 
say the least.)


Sincerely,

- Boo
Gulf Breeze, Florida

P.S. Amazon got the book here fast!

-Original Message- 
From: Colin Holgate

Sent: Friday, August 31, 2012 12:50 PM
To: How to use LiveCode
Subject: Re: pirate version of my book...

It doesn't bother me too much, I doubt that many of the potential users of
the book would find that page. I mean, if you discount the fact that I just
emailed the link to a lot of them! I did report it, and it seems the
publisher does have an anti-piracy department.
___
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: Geometry Manager

2012-08-31 Thread Peter Haworth
You're right, that would work in this circumstance but I'm hoping I can do
this thing in a way that makes it reusable, no doubt like many others
before me!
Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 2:02 PM, J. Landman Gay wrote:

> I'd just look at the height of the stack. If it's more than the toolbar,
> do the resize. Otherwise exit.
>
> That wouldn't cover your second point though.
>
___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Peter Haworth
To be honest, I hate the idea of splash stack/main stack unless there's a
valid user related reason for a splash stack.  It just complicates the
application stack structure and, if I'm not mistaken, only the splash stack
is compiled when you create a standalone, the other stacks being right
there in plain view.  Dealing with this particular situation is probably
two lines of code in a closeStackRequest handler.
Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 1:24 PM, Bob Sneidar  wrote:

> The way to mimic the normal behavior of a Mac application staying open
> when the last window is closed, is to have you main stack be a splash stack
> that remains hidden the entire time, and you true application stack be an
> included stack or substack. Create a menu for the mainstack so you can
> reopen other stacks in your app.
>
> Bob
>
>
> On Aug 31, 2012, at 10:24 AM, Peter Haworth wrote:
>
> > I haven't tested this in 5.5.1 but it used to be that closing the last
> > window in an LC standalone app on a Mac quit the application.  There are
> > Mac Apps, usually simple utilities that only have one window, that do
> that
> > but I've found that the more normal Mac behavior is for the app to stay
> > open until the user quits it from a menu/key combination action.
> >
> > I think this was mentioned in another thread but the closeStackRequest
> > message is the place to handle this.
> >
> > Pete
> > lcSQL Software 
> >
> >
> >
> > On Fri, Aug 31, 2012 at 8:54 AM, Gregory Lypny
> > wrote:
> >
> >> Hi Everyone,
> >>
> >> If a standalone LiveCode app in Windows has only one window open and the
> >> user clicks the close box in the window, does this quit the app or is
> there
> >> still an app menu from which the user must shut down?  I ask because I
> >> develop on Macs and do not have easy access to a Windows computer to
> >> compare.
> >>
> >> Much obliged,
> >>
> >> Gregory
> >>
> >> ___
> >> 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
>
___
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: Geometry Manager

2012-08-31 Thread J. Landman Gay

On 8/31/12 3:54 PM, Peter Haworth wrote:

Yes, a bit unusual.  The situation is that I have a toolbar at the top of
my stack that doesn't resize in any way, then the rest of my controls below
it, most of which resize.  There's a button in the toolbar that reuces the
stack to a height just enough to still show the toolbar but none of the
other controls (plus another button to reinstate the original stack
height).  When the stack height is "minimized", I don;t want any
resizing/repositioning of the controls to happen since they'd end up on top
of the toolbar or somewhere else not good.

I'm also thinking the cprop would be good because it would allow me to
temporarily disable all resizing if I want to tweak the card layout in such
a way that would require its size to change.


I'd just look at the height of the stack. If it's more than the toolbar, 
do the resize. Otherwise exit.


That wouldn't cover your second point though.

--
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


Android Orientation Woes

2012-08-31 Thread Dan Friedman
Hi!

In an iOS project I have a button on the screen that when you tilt the device, 
it slides left or right.  Using the accelerationChanged message, this is easy.  
However, now that I am trying to replicate this on Android, it's not working.  
The "x" value retuned by accelerationChanged is all wrong!  I see a discussion 
in the Android Release Notes about this but I can't make any sense of what they 
are talking about:

"In order to correct orientation handling for this device, you must include a 
file named lc_device_config.txt in your APK bundle. Do this by adding the file 
in the Copy Files pane of the Standalone Builder. This file is used to map a 
device's to orientation to accelerometer value and is parsed by the Android 
engine on startup. If the current device matches an entry in the file, the 
orientation settings in that entry will be used."

Does anyone know what this means?  How to implement it? Or another way to deal 
with different devices having different 0 degree settings?

Thanks in advance,
-Dan

___
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: pirate version of my book...

2012-08-31 Thread -=>JB<=-
The problem is many are being held captive and are
forced to comply with their captors.  It is seen in many
ways in society including forcing them to isolate select
people from society.

The good point is we have reached a breaking point &
people who are involved are sickened by the crimes
they and others are forced to commit.

The majority want to be set free but do not know how
to break away.

When the truth is exposed many will suddenly come
forward because they have been wanting to and were
too afraid or did not know who to trust and who to tell.

-=>JB<=-


On Aug 31, 2012, at 1:47 PM, J. Landman Gay wrote:

> On 8/31/12 3:44 PM, -=>JB<=- wrote:
> 
>> You say you lost money because your app was released.  I
>> lost my code and business records.  The app to be stolen
>> after it is released is not as bad as stealing it and your code
>> when nobody had legal access to it such as buying it.
> 
> You're right. That's horrible. I'm not sure I'd have been able to forget 
> about it or ignore it.
> 
> I do not understand humanity.
> 
> -- 
> 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: Geometry Manager

2012-08-31 Thread Peter Haworth
Yes, a bit unusual.  The situation is that I have a toolbar at the top of
my stack that doesn't resize in any way, then the rest of my controls below
it, most of which resize.  There's a button in the toolbar that reuces the
stack to a height just enough to still show the toolbar but none of the
other controls (plus another button to reinstate the original stack
height).  When the stack height is "minimized", I don;t want any
resizing/repositioning of the controls to happen since they'd end up on top
of the toolbar or somewhere else not good.

I'm also thinking the cprop would be good because it would allow me to
temporarily disable all resizing if I want to tweak the card layout in such
a way that would require its size to change.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 1:27 PM, J. Landman Gay wrote:

> That's what I'd do, though I confess I haven't ever had to. It's an
> unusual circumstance.
___
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: pirate version of my book...

2012-08-31 Thread -=>JB<=-
The FBI are fact collectors and felt it was okay to release
private info about Steve Jobs they collected while at the
same time ignoring national security threats I told them
about.

http://www.generalcuestar.com/news/index/jobs_fbi_files.html

They have the facts because I made sure to file it in such
a way they were forced to keep records.

-=>JB<=-


On Aug 31, 2012, at 1:45 PM, Bob Sneidar wrote:

> I wouldn't be too hard on the FBI. They only have so much resources, so 
> cyber-crimes causing less than a certain amount of damage to a company or 
> individual don't even show up on their radar until (used to be) $5000 or 
> more, and even then they can only investigate something like 5% of those! 
> 
> Bob
> 
> 
> On Aug 31, 2012, at 12:55 PM, -=>JB wrote:
> 
>> The thieves are so bad in the Seattle-Tacoma area they took
>> years of software I developed and it was never even put on
>> the market or given to anyone for ant reason.  It included my
>> business and personal records too.
>> 
>> If you are not rich the FBI do not care and neither does any
>> one else for that matter.  If you are rich and famous and a
>> single photo is stolen of your child they investigate and file
>> serious charges against the criminals.
>> 
>> -=>JB<=-
> 
> 
> ___
> 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: pirate version of my book...

2012-08-31 Thread J. Landman Gay

On 8/31/12 3:44 PM, -=>JB<=- wrote:


You say you lost money because your app was released.  I
lost my code and business records.  The app to be stolen
after it is released is not as bad as stealing it and your code
when nobody had legal access to it such as buying it.


You're right. That's horrible. I'm not sure I'd have been able to forget 
about it or ignore it.


I do not understand humanity.

--
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: pirate version of my book...

2012-08-31 Thread Bob Sneidar
I wouldn't be too hard on the FBI. They only have so much resources, so 
cyber-crimes causing less than a certain amount of damage to a company or 
individual don't even show up on their radar until (used to be) $5000 or more, 
and even then they can only investigate something like 5% of those! 

Bob


On Aug 31, 2012, at 12:55 PM, -=>JB wrote:

> The thieves are so bad in the Seattle-Tacoma area they took
> years of software I developed and it was never even put on
> the market or given to anyone for ant reason.  It included my
> business and personal records too.
> 
> If you are not rich the FBI do not care and neither does any
> one else for that matter.  If you are rich and famous and a
> single photo is stolen of your child they investigate and file
> serious charges against the criminals.
> 
> -=>JB<=-


___
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: pirate version of my book...

2012-08-31 Thread Paul Hibbert

On 2012-08-31, at 10:26 AM, Colin Holgate wrote:

> I chanced across this Chinese page:

Funny how the page has a © Copyright notice at the bottom. :-/ What they would 
do if someone ripped off their stuff.

Please I paid for my copy.

Paul
___
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: pirate version of my book...

2012-08-31 Thread Bob Sneidar
People get away with a lot of crimes these days because of the petty nature of 
the crime. It goes to illustrate I think that old saying by one of the founding 
fathers of America John Adams, "Our Constitution was made only for a moral and 
religious people. It is wholly inadequate to the government of any other."

Laws do not stop people from doing bad things. It's why creating more and more 
legislation cannot really change anything for the better. 

Bob

 
On Aug 31, 2012, at 12:13 PM, Magicgate Software - Skip Kimpel wrote:

> I have had many commercial titles stolen over the years.  In addition,
> my wife is a well known graphics artist (www.CreativeDust.com) and is
> ALWAYS getting her stuff stolen; appears in other people books, apps,
> websites, etc.  It is so hard to fight that we finally gave up.  In
> the end, there is really nothing you can do to really fight it.  I
> would rather spend my time and energy on creating new things instead
> of wasting it on negative things.
> 
> Just my two cents.
> 
> SKIP
> 
> On Fri, Aug 31, 2012 at 3:07 PM, Richmond  wrote:
>> On 08/31/2012 10:03 PM, Magicgate Software - Skip Kimpel wrote:
>>> 
>>> The way I look at it, finding a pirated copy of your software out
>>> there on the Internet is the ultimate compliment. :)
>>> 
>>> 
>> 
>> Yes, it can be seen as that; but when somebody else is actually making money
>> out of your work
>> that could be defined as "laying the compliments on a bit thick."
>> 
>> 
>> ___
>> 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: pirate version of my book...

2012-08-31 Thread -=>JB<=-
The issue is worse than you can imagine.  For one thing my
business records being tampered with or stolen is a federal
offense and so is stealing my software.

You say they were using it without paying me which is true
but they had all of my code and this was very sophisticated
software.  That is about as serious as you can get when it
comes to taking software.

You say you lost money because your app was released.  I
lost my code and business records.  The app to be stolen
after it is released is not as bad as stealing it and your code
when nobody had legal access to it such as buying it.

-=>JB<=-


On Aug 31, 2012, at 1:24 PM, J. Landman Gay wrote:

> On 8/31/12 2:13 PM, Magicgate Software - Skip Kimpel wrote:
>> I have had many commercial titles stolen over the years.  In addition,
>> my wife is a well known graphics artist (www.CreativeDust.com) and is
>> ALWAYS getting her stuff stolen; appears in other people books, apps,
>> websites, etc.  It is so hard to fight that we finally gave up.  In
>> the end, there is really nothing you can do to really fight it.  I
>> would rather spend my time and energy on creating new things instead
>> of wasting it on negative things.
> 
> I understand, and usually I agree. But I do see a difference between 
> theoretical lost revenue because your stuff is being used for free, and 
> actively lost income because someone else is selling your stuff at a lower 
> cost, which brings in real money. This one set up a fake business and sold my 
> app.
> 
> -- 
> 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: pirate version of my book...

2012-08-31 Thread Bob Sneidar
A kind of complimentary gobsmack in the face eh?

On Aug 31, 2012, at 12:07 PM, Richmond wrote:

> On 08/31/2012 10:03 PM, Magicgate Software - Skip Kimpel wrote:
>> The way I look at it, finding a pirated copy of your software out
>> there on the Internet is the ultimate compliment. :)
>> 
>> 
> 
> Yes, it can be seen as that; but when somebody else is actually making money 
> out of your work
> that could be defined as "laying the compliments on a bit thick."

___
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: pirate version of my book...

2012-08-31 Thread Bob Sneidar
Was it the Chinese government that pirated the book?? Man, you sure get noticed 
by the big dogs! ;-)

On Aug 31, 2012, at 11:52 AM, Richmond wrote:

> On 08/31/2012 08:50 PM, Colin Holgate wrote:
>> It doesn't bother me too much, I doubt that many of the potential users of 
>> the book would find that page. I mean, if you discount the fact that I just 
>> emailed the link to a lot of them! I did report it, and it seems the 
>> publisher does have an anti-piracy department.
> 
> I wish them good luck with the Chinese.
> 
> Remember the Boeing copy? And that was state-sponsored.
> 
> What chance does one have up against a state that has no morals?
> 
> ___
> 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: Checkboxes in a scrolling field.

2012-08-31 Thread Bob Sneidar
Don't know if this would help, but in a Datagrid, any element of an array that 
does not have an entry in the dgprop["columns"] will be invisible. I use this 
to hold a checkbox value, and then I have a group of checkboxes the height of 
the datagrid with the spacing set to match the height of the rows. Obviously 
this only works for fixed height rows, although I suppose I could get fancy and 
try to get a list of the heights of each row if they were variable. 

I then have some handlers that display the checkbox value for each row as the 
user scrolls the datagrid. Also, when the user interacts with the checkboxes, I 
update the array value of the datagrid appropriately for the corresponding row. 

The dueling image idea looks intriguing too. 

Bob


On Aug 31, 2012, at 12:43 PM, Peter Haworth wrote:

> I've been thinking about doing this myself but haven't implemented it yet.
> Here's what I had planned to do, there are probably better ways.
> 
> 1) Get yourself two images, one of the unchecked check box, one of the
> checked version, call 'em "Unchecked" and "Checked".
> 2) When you're putting data into your field, set the imagesource of char x
> of line y of field "your field" to the ID of Image "Unchecked" (or
> "Checked" depedning on your requirements)
> 3) Use the following mousedown handler:
> 
> on mousedown
>   switch word 2 of the clickcharchunk
>  case the ID of Image "Unchecked"
>  set the imagesource of char x of line (the clickline) of field
> "your field" to the ID of image "Checked"
>  < do whatever else is needed when the box is checked>
>  break
>  case the ID of image "Checked"
>   set the imagesource of char x of line (the clickline) of field
> "your field" to the ID of image "Unhecked"
>   < do whatever else is needed when the box is unchecked>
>   break
>   end switch
> end mousedown
> 
> All totally untested but I think would work in principle.
> 
> Pete
> lcSQL Software 
> 
> 
> 
> On Fri, Aug 31, 2012 at 11:54 AM, Charles Szasz  wrote:
> 
>> I know this has been done before but in previous cases discussion involved
>> two or more columns. My situation does not require multiple columns. Does
>> anybody have a good idea on how to implement checkboxes in a scrolling
>> field? Thanks for your time!
>> 
>> Charles Szasz
>> csz...@mac.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


Re: pirate version of my book...

2012-08-31 Thread Ken Corey

This will probably not cheer you up; but I found
versions of the FREE version of my Devawriter available on torrent sites.


Oh man!  I *hate* that.

According to RIAA accounting, you're out *millions*...maybe even >billions<.

-Ken

___
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: Geometry Manager

2012-08-31 Thread Bob Sneidar
Can you lock messages prior to resizing and unlock them afterwards? 

Bob


On Aug 31, 2012, at 12:52 PM, Peter Haworth wrote:

> Just came across a little problem with this.  Assuming the dictionary is
> correct, the resizeStach message is sent when a stack is resized via script
> as well as when the user resizes it.  I have a circumstance where I resoze
> the stack by scriopt but do not want the control resizing to happen.
> Strange but true!
> 
> First thought is to set some sort of global or cprop to indcate to the
> resizeStack handler that it shouldn't do anything.
> 
> Pete
> lcSQL Software 
> 
> 
> 
> On Fri, Aug 31, 2012 at 11:54 AM, J. Landman Gay
> wrote:
> 
>> On 8/31/12 12:41 PM, Peter Haworth wrote:
>> 
>>> I'll write my
>>> own resize stack handler to take care of it.
>>> 
>>> Any pointers as to good techniques to do this?  I have 1 control that
>>> needs
>>> to be scaled horizontally and vertically and a couple of others that need
>>> to be re-positioned.
>>> 
>> 
>> With only three controls it should be easy. The basic idea is to just go
>> through everything that needs changing, calculate either the new rectangle
>> or the new location, and set it. It's purely grunt work, tedious but not
>> hard.
>> 
>> For the most flexibility, use ratios when resizing. I usually figure out
>> what the ratio is for a control in my original layout and then use that for
>> the calcuation. I.e., if a field should be a third of the vertical size of
>> the card, then the ratio is .33. Multiply the card height by .33 and put
>> appropriate values into the other three points of the rectangle; then set
>> the rect. It all depends on your layout. Sometimes the width will remain
>> constant, sometimes not. Sometimes you always want the left at 0, sometimes
>> not.
>> 
>> Repositioning works similarly. You can either change the topleft, or the
>> location, or some other point, or you can use a ratio to calculate the new
>> position (one-third of the way from top, for example) and set the topleft
>> to that. Or set the left to the left of another object, or use any other
>> reference that should line up.
>> 
>> I suppose that's vague enough to confuse. :)
>> 
>> --
>> 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


___
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: Geometry Manager

2012-08-31 Thread J. Landman Gay

On 8/31/12 2:52 PM, Peter Haworth wrote:

Just came across a little problem with this.  Assuming the dictionary is
correct, the resizeStach message is sent when a stack is resized via script
as well as when the user resizes it.  I have a circumstance where I resoze
the stack by scriopt but do not want the control resizing to happen.
  Strange but true!

First thought is to set some sort of global or cprop to indcate to the
resizeStack handler that it shouldn't do anything.


That's what I'd do, though I confess I haven't ever had to. It's an 
unusual circumstance.


--
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


Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Gregory Lypny
Good suggestion, Bob.  Thank you.

Gregory


> 
> The way to mimic the normal behavior of a Mac application staying open when 
> the last window is closed, is to have you main stack be a splash stack that 
> remains hidden the entire time, and you true application stack be an included 
> stack or substack. Create a menu for the mainstack so you can reopen other 
> stacks in your app. 
> 
> Bob

___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Bob Sneidar
The way to mimic the normal behavior of a Mac application staying open when the 
last window is closed, is to have you main stack be a splash stack that remains 
hidden the entire time, and you true application stack be an included stack or 
substack. Create a menu for the mainstack so you can reopen other stacks in 
your app. 

Bob


On Aug 31, 2012, at 10:24 AM, Peter Haworth wrote:

> I haven't tested this in 5.5.1 but it used to be that closing the last
> window in an LC standalone app on a Mac quit the application.  There are
> Mac Apps, usually simple utilities that only have one window, that do that
> but I've found that the more normal Mac behavior is for the app to stay
> open until the user quits it from a menu/key combination action.
> 
> I think this was mentioned in another thread but the closeStackRequest
> message is the place to handle this.
> 
> Pete
> lcSQL Software 
> 
> 
> 
> On Fri, Aug 31, 2012 at 8:54 AM, Gregory Lypny
> wrote:
> 
>> Hi Everyone,
>> 
>> If a standalone LiveCode app in Windows has only one window open and the
>> user clicks the close box in the window, does this quit the app or is there
>> still an app menu from which the user must shut down?  I ask because I
>> develop on Macs and do not have easy access to a Windows computer to
>> compare.
>> 
>> Much obliged,
>> 
>> Gregory
>> 
>> ___
>> 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: pirate version of my book...

2012-08-31 Thread J. Landman Gay

On 8/31/12 2:13 PM, Magicgate Software - Skip Kimpel wrote:

I have had many commercial titles stolen over the years.  In addition,
my wife is a well known graphics artist (www.CreativeDust.com) and is
ALWAYS getting her stuff stolen; appears in other people books, apps,
websites, etc.  It is so hard to fight that we finally gave up.  In
the end, there is really nothing you can do to really fight it.  I
would rather spend my time and energy on creating new things instead
of wasting it on negative things.


I understand, and usually I agree. But I do see a difference between 
theoretical lost revenue because your stuff is being used for free, and 
actively lost income because someone else is selling your stuff at a 
lower cost, which brings in real money. This one set up a fake business 
and sold my app.


--
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: pirate version of my book...

2012-08-31 Thread Jim Kanter
I looked at a few pages, liked what I saw, and bought it.

Content creators should be paid for their work.

___
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


Ensuring a Windows Splash Screen Has a Close Box

2012-08-31 Thread Gregory Lypny
Hello everyone,

Would this do the trick in the preOpenStack handler?

  if the platform is "MacOS"
  then
 set the decorations of this stack to empty
  else
 set the decorations of this stack to close
  end if

Gregory

___
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: Checkboxes in a scrolling field.

2012-08-31 Thread Devin Asay

On Aug 31, 2012, at 1:43 PM, Peter Haworth wrote:

> I've been thinking about doing this myself but haven't implemented it yet.
> Here's what I had planned to do, there are probably better ways.
> 
> 1) Get yourself two images, one of the unchecked check box, one of the
> checked version, call 'em "Unchecked" and "Checked".
> 2) When you're putting data into your field, set the imagesource of char x
> of line y of field "your field" to the ID of Image "Unchecked" (or
> "Checked" depedning on your requirements)
> 3) Use the following mousedown handler:
> 
> on mousedown
>   switch word 2 of the clickcharchunk
>  case the ID of Image "Unchecked"
>  set the imagesource of char x of line (the clickline) of field
> "your field" to the ID of image "Checked"
>  < do whatever else is needed when the box is checked>
>  break
>  case the ID of image "Checked"
>   set the imagesource of char x of line (the clickline) of field
> "your field" to the ID of image "Unhecked"
>   < do whatever else is needed when the box is unchecked>
>   break
>   end switch
> end mousedown
> 
> All totally untested but I think would work in principle.

I've done this before, and it works great.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




___
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: pirate version of my book...

2012-08-31 Thread Richmond

On 08/31/2012 10:13 PM, Magicgate Software - Skip Kimpel wrote:

I have had many commercial titles stolen over the years.  In addition,
my wife is a well known graphics artist (www.CreativeDust.com) and is
ALWAYS getting her stuff stolen; appears in other people books, apps,
websites, etc.  It is so hard to fight that we finally gave up.  In
the end, there is really nothing you can do to really fight it.  I
would rather spend my time and energy on creating new things instead
of wasting it on negative things.

Just my two cents.

SKIP


Well, I don't know about anything else, but I certainly did enjoy a look 
at your wife's website -


ties right in with earlier postings today vis-a-vis faeries and/or fairies

and makes me thing of Wightwick manor (which I visited about 30 years 
ago) [pronounced 'Wittick']


http://www.nationaltrust.org.uk/wightwick-manor/

http://en.wikipedia.org/wiki/Wightwick_Manor

AND, even if the front does look exactly like a mirror-image of the 
front of Bhaktivedanta manor (Yuck)


http://en.wikipedia.org/wiki/Bhaktivedanta_Manor

if you are ever over in England, your wife will have every right to belt 
you over

the head with a frying pan if you don't take her there!

Between you, me and everybody else on the LIvecode Use-list (!?!) I 
suggest you steer well clear of Bhaktivedanta manor!


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: pirate version of my book...

2012-08-31 Thread Petrides, M.D. Marian
I have the real thing and am happy to have paid you for it.  It clearly took a 
lot of work to put this together. You deserve recompense.

On Aug 31, 2012, at 1:26 PM, Colin Holgate  wrote:

> I chanced across this Chinese page:
> 
> http://www.doc88.com/p-249589799307.html
> 
> It has the entire PDF of my book. I'll report it to the publisher (though I 
> doubt they'll have the power to do much about it), but thought some of you 
> might be interested to look it over. You can decide for yourself if you take 
> the PDF and use it, or perhaps go on to get the real thing!
> ___
> 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: Geometry Manager

2012-08-31 Thread Peter Haworth
Just came across a little problem with this.  Assuming the dictionary is
correct, the resizeStach message is sent when a stack is resized via script
as well as when the user resizes it.  I have a circumstance where I resoze
the stack by scriopt but do not want the control resizing to happen.
 Strange but true!

First thought is to set some sort of global or cprop to indcate to the
resizeStack handler that it shouldn't do anything.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 11:54 AM, J. Landman Gay
wrote:

> On 8/31/12 12:41 PM, Peter Haworth wrote:
>
>> I'll write my
>> own resize stack handler to take care of it.
>>
>> Any pointers as to good techniques to do this?  I have 1 control that
>> needs
>> to be scaled horizontally and vertically and a couple of others that need
>> to be re-positioned.
>>
>
> With only three controls it should be easy. The basic idea is to just go
> through everything that needs changing, calculate either the new rectangle
> or the new location, and set it. It's purely grunt work, tedious but not
> hard.
>
> For the most flexibility, use ratios when resizing. I usually figure out
> what the ratio is for a control in my original layout and then use that for
> the calcuation. I.e., if a field should be a third of the vertical size of
> the card, then the ratio is .33. Multiply the card height by .33 and put
> appropriate values into the other three points of the rectangle; then set
> the rect. It all depends on your layout. Sometimes the width will remain
> constant, sometimes not. Sometimes you always want the left at 0, sometimes
> not.
>
> Repositioning works similarly. You can either change the topleft, or the
> location, or some other point, or you can use a ratio to calculate the new
> position (one-third of the way from top, for example) and set the topleft
> to that. Or set the left to the left of another object, or use any other
> reference that should line up.
>
> I suppose that's vague enough to confuse. :)
>
> --
> 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: pirate version of my book...

2012-08-31 Thread -=>JB<=-
The thieves are so bad in the Seattle-Tacoma area they took
years of software I developed and it was never even put on
the market or given to anyone for ant reason.  It included my
business and personal records too.

If you are not rich the FBI do not care and neither does any
one else for that matter.  If you are rich and famous and a
single photo is stolen of your child they investigate and file
serious charges against the criminals.

-=>JB<=-



On Aug 31, 2012, at 11:56 AM, J. Landman Gay wrote:

> On 8/31/12 1:49 PM, Richmond wrote:
>> On 08/31/2012 08:37 PM, J. Landman Gay wrote:
>>> On 8/31/12 12:26 PM, Colin Holgate wrote:
 I chanced across this Chinese page:
 
 http://www.doc88.com/p-249589799307.html
 
 It has the entire PDF of my book.
>>> 
>>> That didn't take long, did it.
>>> 
>>> Even though I know this happens routinely, it still pisses me off.
>> 
>> Of course it pisses you off; after all, I don't know about you, but I,
>> either
>> want to get paid for my work, or, alternatively, if my work is to be
>> given away for free,
>> would far rather that be my decision.
> 
> One of my apps was pirated and RESOLD. I didn't see a cent. That was some 
> years ago and I'm still reacting to it.
> 
> -- 
> 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: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
I've been thinking about doing this myself but haven't implemented it yet.
 Here's what I had planned to do, there are probably better ways.

1) Get yourself two images, one of the unchecked check box, one of the
checked version, call 'em "Unchecked" and "Checked".
2) When you're putting data into your field, set the imagesource of char x
of line y of field "your field" to the ID of Image "Unchecked" (or
"Checked" depedning on your requirements)
3) Use the following mousedown handler:

on mousedown
   switch word 2 of the clickcharchunk
  case the ID of Image "Unchecked"
  set the imagesource of char x of line (the clickline) of field
"your field" to the ID of image "Checked"
  < do whatever else is needed when the box is checked>
  break
  case the ID of image "Checked"
   set the imagesource of char x of line (the clickline) of field
"your field" to the ID of image "Unhecked"
   < do whatever else is needed when the box is unchecked>
   break
   end switch
end mousedown

All totally untested but I think would work in principle.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 11:54 AM, Charles Szasz  wrote:

> I know this has been done before but in previous cases discussion involved
> two or more columns. My situation does not require multiple columns. Does
> anybody have a good idea on how to implement checkboxes in a scrolling
> field? Thanks for your time!
>
> Charles Szasz
> csz...@mac.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


Playing MP3 files on Windows XP

2012-08-31 Thread Ben Rubinstein

Is there lore about getting this working?

I have an app that runs on some custom hardware under Embedded Windows XP, 
which use player objects to play audio stored in external MP3 files.  This was 
originally written some years ago.


Last year there were some changes to the hardware which required an adjustment 
to the boot image, and when it tried to play a sound file the app reported an 
error "cannot open video player".  We then established that it was necessary 
to set the Windows default audio file associations, using Windows Media Player 
(mplayer2.exe, a "light" version).  This was made part of the master image for 
the boot disks, all was well.


However, now the client has ordered some additional units, and the original 
motherboard is no longer available.  So our supplier of the custom units has 
had to build a new boot image for the new units, because the drivers have 
changed, but this problem has recurred: when trying to play an external MP3 
file, the LiveCode app reports (ie, 'the result' of "start player x" is) 
"cannot open video

player".

Opening the MP3 file directly in Windows opens Media Player and it plays 
successfully.  Unfortunately fixing the associations, which previously sorted 
the issue for LiveCode, isn't now working in this case.


So... does anyone have experience with this?  Any suggestions?

Thanks in advance,

Ben

___
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: Geometry Manager

2012-08-31 Thread Peter Haworth
Thanks Jacque.  I figure out most of it but hadn't thought about the ratio
idea.

I feel like I'm pretty much duplicating what the GM does except for the
ability to position controls relative to other controls.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 11:54 AM, J. Landman Gay
wrote:

> On 8/31/12 12:41 PM, Peter Haworth wrote:
>
>> I'll write my
>> own resize stack handler to take care of it.
>>
>> Any pointers as to good techniques to do this?  I have 1 control that
>> needs
>> to be scaled horizontally and vertically and a couple of others that need
>> to be re-positioned.
>>
>
> With only three controls it should be easy. The basic idea is to just go
> through everything that needs changing, calculate either the new rectangle
> or the new location, and set it. It's purely grunt work, tedious but not
> hard.
>
> For the most flexibility, use ratios when resizing. I usually figure out
> what the ratio is for a control in my original layout and then use that for
> the calcuation. I.e., if a field should be a third of the vertical size of
> the card, then the ratio is .33. Multiply the card height by .33 and put
> appropriate values into the other three points of the rectangle; then set
> the rect. It all depends on your layout. Sometimes the width will remain
> constant, sometimes not. Sometimes you always want the left at 0, sometimes
> not.
>
> Repositioning works similarly. You can either change the topleft, or the
> location, or some other point, or you can use a ratio to calculate the new
> position (one-third of the way from top, for example) and set the topleft
> to that. Or set the left to the left of another object, or use any other
> reference that should line up.
>
> I suppose that's vague enough to confuse. :)
>
> --
> 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: pirate version of my book...

2012-08-31 Thread Magicgate Software - Skip Kimpel
I have had many commercial titles stolen over the years.  In addition,
my wife is a well known graphics artist (www.CreativeDust.com) and is
ALWAYS getting her stuff stolen; appears in other people books, apps,
websites, etc.  It is so hard to fight that we finally gave up.  In
the end, there is really nothing you can do to really fight it.  I
would rather spend my time and energy on creating new things instead
of wasting it on negative things.

Just my two cents.

SKIP

On Fri, Aug 31, 2012 at 3:07 PM, Richmond  wrote:
> On 08/31/2012 10:03 PM, Magicgate Software - Skip Kimpel wrote:
>>
>> The way I look at it, finding a pirated copy of your software out
>> there on the Internet is the ultimate compliment. :)
>>
>>
>
> Yes, it can be seen as that; but when somebody else is actually making money
> out of your work
> that could be defined as "laying the compliments on a bit thick."
>
>
> ___
> 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: pirate version of my book...

2012-08-31 Thread Richmond

On 08/31/2012 10:03 PM, Magicgate Software - Skip Kimpel wrote:

The way I look at it, finding a pirated copy of your software out
there on the Internet is the ultimate compliment. :)




Yes, it can be seen as that; but when somebody else is actually making 
money out of your work

that could be defined as "laying the compliments on a bit thick."

___
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: pirate version of my book...

2012-08-31 Thread Magicgate Software - Skip Kimpel
The way I look at it, finding a pirated copy of your software out
there on the Internet is the ultimate compliment. :)

SKIP

On Fri, Aug 31, 2012 at 2:56 PM, J. Landman Gay
 wrote:
> On 8/31/12 1:49 PM, Richmond wrote:
>>
>> On 08/31/2012 08:37 PM, J. Landman Gay wrote:
>>>
>>> On 8/31/12 12:26 PM, Colin Holgate wrote:

 I chanced across this Chinese page:

 http://www.doc88.com/p-249589799307.html

 It has the entire PDF of my book.
>>>
>>>
>>> That didn't take long, did it.
>>>
>>> Even though I know this happens routinely, it still pisses me off.
>>
>>
>> Of course it pisses you off; after all, I don't know about you, but I,
>> either
>> want to get paid for my work, or, alternatively, if my work is to be
>> given away for free,
>> would far rather that be my decision.
>
>
> One of my apps was pirated and RESOLD. I didn't see a cent. That was some
> years ago and I'm still reacting to it.
>
> --
> 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: pirate version of my book...

2012-08-31 Thread J. Landman Gay

On 8/31/12 1:49 PM, Richmond wrote:

On 08/31/2012 08:37 PM, J. Landman Gay wrote:

On 8/31/12 12:26 PM, Colin Holgate wrote:

I chanced across this Chinese page:

http://www.doc88.com/p-249589799307.html

It has the entire PDF of my book.


That didn't take long, did it.

Even though I know this happens routinely, it still pisses me off.


Of course it pisses you off; after all, I don't know about you, but I,
either
want to get paid for my work, or, alternatively, if my work is to be
given away for free,
would far rather that be my decision.


One of my apps was pirated and RESOLD. I didn't see a cent. That was 
some years ago and I'm still reacting to it.


--
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


Checkboxes in a scrolling field.

2012-08-31 Thread Charles Szasz
I know this has been done before but in previous cases discussion involved two 
or more columns. My situation does not require multiple columns. Does anybody 
have a good idea on how to implement checkboxes in a scrolling field? Thanks 
for your time!

Charles Szasz
csz...@mac.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: Geometry Manager

2012-08-31 Thread J. Landman Gay

On 8/31/12 12:41 PM, Peter Haworth wrote:

I'll write my
own resize stack handler to take care of it.

Any pointers as to good techniques to do this?  I have 1 control that needs
to be scaled horizontally and vertically and a couple of others that need
to be re-positioned.


With only three controls it should be easy. The basic idea is to just go 
through everything that needs changing, calculate either the new 
rectangle or the new location, and set it. It's purely grunt work, 
tedious but not hard.


For the most flexibility, use ratios when resizing. I usually figure out 
what the ratio is for a control in my original layout and then use that 
for the calcuation. I.e., if a field should be a third of the vertical 
size of the card, then the ratio is .33. Multiply the card height by .33 
and put appropriate values into the other three points of the rectangle; 
then set the rect. It all depends on your layout. Sometimes the width 
will remain constant, sometimes not. Sometimes you always want the left 
at 0, sometimes not.


Repositioning works similarly. You can either change the topleft, or the 
location, or some other point, or you can use a ratio to calculate the 
new position (one-third of the way from top, for example) and set the 
topleft to that. Or set the left to the left of another object, or use 
any other reference that should line up.


I suppose that's vague enough to confuse. :)

--
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: pirate version of my book...

2012-08-31 Thread Richmond

On 08/31/2012 08:50 PM, Colin Holgate wrote:

It doesn't bother me too much, I doubt that many of the potential users of the 
book would find that page. I mean, if you discount the fact that I just emailed 
the link to a lot of them! I did report it, and it seems the publisher does 
have an anti-piracy department.


I wish them good luck with the Chinese.

Remember the Boeing copy? And that was state-sponsored.

What chance does one have up against a state that has no morals?

___
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: pirate version of my book...

2012-08-31 Thread Richmond

On 08/31/2012 08:37 PM, J. Landman Gay wrote:

On 8/31/12 12:26 PM, Colin Holgate wrote:

I chanced across this Chinese page:

http://www.doc88.com/p-249589799307.html

It has the entire PDF of my book.


That didn't take long, did it.

Even though I know this happens routinely, it still pisses me off.


Of course it pisses you off; after all, I don't know about you, but I, 
either
want to get paid for my work, or, alternatively, if my work is to be 
given away for free,

would far rather that be my decision.


___
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: Datagrid/Table textHeight?

2012-08-31 Thread Peter Haworth
You can set the text height in the Text Formatting tab of the datagrid
Inspector palette (separately for the body and the header).  You'd also
have to change the row height in the Basi Properties of datagrid Inspector
Palette.

If you need to do it by script use the dgProps["text size"] and
dgProps["row height"] properties of the datagrid

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 10:05 AM, Rick Harrison
wrote:

> My problem
> is that I can't find a good way to set the textHeight for
> the data grid to the large size.
>
___
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: Datagrid/Table textHeight?

2012-08-31 Thread Rick Harrison
Hi again,

Nevermind, I finally found "Row Height"!

Thanks,

Rick

On Aug 31, 2012, at 1:05 PM, Rick Harrison wrote:

> Hi there,
> 
> I'm trying to put together a very simple table or datagrid
> that has big text of a font size 24 or larger.  My problem
> is that I can't find a good way to set the textHeight for
> the data grid to the large size.
> 
> I'd hate to have to resort to using individuals fields grouped
> together to make things look right.  It seems like a waste
> if the data grid or a simple table won't allow decent formatting
> changes.  Is this possible or did I miss something?
> 
> Suggestions?
> 
> Thanks in advance!
> 
> Rick
> 
> 
> 
> ___
> 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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-31 Thread Ben Rubinstein
The 'right' or general way to do this (convert text from one character set to 
another) is I think always to go through Unicode (back in HyperCard days I had 
an external 'viaUnicode' which did exactly this) - this ensures correct 
handling of characters with no mapping.


Since LiveCode has some internal mapping tables for a number of character 
sets, it should be perfectly trivial to do it using

uniDecode(uniEncode(t, ... but unfortunately  RunRev have never fixed the original disastrous 
decision to make the second parameter of both functions a "language name" 
rather than a character set (which of course is what it really is), and to 
make some of these an automatically selected character set, ie "ANSI" or 
"English" selects Windows-1252 on Windows, Mac Roman on Mac, I've no idea what 
it selects on Linux.


So please beg RunRev (I think the voting mechanism has been removed, only 
begging remains to us) to give some attention to

http://quality.runrev.com/show_bug.cgi?id=3674

Ben

___
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: pirate version of my book...

2012-08-31 Thread Colin Holgate
It doesn't bother me too much, I doubt that many of the potential users of the 
book would find that page. I mean, if you discount the fact that I just emailed 
the link to a lot of them! I did report it, and it seems the publisher does 
have an anti-piracy department.
___
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: pirate version of my book...

2012-08-31 Thread J. Landman Gay

On 8/31/12 12:26 PM, Colin Holgate wrote:

I chanced across this Chinese page:

http://www.doc88.com/p-249589799307.html

It has the entire PDF of my book.


That didn't take long, did it.

Even though I know this happens routinely, it still pisses me off.

--
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


Geometry Manager

2012-08-31 Thread Peter Haworth
OK, I bow to the advice all over this list that it's not a good idea to use
the Geomerty Manager, should've listened in the first place.  I'll write my
own resize stack handler to take care of it.

Any pointers as to good techniques to do this?  I have 1 control that needs
to be scaled horizontally and vertically and a couple of others that need
to be re-positioned.

Pete
lcSQL 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: pirate version of my book...

2012-08-31 Thread Richmond

On 08/31/2012 08:26 PM, Colin Holgate wrote:

I chanced across this Chinese page:

http://www.doc88.com/p-249589799307.html

It has the entire PDF of my book. I'll report it to the publisher (though I 
doubt they'll have the power to do much about it), but thought some of you 
might be interested to look it over. You can decide for yourself if you take 
the PDF and use it, or perhaps go on to get the real thing!
___
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


Unfortunately that is almost inevitable.

This will probably not cheer you up; but I found
versions of the FREE version of my Devawriter available on torrent sites.

___
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


pirate version of my book...

2012-08-31 Thread Colin Holgate
I chanced across this Chinese page:

http://www.doc88.com/p-249589799307.html

It has the entire PDF of my book. I'll report it to the publisher (though I 
doubt they'll have the power to do much about it), but thought some of you 
might be interested to look it over. You can decide for yourself if you take 
the PDF and use it, or perhaps go on to get the real thing!
___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Peter Haworth
I haven't tested this in 5.5.1 but it used to be that closing the last
window in an LC standalone app on a Mac quit the application.  There are
Mac Apps, usually simple utilities that only have one window, that do that
but I've found that the more normal Mac behavior is for the app to stay
open until the user quits it from a menu/key combination action.

I think this was mentioned in another thread but the closeStackRequest
message is the place to handle this.

Pete
lcSQL Software 



On Fri, Aug 31, 2012 at 8:54 AM, Gregory Lypny
wrote:

> Hi Everyone,
>
> If a standalone LiveCode app in Windows has only one window open and the
> user clicks the close box in the window, does this quit the app or is there
> still an app menu from which the user must shut down?  I ask because I
> develop on Macs and do not have easy access to a Windows computer to
> compare.
>
> Much obliged,
>
> Gregory
>
> ___
> 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


Datagrid/Table textHeight?

2012-08-31 Thread Rick Harrison
Hi there,

I'm trying to put together a very simple table or datagrid
that has big text of a font size 24 or larger.  My problem
is that I can't find a good way to set the textHeight for
the data grid to the large size.

I'd hate to have to resort to using individuals fields grouped
together to make things look right.  It seems like a waste
if the data grid or a simple table won't allow decent formatting
changes.  Is this possible or did I miss something?

Suggestions?

Thanks in advance!

Rick



___
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


Bug in libURLSetLogField and libURLSetFTPListCommand

2012-08-31 Thread Gregory Lypny
Hello everyone,

I have a stack with 

libURLSetLogField ("field" && quote & "FTP Log" & quote)

followed by

libURLSetFTPListCommand "NLST"

in the openCard handler of a stack.  When the stack is opened in the IDE, it 
more often than not fails and gives the message

Handler: can't find handler

It does not, however, fail when the stack has been saved to a standalone.  This 
was a bug in the previous version of LiveCode.  I guess it has not been fixed 
in 5.5.1.

Gregory

___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Bob Sneidar
To be fair, some Mac apps do too. For some apps, it just makes sense. For some 
it does not. What always got me about the Windows way was the fact that many 
apps open as a window within which other windows open. So if you want to close 
the inner window when it is maximized, you have to be careful which X you click 
because you might actually quit the whole app! 

The idea of a window within a window I have always thought was an odd thing 
with no real correlation to a real world analog, especially when closing all 
the inner windows exposes a grey "wall" through which nothing can be seen. How 
is that a window? 

Bob


On Aug 31, 2012, at 9:11 AM, Richmond wrote:

> On 08/31/2012 07:01 PM, Bob Sneidar wrote:
>> The app quits. This is typical Windows behavior, and confuses a lot of 
>> people switching from Windows to Mac. I cannot speak for going the other 
>> direction because I have never seen a case where that actually happened. 
>>  ;-)
> 
> And this is also what will happen in Linux.
> 
>> 
>> Bob


___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Klaus on-rev
Hi Skip,

Am 31.08.2012 um 18:06 schrieb Magicgate Software - Skip Kimpel 
:

> Is there a way in LC to catch the action of the close button and
> display a "are you sure you want to quit" message?

catch the "closeStackRequest" message :-)

> SKIP

Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Richmond

On 08/31/2012 07:01 PM, Bob Sneidar wrote:

The app quits. This is typical Windows behavior, and confuses a lot of people 
switching from Windows to Mac. I cannot speak for going the other direction because I 
have never seen a case where that actually happened.  ;-)


And this is also what will happen in Linux.



Bob


On Aug 31, 2012, at 8:54 AM, Gregory Lypny wrote:


Hi Everyone,

If a standalone LiveCode app in Windows has only one window open and the user 
clicks the close box in the window, does this quit the app or is there still an 
app menu from which the user must shut down?  I ask because I develop on Macs 
and do not have easy access to a Windows computer to compare.

Much obliged,

Gregory

___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Gregory Lypny
Thanks Bob,

Much appreciated.  Since I want to have my students log their signing out when 
quitting, I guess I should determine how many windows are open at the time a 
close box is clicked, and then assume that the intention is to quit if there is 
only one.

Gregory


> The app quits. This is typical Windows behavior, and confuses a lot of people 
> switching from Windows to Mac. I cannot speak for going the other direction 
> because I have never seen a case where that actually happened.  ;-)
> 
> Bob

___
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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Magicgate Software - Skip Kimpel
Is there a way in LC to catch the action of the close button and
display a "are you sure you want to quit" message?

SKIP

On Fri, Aug 31, 2012 at 12:01 PM, Bob Sneidar  wrote:
> The app quits. This is typical Windows behavior, and confuses a lot of people 
> switching from Windows to Mac. I cannot speak for going the other direction 
> because I have never seen a case where that actually happened.  ;-)
>
> Bob
>
>
> On Aug 31, 2012, at 8:54 AM, Gregory Lypny wrote:
>
>> Hi Everyone,
>>
>> If a standalone LiveCode app in Windows has only one window open and the 
>> user clicks the close box in the window, does this quit the app or is there 
>> still an app menu from which the user must shut down?  I ask because I 
>> develop on Macs and do not have easy access to a Windows computer to compare.
>>
>> Much obliged,
>>
>> Gregory
>>
>> ___
>> 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: Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Bob Sneidar
The app quits. This is typical Windows behavior, and confuses a lot of people 
switching from Windows to Mac. I cannot speak for going the other direction 
because I have never seen a case where that actually happened.  ;-)

Bob


On Aug 31, 2012, at 8:54 AM, Gregory Lypny wrote:

> Hi Everyone,
> 
> If a standalone LiveCode app in Windows has only one window open and the user 
> clicks the close box in the window, does this quit the app or is there still 
> an app menu from which the user must shut down?  I ask because I develop on 
> Macs and do not have easy access to a Windows computer to compare.
> 
> Much obliged,
> 
> Gregory
> 
> ___
> 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


Close Box and Stand Alone Apps in LiveCode

2012-08-31 Thread Gregory Lypny
Hi Everyone,

If a standalone LiveCode app in Windows has only one window open and the user 
clicks the close box in the window, does this quit the app or is there still an 
app menu from which the user must shut down?  I ask because I develop on Macs 
and do not have easy access to a Windows computer to compare.

Much obliged,

Gregory

___
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: Shell script to convert TIFF to PDF under Mountain Lion

2012-08-31 Thread Bob Sneidar
Brilliant Bruce! Good work!

Bob


On Aug 30, 2012, at 5:47 PM, Bruce Pokras wrote:

> So in Livecode all you have to do is use:
> 
> put "/usr/sbin/cupsfilter" into tConvertApp
> get shell(tConvertApp && "-i image/tiff " & quote & tiffFile & quote)
> 
> and "it" should contain the data from which you can excise and save your PDF 
> file.
> 
> Regards,
> 
> Bruce Pokras
> Blazing Dawn Software
> www.blazingdawn.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: libURLDownLoadToFile

2012-08-31 Thread Dr. Hawkins
On Thursday, August 30, 2012, Richmond wrote:

> On 08/30/2012 07:15 PM, Richard Gaskin wrote:
>>
>> It was the faeries. :)
>>
>
> How very 19th century. My computer, being 21st century, contains 'fairies'
> . . . LOL.
>

They're two groups, very distantly related.

The seemingly cute and kind fairies killed off (and some say tortured to
death) the darker and  nastier but sometimes bribable faeries during the
twentieth century,

In reality, they're just biding their time for the right opportunity to
turn on us.

-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
___
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