Setting behaviors in 9.0.2

2019-02-02 Thread J. Landman Gay via use-livecode
Is anyone else unable to set a behavior on an object in LC 9.0.2? 
Neither script, nor message box, nor property inspector will do it for 
me with the possible exception of a button on the same card. I'm not 
using script-only stacks, just buttons which are sometimes in another 
stack in use.


This is such a basic requirement that I'm wondering if it's just me.
--
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: Setting behaviors in 9.0.2

2019-02-02 Thread J. Landman Gay via use-livecode
Interesting, I hadn't thought of that. I'd think a memory leak would cause 
a crash instead of unusual behavior, though I've had a few crashes too. A 
couple of weeks ago I got a kernal panic, the first I've ever seen. Working 
with the client on the same stack, she got a kernal panic too. Neither of 
us have seen it since and I wasn't sure if it really was LC's fault. I get 
the feeling this is going to be a hard thing to track down.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 2, 2019 4:16:38 PM hh via use-livecode 
 wrote:



I think this is not related especially to behaviors.
There is possibly something going wrong with the memory management
of LC 9.

I had, especially when developing or using widgets, several
strange effects. For example changed scripts worked not before
saving 2-3 times and closing the script editor.
Sometimes also closing and removing a stack from memory and reopening
didn't work.

But everything ALWAYS worked as expected when relaunching LC 9.
Or when doing the same thing in LC 8!

I started to denote such strange scenarios for a report.


___
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


Images and Players in "background" groups

2019-02-02 Thread Tim Selander via use-livecode
For the first time ever, probably, I have a little project that 
needs the HC "stack of cards" structure.


Have a few buttons and fields in a group, acting a a background 
and it all works as expected.


However, I also have an image and a play in the group/background. 
Oddly, when I set one card's image via "set the filename of image 
to URL" it puts that image or video on ALL the cards.


So the bg flds can all have different values per card, but the 
images and players cannot!


Is this right?? I have searched the dictionary and google to no 
avail


Tim Selander
Tokyo

___
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: Images and Players in "background" groups

2019-02-02 Thread Peter Bogdanoff via use-livecode
Hi Tim,

That would be correct. To have a different image on every card, you could:

1. Have an image control that’s not part of the group on every card 
or
2. Some other method of dynamically loading the image data into an image that 
is part of the group, such as on openCard:

put URL tURL into image “My Image" of this card

where tURL is a path to a local or remote file.

Player controls would use similar methods as above.

Peter Bogdanoff


> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode 
>  wrote:
> 
> For the first time ever, probably, I have a little project that needs the HC 
> "stack of cards" structure.
> 
> Have a few buttons and fields in a group, acting a a background and it all 
> works as expected.
> 
> However, I also have an image and a play in the group/background. Oddly, when 
> I set one card's image via "set the filename of image to URL" it puts 
> that image or video on ALL the cards.
> 
> So the bg flds can all have different values per card, but the images and 
> players cannot!
> 
> Is this right?? I have searched the dictionary and google to no avail
> 
> Tim Selander
> Tokyo
> 
> ___
> 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: Images and Players in "background" groups

2019-02-02 Thread Peter Bogdanoff via use-livecode
Images and players don’t have a “shared” property to turn on and off such as a 
field’s sharedText or a button’s sharedHilite property.

They’re always shared.

Peter


> On Feb 2, 2019, at 11:42 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi Tim,
> 
> That would be correct. To have a different image on every card, you could:
> 
> 1. Have an image control that’s not part of the group on every card 
>   or
> 2. Some other method of dynamically loading the image data into an image that 
> is part of the group, such as on openCard:
> 
>   put URL tURL into image “My Image" of this card
> 
> where tURL is a path to a local or remote file.
> 
> Player controls would use similar methods as above.
> 
> Peter Bogdanoff
> 
> 
>> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode 
>>  wrote:
>> 
>> For the first time ever, probably, I have a little project that needs the HC 
>> "stack of cards" structure.
>> 
>> Have a few buttons and fields in a group, acting a a background and it all 
>> works as expected.
>> 
>> However, I also have an image and a play in the group/background. Oddly, 
>> when I set one card's image via "set the filename of image to URL" it 
>> puts that image or video on ALL the cards.
>> 
>> So the bg flds can all have different values per card, but the images and 
>> players cannot!
>> 
>> Is this right?? I have searched the dictionary and google to no avail
>> 
>> Tim Selander
>> Tokyo
>> 
>> ___
>> 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: Setting behaviors in 9.0.2

2019-02-02 Thread Matthias Rebbe via use-livecode
I´ve made a quick test and set the behaviour of a card to the script of a 
button.
This works here on Mac OS X with LC 9.0.2 Business.



Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.de 
> Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither 
> script, nor message box, nor property inspector will do it for me with the 
> possible exception of a button on the same card. I'm not using script-only 
> stacks, just buttons which are sometimes in another stack in use.
> 
> This is such a basic requirement that I'm wondering if it's just me.
> -- 
> 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: Setting behaviors in 9.0.2

2019-02-02 Thread J. Landman Gay via use-livecode
Thanks. Something apparently went awry, seems okay now. The script editor 
was also behaving strangely and is now better. Odd. I'm glad I asked here 
before making a bug report.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 2, 2019 3:00:22 PM Kaveh Bazargan via use-livecode 
 wrote:



I have have been using behaviours pointing from objects on the mainstack to
buttons on a substack. 9.0.2 on Mac Mojave.

On Sat, 2 Feb 2019 at 19:15, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:


I´ve made a quick test and set the behaviour of a card to the script of a
button.
This works here on Mac OS X with LC 9.0.2 Business.



Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.de 
> Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com >:
>
> Is anyone else unable to set a behavior on an object in LC 9.0.2?
Neither script, nor message box, nor property inspector will do it for me
with the possible exception of a button on the same card. I'm not using
script-only stacks, just buttons which are sometimes in another stack in
use.
>
> This is such a basic requirement that I'm wondering if it's just me.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com 
> HyperActive Software   | http://www.hyperactivesw.com <
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




--
Kaveh Bazargan
Director
River Valley Technologies  • Twitter
 • LinkedIn

___
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: Setting behaviors in 9.0.2

2019-02-02 Thread hh via use-livecode
I think this is not related especially to behaviors.
There is possibly something going wrong with the memory management
of LC 9.

I had, especially when developing or using widgets, several
strange effects. For example changed scripts worked not before
saving 2-3 times and closing the script editor.
Sometimes also closing and removing a stack from memory and reopening
didn't work.

But everything ALWAYS worked as expected when relaunching LC 9.
Or when doing the same thing in LC 8!

I started to denote such strange scenarios for a report.


___
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: Setting behaviors in 9.0.2

2019-02-02 Thread J. Landman Gay via use-livecode
Thanks for testing Matthias. It must have been a temporary thing, I 
relaunched LC and now it works. Something got out of order I guess.


On 2/2/19 1:14 PM, Matthias Rebbe via use-livecode wrote:

I´ve made a quick test and set the behaviour of a card to the script of a 
button.
This works here on Mac OS X with LC 9.0.2 Business.



Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.de 

Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>>:

Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither 
script, nor message box, nor property inspector will do it for me with the 
possible exception of a button on the same card. I'm not using script-only 
stacks, just buttons which are sometimes in another stack in use.

This is such a basic requirement that I'm wondering if it's just me.
--
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




--
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: Setting behaviors in 9.0.2

2019-02-02 Thread Kaveh Bazargan via use-livecode
I have have been using behaviours pointing from objects on the mainstack to
buttons on a substack. 9.0.2 on Mac Mojave.

On Sat, 2 Feb 2019 at 19:15, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I´ve made a quick test and set the behaviour of a card to the script of a
> button.
> This works here on Mac OS X with LC 9.0.2 Business.
>
>
>
> Matthias Rebbe
>
> free tools for Livecoders:
> https://instamaker.dermattes.de 
> https://winsignhelper.dermattes.de 
> > Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com >:
> >
> > Is anyone else unable to set a behavior on an object in LC 9.0.2?
> Neither script, nor message box, nor property inspector will do it for me
> with the possible exception of a button on the same card. I'm not using
> script-only stacks, just buttons which are sometimes in another stack in
> use.
> >
> > This is such a basic requirement that I'm wondering if it's just me.
> > --
> > Jacqueline Landman Gay | jac...@hyperactivesw.com  jac...@hyperactivesw.com>
> > HyperActive Software   | http://www.hyperactivesw.com <
> 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



-- 
Kaveh Bazargan
Director
River Valley Technologies  • Twitter
 • LinkedIn

___
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