se, either place is fine
for you to ask questions.
Lots of great material here:
http://lessons.runrev.com/
Regards,
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680685.html
Sent from the Revolution - User ma
ot;imageField1" of this card to thePath
> else ---here is a new line
> set the filename of image "imageField1" of this card to "" ---here is a new
> line
> end if
>
> Update your openCard script
>
> Simon
>
>
>
> --
> View this messag
ur openCard script
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680681.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailin
set the loc of image "imageField1" to the loc of group "picgroup"
> --/ show the image on the card /
> set the filename of image "imageField1" of this card to thePath
> --/ destroy the image imported from the library /
> delete the
ng correctly here.
>
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680678.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
Hi Vaughn,
Nope I don't need to see the stack.
Everything is running correctly here.
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680678.html
Sent from the Revolution - User mailing list archive at Nabbl
;t have a card script. I posted a button
> script.
> Your original card script was ok.
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp46
-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680674.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsu
;> set the loc of image "imageField1" to the loc of group "picgroup"
>> --/ show the image on the card /
>> set the filename of image "imageField1" of this card to thePath
>> --/ destroy the image imported from the library /
d from the library /
> delete the last image of this card
>end if
>unlock screen
> end mouseUp
>
> There is another change I made in there as well.
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4
age "imageField1" of this card to thePath
--/ destroy the image imported from the library /
delete the last image of this card
end if
unlock screen
end mouseUp
There is another change I made in there as well.
Simon
--
View this message in context:
http:
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680668.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> __
Hi Vaughn,
You did see that I posted everything was working after a few small changes
in your original script? I never received an answer that you tested it and
it didn't work for you.
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control
Hi Simon
I really don't understand the image control in a background group yet. I
just added a new blank card with the background group and it opened with
the last image that was edited on an existing card. I am just not grasping
the group and control logic to make it do what I am trying
pt from your original posting, so...
> on mouseUp
> openCard
> end mouseUp
>
> You should not see anything happen because it just loads the same image in.
>
> Unless I read this too quickly.
>
> Simon
>
>
>
> --
> View this message in context:
> ht
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680665.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode
Hi
This morning I did some testing to address the image updating in the
current card in the image control and did not come up with a solution that
worked.
I have the On OpenCard script that is working to add the image to the image
control, and as before the on OpenCard script cannot update the im
That's good to know. My app is desktop only and it must be different there.
Thanks for the heads up.
On June 25, 2014 4:51:44 PM CDT, Simon wrote:
>Hi Jacque,
>"But for image objects it isn't needed, and you can omit that
>instruction."
>Actually it was the only way to get the script to work
found
> set the loc of the templateImage to -1,-1
> Makes it very slow in coming out of the photo library
> set the vis of the templateImage to false
> Is much much faster. Both of these things are mobile related only.
>
> Or... it's just me.
>
> Simon
>
>
&
ile related only.
Or... it's just me.
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680640.html
Sent from the Revolution - User mailing list archive at Nabble.com.
On 6/25/2014, 9:56 AM, Vaughn Clement wrote:
Very interesting link you included.
The stack is another great reference material that is undocumented.
The User Guide is often overlooked. A pretty good explanation of groups
and backgrounds, and their differences and behavior, begins on page 107
it appears to be. The test would have been to throw in a
> "wait 1 (or can it be 0?) milliseconds with messages" into that script.
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-
Now as to why that works I didn't test if it was a screen refresh problem
which is what it appears to be. The test would have been to throw in a
"wait 1 (or can it be 0?) milliseconds with messages" into that script.
Simon
--
View this message in context:
http://runtime-
Now I'm not sure what impact on performance of using it when all the images
> get updated but it probably doesn't matter as I think the things like that
> are only set when the card opens.
> If it does then yes, you have to break the image out of the group.
>
> Simon
>
>
>
&
ike that
are only set when the card opens.
If it does then yes, you have to break the image out of the group.
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680627.html
Sent from the Revolution - User mailing list
Vaughn:
I can't tell if you understand the basics of groups/backgrounds, so
apologies if this is redundant for you.
First, try to forget anything Hypercard related and start over. In fact,
it will probably help you ignore the term "background" and consider groups
only (the terms "group" and "bac
Hi
Your comments:
The "then" is superfluous, so its removal shouldn't affect anything. A
"then" can only occur at the end of a line that begins with "if". The
engine must be ignoring the extra "then" because it isn't throwing an
error. At any rate, you don't need it.
Question:
Not new to coding b
On 6/24/2014, 10:35 AM, Vaughn Clement wrote:
I am somewhat closer to the solution? I tested the correction that J.
Landman Gay suggested where I remove the "then" at the end of the this
line: "set the defaultfolder to specialFolderPath ("documents") &
"/photos/" then <--"
This had the effect of
Hi
I am somewhat closer to the solution? I tested the correction that J.
Landman Gay suggested where I remove the "then" at the end of the this
line: "set the defaultfolder to specialFolderPath ("documents") &
"/photos/" then <--"
This had the effect of not updating the image in any card. When I
he image over to specialFolderPath("documents") and
read it from there.
Maybe I'm misunderstanding all this.
Simon
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680606.html
Sent from the Revolution - User mail
2014 at 12:16 PM, Simon wrote:
>
>> Hi Vaughn,
>> Aside from a spelling mistake just add parentheses around all the folder
>> paths
>> e.g.
>> put (specialFolderPath("documents") & "/photos/" & the short ID of this
>> card) into
filename
> on mouseUp
>--/ the image from mobilePickPhoto uses the template image construct
>--set it off screen so we don't see ift flash /
>set the loc of the templateImage to -1,-1
> set the filename of image &q
Up
>--/ the image from mobilePickPhoto uses the template image construct
>--set it off screen so we don't see ift flash /
>set the loc of the templateImage to -1,-1
> set the filename of image "imageField1" of this card to ""
>
&g
ePickPhoto uses the template image construct
--set it off screen so we don't see ift flash /
set the loc of the templateImage to -1,-1
set the filename of image "imageField1" of this card to ""
Simon
--
View this message in context:
http://runti
On 6/20/2014, 10:23 AM, Vaughn Clement wrote:
The image control is supposed load when the card opens and the last photo
is to be displayed?
>
*on* openCard
*set* the defaultfolder to specialFolderPath ("documents") & "/photos/"
*--answer the files*
*if* the number of this car
Hi All
I asked this question recently and I did not get any responses.
I have a substack with a background group where there is an Image Control
is being populated using the
mobilePickPhoto "library"
The image is added to the control correctly and displays, but if I leave
the card and return th
36 matches
Mail list logo