Hello,
just making my first project with externals (valentina in this case), I
started the project with a main stack, which carries most of the
functionality and some substacks. I added the valentina externals to the
main stack, build the standalone of my main stack and everything works so
far.
Bonjour Eric,
When I started learning and using Rev I got a stack in which it was
done this way.
So I thought this was the only way and the right way to do it.
You showed and learned me today that it can and should be done differently.
Still learning Rev every day and loving it (me being a
James Hurley wrote:
In the past I have always used Freehand to deal with masking of images.
Hi Jim,
the closest I came to a reasonable mask was
--
on mouseUp
set the paintcompression to RLE
hide image 1
lock screen
put the windowid of this stack into
subject was question that comes from programming without knowlege
I always thought that to pass a parameter with a command it had to be a
function like.
function myfunction param
-- do stuff with the param
end myfunction
but I just realized (from use actually) that you can do:
command
On a side note. In the script window functions are labeled with an F --
for function although in my case it's probably for fail. But commands are
labeled H. What does the H stand for?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
Hopeless?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Le 17 oct. 08 à 17:13, william humphrey a écrit :
On a side note. In the script window functions are labeled with an
F --
for function although in my case it's probably for fail. But
commands are
labeled H. What does the H stand for?
___
Bonjour William,
Le 17 oct. 08 à 17:08, william humphrey a écrit :
2. why would anyone use the function thing when they can use a
command with
a parameter. What good is a function? I guess when you want multiple
parameters?
Functions are useful and handy because their main purpose is to
Thanks Eric. It sure helps to get a simple explanation like that in addition
to the docs. It seems like I can never understand any simple program concept
and use it properly without lots of examples and simple explanations.
But what if the function CurrentUsers is in a card in some other stack
Quick answers:
In Rev you can choose which you want since
function calls {can change the UI or data storage, etc}{return a string
value}
command handlers {can change the UI or data storage, etc}{return a string
value}
Most all programming languages have both types of 'handlers' by different
names
Bonsoir William,
Le 17 oct. 08 à 18:00, william humphrey a écrit :
Thanks Eric. It sure helps to get a simple explanation like that in
addition
to the docs. It seems like I can never understand any simple
program concept
and use it properly without lots of examples and simple explanations.
Recently, william humphrey wrote:
what if the function CurrentUsers is in a card in some other stack
that you are using?
then how do you say: quote return William is among the lines of
CurrentUsers() of card othercard in stack mystack end quote?
return William is among the lines of \
Thanks Jim. I will have to digest this and refer to it again. I am taking to
putting nearly everything in the bg script of the default stack though as it
is also easier to find later.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
william humphrey wrote:
So my question is twofold.
1. How do you send a do to a function.
You don't have to. Use this:
get value(myfuction(),this card)
The second part (this card) should be the script that holds the
function; it may be the stack, a button, whatever. Put the correct
Caution:
There is no 'background script' in Rev, as there was in Hypercard.
The 'stack script' exists in both Rev and Hypercard.
Group scripts are used in Rev, and can behave as background groups, but
put the script of group grUserControls into message box
put the script of this stack into
I meant by bg script the script of the default stack which is the one you
can call functions and commands from without trouble (maybe there should be
a short cut name for it). I thought of another more complex way, go around
setting the default stack but I remember trying it and getting
I'm sorry to hear that this happened to you. I've been there, many
years back but what I lost was in the hands of the operating system,
not in the hands of a thief.
I was 3 days away from submitting my project when I had been putting
in lots of code changes in the past 2 days. A thought
I need to build a UI similar to the Finder or Windows Explorer, in which
there are icons that can be moved around, and selecting one brings it in
front of the others. To drag you just click and drag of course, and the
icon first come to the front then does the dragging action.
These icons
Hi Richard,
Why edit the group? Can't you just get all layer numbers of all
groups, take the highest number and set the layer of the target group
to to that number? Subsequently, get all layer numbers of of the
controls in a group and set the layer number of the target control to
the
Mark Schonewille wrote:
Why edit the group? Can't you just get all layer numbers of all
groups, take the highest number and set the layer of the target group
to to that number? Subsequently, get all layer numbers of of the
controls in a group and set the layer number of the target control
Hi Richard,
I don't know why you're not getting a mouseUp at mouseUp time. As a
workaround, I suppose you could use something like this:
on mouseMove x,y
if sIsDragging is true then
cancel sMyMouseUp -- stop most recent mouseUp msg from firing
set the topleft of me to (x-xOff),(y-yOff)
Bonsoir Richard,
I have the same behavior in an app of mine, written two years ago and
used every day...
I have groups composed with an image and buttons that belong
themselves to a main group.
When the user clicks such a sub group, I bring it to top and allow to
move it.
I have no time
On Oct 17, 2008, at 3:17 PM, Richard Gaskin wrote:
Chipp's thread went into that in detail, but in short all the icons
are in a group and turning on the relayerGroupedControls (necessary
to relayer stuff without a group without using editBackground) and
then setting the layer causes the
Bonsoir Richard,
I let apart the move part of the job to focus on layering:
on MoveGroupToFront pGroup
local tTarget,tOwner,tLayer,tPeers,tRelayerGroupedControls
-
put the abbr id of grp pGroup into tTarget
put the long owner of tTarget into tOwner
put the layer of tOwner + 1 into
Hello fellow coders,
I am trying to decide on the best way to approach a particular concept
in Revolution. The part that I am concerned with is similar to iGoogle
and the way you can select a web app by its title bar and drag it to
another column where a dotted line shows where it will be
look up start using in the docs. After this is done the stack is
available to the current stack and all others running at the time.
Comments:
The start using command places a stack's script into the message path
after the current stack and before any objects in the backScripts.
When you
Many thanks to all who offered advice on this.
Eric Chatonet was kind enough to email me a nifty handler that solves
the problem very well, without having to set the editBackground (which I
admit made me squeamish when it seemed the only alternative).
--
Richard Gaskin
Fourth World Media
We're often the worst at heeding our own advice, until it really
happens. I hope you get some semblance of normality back.
So much more than just code is stored on our boxes (photos, letters,
emails, etc) that it more often than not is a more personal loss.
Cheers,
Luis.
On Fri, Oct 17, 2008 at 5:35 PM, Richard Gaskin
[EMAIL PROTECTED]wrote:
without having to set the editBackground (which I admit made me squeamish
when it seemed the only alternative).
Yep, tend to agree. I only use the editBackground trick while in the IDE and
for a tool. Sounds like you got
BTW, I think I would try locking and unlocking messages before and after
your edit group stuff and see if that doesn't clear up the mouseUp message..
On Fri, Oct 17, 2008 at 1:55 PM, Richard Gaskin
[EMAIL PROTECTED]wrote:
but I never get a mouseUp or mouseRelease to empty my dragging flag. :\
30 matches
Mail list logo