Re: substack and systemWindow property

2004-03-02 Thread Ops
In this particular (windows) project, I have a mainstack and a substack, 
both with empty decorations...systemWindow works fine for the mainstack 
but NOT for the substack, which is where Sean's (most excellent) DLL 
came into play for me, and it's use was the only way I could get the 
darn substack to float...

Opie

Ken Ray wrote:

Sean, the systemWindow property should work on Windows ... are you sure
that it doesn't? If so, you should Bugzilla it...
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 7:32 PM
To: How to use Revolution
Subject: Re: substack and systemWindow property

oddly enough they added the feature into the mac versions, 
but they left 
out the windows versions (heck they could have even used my code ;-)

-Sean

-Original Message-

and windowTopMost...was there an easier way or a way to do it 
without the use of the dll?
___
use-revolution mailing list
[EMAIL PROTECTED] 
http://lists.runrev.com/mailman/listinfo/use- revolution



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


substack and systemWindow property

2004-03-01 Thread Ops
I have a mainstack and 1 substack.  In a mouseEnter handler of a field 
in the mainstack I show the substack.  So far so good...however, when 
the mainstack's systemWindow property is true, and it is floating above, 
say, a full-screen browser window, moving the mouse in the field that 
shows the substack on mouseEnter does not make the substack visible 
(even though the substack's vis and systemWindow properties are both 
true).  Obviously, the substack is in fact popping up, but is not 
visible because it is *behind* the browser window.  Any ideas on what I 
can do to make that darn substack show visible above the (in this 
example) browser window??

Thanks!!

Opie
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: substack and systemWindow property

2004-03-01 Thread Ops
I solved this problem in a way in which I didn't think I had 
to...but...I used the alwaysOnTop dll with the commands alwaysOnTop 
and windowTopMost...was there an easier way or a way to do it without 
the use of the dll?

Ops wrote:

I have a mainstack and 1 substack.  In a mouseEnter handler of a field 
in the mainstack I show the substack.  So far so good...however, when 
the mainstack's systemWindow property is true, and it is floating above, 
say, a full-screen browser window, moving the mouse in the field that 
shows the substack on mouseEnter does not make the substack visible 
(even though the substack's vis and systemWindow properties are both 
true).  Obviously, the substack is in fact popping up, but is not 
visible because it is *behind* the browser window.  Any ideas on what I 
can do to make that darn substack show visible above the (in this 
example) browser window??

Thanks!!

Opie
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: substack and systemWindow property

2004-03-01 Thread Ops
AH!  OK...THANK YOU Sean!!  ...maybe you should charge a little $$ (now 
that I already have *my* hands on it :)

Opie

[EMAIL PROTECTED] wrote:

oddly enough they added the feature into the mac versions, but they left 
out the windows versions (heck they could have even used my code ;-)

-Sean

-Original Message-

and windowTopMost...was there an easier way or a way to do it without
the use of the dll?


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev on ICQ ?

2004-02-29 Thread Ops
of coursewhat would be lost in all this...is the *valuable* 
information trail that is created by the list itself...just the (valid) 
banter so far about which IM technology would be the one...is, well, 
telling...and (IMHO) proof enough that the concept, while novel and 
not without merit...is futile to even consider with today's 
technology(s) and the fruits which would become inaccessible to the 
list at large

Opie

Brian Yennie wrote:

I should add as bait to many that the Jabber protocol is relatively easy 
to implement.
A Rev chat client could easily tap into the major IM networks that way.

for OSX I heartily recommend Fire http://fire.sourceforge.net/ ... 
very well done, overall.  I use it for Jabber and AIM.  Of course some 
functionality is lost, as mentioned, but overall I find it to be the 
best choice for me.

Yours,
Chris
On Feb 28, 2004, at 7:39 PM, Ken Ray wrote:
www.indigofield.com


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Serious applications

2004-02-25 Thread Ops


A.C.T. wrote:
 snip
You would always have to have 
developers that can talk transcript, which is not as likely as finding 
professionals that speak C, C++, Java etc. pp. Personally I find it very 
hard to learn Transcript (being a stubborn Assembler/machine 
language/C/C++/Shellscript/PHP programmer that hasn't learned anything 
serious) and currently this might be the reason for me to not use 
Revolution at all 
I am a C, C++ veteran and have coded many large projects through the 
years.  I had my hands around Transcript in a few evenings and am 
working on a serious project of which I had a fairly extensive demo 
ready in a matter of a few weeks that would have taken 6 - 12 months to 
code in C/C++...For me (as well as *many* others), Transcript was (by 
far) the easiest environment/language to learn that I've ever 
encountered in my 20+ year programming career.

to me this is a question of productivity: I have to 
learn a language that does not give me any benefits over those I am 
already familiar with AND I would have to limit external developers to 
those being able to handle this language as well.
With all due respect, if you haven't taken the (short) time to 
adequately familiarize yourself with Transcript, then IMHO you have 
reached your conclusions without proper due-diligence.  Expose your 
developers to Rev/Transcript and see that those that embrace it will 
multiply their productivity by factors that will astound you...in a time 
frame that will be equally astonishing...

I have NOT abandoned C/C++ (as well as other technologies).  I utilize 
Revolution's externals ability when appropriate, and because of my own 
productivity gains, have realized the futility of my past practices 
where I have coded 100% of my projects in 3rd generation languages.

Just .02 from someone who took the time (a few evenings) to embrace 
Rev/Transcript.  NO DISRESPECT intended by that statement Marc, just a 
fact that I have experienced firsthand...I was skeptical too, and 
astounded *myself* at what I've been accomplishing utilizing this new 
programming model (Rev + externals).

Opie
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Appropriate syntax for referencing objects in a looping structure?

2004-02-21 Thread Ops
Christopher,

The name of your graphic pointer is:   pointer1  It's NOT pointer1 
(with the double quotes).  In your lone set statement, the quotes merely 
tell the engine that what's enclosed (withing the quotes) should be 
treated (or looked upon) as a literal string and NOT a 
variable/container...so in effect, your lone set statement actually 
conveys to the engine the literal string:  pointer1

In your repeat loop, you are telling the engine to look for a container 
named pointer1 instead of pointer1, and it does not find it, and thus 
generates the error.  Change your repeat to:

 repeat with i = 1 to 3
 put pointer  i into tName
 answer tName -- should now give you the right content: pointer1
 set the angle of graphic tName to rotAngle
   end repeat
A shorter way to write the above would be:

repeat with i = 1 to 3
set the angle of graphic pointer  i to rotAngle
end repeat
Hope this was clear.

Opie

Christopher Mitchell wrote:

Howdy,

Another likely simple question for which the specific documentation does 
not seem readily available, or at least accessible.  Hopefully someday 
other newbies will benefit from all these syntax questions and you all 
won't tar and feather me just yet.  I feel like I've been spamming the 
list :/
-

Ok, I've got a card with several graphic objects all named pointer1, 
pointer2, pointer3, etc.  I want a repeat script to change the angle 
property of each one of them.

The usual line that works outside the loop is, of course:

set the angle of graphic pointer1 to rotAngle

The problem comes in getting the 'set' command to properly parse any of 
the content I'm throwing at it in order to make it work in the same way 
using the counter generated by a 'repeat with' loop, as follows:

repeat with i = 1 to 3
put quote  pointer  i  quote into tName
answer tName -- this is giving me the right content: pointer1
set the angle of graphic tName to rotAngle  -- this line chokes with 
chunk error, no such object. hint: pointer1
  end repeat

As indicated by the comment, I put in the 'answer' just as a sanity 
check and the contents of tName at that point are exactly what I would 
type into the usual line; yet it tells me that there is a chunk error:no 
such object -  with the hint, ironically, as pointer1  ...

Is there some way i need to escape this variable tName when I put it in 
the 'set' statement in order to make it use the contents literally, 
exactly as if I had typed them in?  I've tried several combinations of 
using the quote constant and the '' operator, but the 'set' command 
definitely does not like having those things in its strings anymore than 
moving it out into a variable.

Thanks,
Chris
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: actually the short way returns an error

2004-02-21 Thread Ops
Christopher,

Actually, Malte also responded with the corrected shorter version and 
he is correct.  My bad, in my zeal to explain the difference between a 
quoted literal string and the actual object name, I overlooked the 
fundamental syntax of what I sent!!  SORRY!!

In the example I sent, there is a precedence problem.  To make the 
evaluation sequence clear for the Rev engine, enclose pointer  i in 
double quotes.  This tells the Rev engine to do this first.  So, (as 
Malte already stated) the corrected version is:

repeat with i = 1 to 3
 set the angle of graphic (pointer  i) to rotAngle
end repeat
The precedence is generally pretty intuitive as to how you the human 
(programmer) thinks...but...in some cases one must override the 
precedence rules by surrounding certain constructs inside ()'s in order 
to indicate to the engine that these phrases (the one's in ()'s) should 
be done FIRST.

Again, sorry, and hope this is *all* clear now :)

Opie

P.S. Don't know what kind of graphic that pointer1 is...but...in my 
test, although it compiled correctly with the above...*my* pointer1 
didn't seem to rotate...don't know why, but I also tried it with an 
image and it worked perfectly...I usually manipulate a graphic by 
changing it's points property...

Cheers!!

Christopher Mitchell wrote:

Opie,

I think the thing that confused me from the beginning and caused me to 
use that variable was that putting in :

repeat with i = 1 to 3
set the angle of graphic pointer  i to rotAngle
end repeat
returns an error in the script debugger of type: set, missing 'to'   
so by putting in the concatenation, the set command does not follow to 
the to ... and of course, you can't put the i counter in quotes, so 
that's why I started pulling it out of the line.

Is there a good reason why the script shouldn't like the inline 
concatenation though? that seems absurd.

Yours,
Chris
On Feb 21, 2004, at 6:15 AM, Ops wrote:
set the angle of graphic pointer  i to rotAngle


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: actually the short way returns an error

2004-02-21 Thread Ops
GEEZ!!  I did it again!!!  I said enclose pointer  i in double 
quotesthat's INCORRECT...I meant to say enclose pointer  i in 
PARENTHESES  SORRY AGAIN FOR THE CONFUSION

Ops wrote:

Christopher,

Actually, Malte also responded with the corrected shorter version and 
he is correct.  My bad, in my zeal to explain the difference between a 
quoted literal string and the actual object name, I overlooked the 
fundamental syntax of what I sent!!  SORRY!!

In the example I sent, there is a precedence problem.  To make the 
evaluation sequence clear for the Rev engine, enclose pointer  i in 
double quotes.  This tells the Rev engine to do this first.  So, (as 
Malte already stated) the corrected version is:

repeat with i = 1 to 3
 set the angle of graphic (pointer  i) to rotAngle
end repeat
The precedence is generally pretty intuitive as to how you the human 
(programmer) thinks...but...in some cases one must override the 
precedence rules by surrounding certain constructs inside ()'s in order 
to indicate to the engine that these phrases (the one's in ()'s) should 
be done FIRST.

Again, sorry, and hope this is *all* clear now :)

Opie

P.S. Don't know what kind of graphic that pointer1 is...but...in my 
test, although it compiled correctly with the above...*my* pointer1 
didn't seem to rotate...don't know why, but I also tried it with an 
image and it worked perfectly...I usually manipulate a graphic by 
changing it's points property...

Cheers!!

Christopher Mitchell wrote:

Opie,

I think the thing that confused me from the beginning and caused me to 
use that variable was that putting in :

repeat with i = 1 to 3
set the angle of graphic pointer  i to rotAngle
end repeat
returns an error in the script debugger of type: set, missing 'to'  
 so by putting in the concatenation, the set command does not 
follow to the to ... and of course, you can't put the i counter in 
quotes, so that's why I started pulling it out of the line.

Is there a good reason why the script shouldn't like the inline 
concatenation though? that seems absurd.

Yours,
Chris
On Feb 21, 2004, at 6:15 AM, Ops wrote:
set the angle of graphic pointer  i to rotAngle


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and/or ECMA - guess who started it?

2004-02-18 Thread Ops
I'm *really* not following the wisdom of all this...to me, IT'S NOT 
BROKE (Transcript language-wise)...if this discussion is based in a 
desire for current Rev programmers to have Transcript understand a 
syntax that they may be more familiar with, then I think it's insane to 
accommodate that desire, as the more Rev/Transcript is used, the more 
folks in that category will appreciate and embrace the virtues of 
current Transcript.  If this discussion is designed to increase the Rev 
developer crowd by offering a syntax that is more prolific to the 
developer community, then I think that other methods would be much more 
wise to employ, such as fixing bugs and improving Rev PR in general...

just .02 from a fairly new Rev developer.

jbv wrote:

Each statement needs to start with a verb. Rather than break XTalk it would
be more practial support JavaScript as an additional language implemented
using one of many javascript interpreters available.
This would be awesome, and would allow all sorts of additional
flexibility. Set the script language to applescript and write in
applescript syntax; set the script language to javascript and write in
that. It would open up whole new worlds.


This is probably a dumb question, but what kind of new world would
open the possibility to script a stack in javascript (for instance) ?
Thanks,
JB
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and/or ECMA - guess who started it?

2004-02-18 Thread Ops

the more Rev/Transcript is used, the more folks in that category
will appreciate and embrace the virtues of current Transcript.


If implented as Tuviah proposed it may actually have the opposite,
beneficial effect:  by allowing the world's most popular scripting language
as a switchable option some folks might jump on board more quickly, and once
they have the tool in hand sooner or later they'll take a look at Transcript
and realize they've been working way too hard. :)
True enough Richard, but, I'm sure Rev resources are not unlimited, and 
if this is done at a long-term cost to the efficacy of the existing 
product, then I'm sure all would agree that those efforts would be 
foot-shooting...I for one, would like Rev to stay ontrack with the 
existing structure and not go off on tangents that would (IMHO) make the 
core product suffer.  Staying the course (again IMHO) would prove most 
beneficial to Rev in the long run.

Opie
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and/or ECMA - guess who started it?

2004-02-18 Thread Ops
Ah!  my bad and my apologies...I probably didn't read back far 
enough...it's just a hot button with me after having been involved 
with so many companies that just don't know how to *FOCUS*...and thus 
never do anything well, let alone excellent.  I must've jumped in to 
the middle of this and could not contain the *FOCUS* beast inside of me. 
 Cheers to all!

Opie

J. Landman Gay wrote:
On 2/18/04 12:48 PM, Ops wrote:

True enough Richard, but, I'm sure Rev resources are not unlimited, 
and if this is done at a long-term cost to the efficacy of the 
existing product, then I'm sure all would agree that those efforts 
would be foot-shooting...I for one, would like Rev to stay ontrack 
with the existing structure and not go off on tangents that would 
(IMHO) make the core product suffer.


I agree completely. The cool factor of alternate scripting languages 
should be a future enhancement. It would be nice to have, but I didn't 
mean to imply it should be done immediately. Just something to think 
about later on.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: rev and languages

2004-02-18 Thread Ops

If I wanted to learn Java or something else I would not have bought REV.

Please don't go down this road. I don't think I will follow.

I don't think the posts I've read are headed towards JAVA scripting as a
replacement for Transcript. At least I hope not. It would make no sense.
It's a cryptic, slow coding, caterpillar-like language by comparison to
Transcript. It only became popular because of promotion on the web among
Windows users who didn't have a clue about xTalk scripting languages at the
time. I watched it happen, tried to tell a few people, and finally just
shook my head and ran away into HyperCard.
But, offering a *few options* borrowed from earlier languages which seem
just as natural (x = 12) as Transcript and could actually make it more
efficient might be OK.
OTOH, if it starts looking and coding like Javascript, I'd consider that a
step backward and be outahere too.
Ken N.
I say to heck with x = 12 and such.  I'm sure the other environments 
mentioned have the staff and resources available to program away their 
identities.  IMHO, this community should not encourage the Rev folks to 
meander from the product core and visions of it's future.  It was not 
mainstream thinking that created such a unique and productive 
environment.  Keeping a thinking outside the box mentality combined 
with a focused effort by the Rev staff is the recipe for long term 
success.  Losing focus on the aforementioned in an effort to achieve 
short term gain will not serve us well in the long haul.

Just one programmers .02

put thispost02 + lastposts02 into longtermgain

I'll take the 4 in that manner over longtermgain = 4 any day :)

Ops
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Find screen pixel color without screenMouseLoc

2004-01-29 Thread Ops
Got it working, thank you Sir.  My desktop icons flicker and it is quite 
slow...I have read in the archives about icons winking out...this is 
happening to me too.  I'll have to evaluate the impact on my app, but 
thank you for the answer Dar!!

Dar Scott wrote:

On Wednesday, January 28, 2004, at 05:56 PM, Ops wrote:

I've searched, and cannot find an answer to this question.  Can I find 
the color of a particular pixel of a (windows) screen without having 
to change the screenMouseLoc (and then using mouseColor).  Doing it 
that way is annoying and confusing to my users when the pointer moves 
for no reason (according to their perception)..


export the screen to an invisible image (or to a variable and then to 
image).  Get the imageData.  Get the pixel.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Find screen pixel color without screenMouseLoc

2004-01-28 Thread Ops
I've searched, and cannot find an answer to this question.  Can I find 
the color of a particular pixel of a (windows) screen without having to 
change the screenMouseLoc (and then using mouseColor).  Doing it that 
way is annoying and confusing to my users when the pointer moves for no 
reason (according to their perception)..

Thanks!!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Resizing with pointer tool in standalone

2004-01-22 Thread Ops
In the Rev development environment, I can select the pointer tool in a 
handler allowing a user to resize a control.  When performed in a 
standalone, the handles do show up (black in color as opposed to gray 
when in development environment) but one cannot resize the control?  Is 
there a library I need to include in my build?  What do I need to do to 
make resizing actually work in a standalone when a handler chooses the 
pointer tool?  BTW, the stack mode is editable and the lockLocation 
for the object in question is indeed false.  THANKS!!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Why are there text formatting options for image objects?

2004-01-15 Thread Ops
I would like to have an image object where I can change the 
backgroundcolor...for images with text, I thought I'd use the noop ink 
because the docs say that the backgound will be tranparent but text 
will still show through, yet I can't seem to figure out how to PUT text 
on an image...and since text formatting exists for image objects, I 
have to assume there is *some way* to put text (that will show 
through) on an image object.  Is there an image type I can use that has 
layers where Rev can color one layer (background) with, say white and 
another layer (text) black?  In this scenerio, I'd like to switch the 
image background between white and gray, still letting the black text 
show through.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Update a global when going to a stack as modal

2004-01-08 Thread Ops
Just to get the obvious out of the wayyou *did* define gFoo as a global in Stack 
B...correct?

=== At 2004-01-07, 12:20:00 you wrote: ===

I have a handler in stack A of the pseudo form below
  ...
  LINE 1 put Before into global gFoo
  LINE 2 go to stack B as modal; user input there goes into gFoo
  LINE 3 put gFoo into fld Information of stack A
  ...

The text that is put into the field on stack A is inevitably Before.
However, if I immediately type 

  put gFoo into fld Information

the data that was collected in stack B is put into the field in stack A as
expected.  The global is populated as I would want, except it is as if line
3 above is run before line 2.  What is going on?  Can I not switch between
stacks and collect data?  Is there a workaround?

Mark
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

= = = = = = = = = = = = = = = = = = = =  
  







___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Custom answer file dialogs?

2004-01-03 Thread Ops
Has anybody written, or does anybody know if any alternate answer file
dialogs exist that look and feel like windows explorer?  I guess I'm
specifically interested in the treeview of the directory structure in
windows explorer and am wondering if someone has duplicated that model for
an answer file dialog.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


MS-Access ODBC WOES!! non-sensical results?

2004-01-03 Thread Ops
I have some (brutal) code below trying to simply test if I can get rev 2.1.2
to read data from an MS-Access table.  I'm getting NO errors opening the
DSN, NO errors on the revquerydatabase and getting a VALID cursorID.  I'm
getting 'empty' from revQueryResult (which indicates no errors in the
docs) yet the revnumberofrecords(cursid) is returning a -1!?!  The docs
say that revnumberofrecords should either return a text error message or
non-negative integer!?!???

HELP!  I'm new to this and realize (and hope, actually) that I'm doing
something 'newbie'-wrong.but what is most puzzling is that I'm getting a
negative integer from revnumberofrecords when the docs say that I'm supposed
to get either text or a non-negative integer?? (Obviously) I'm not getting
past the breakpoint to test the code below that, because my repeat loop will
go infinite with -1 timesthat's not the code I'm worried about though.

THANKS AS ALWAYS!!

on mouseUp
  local titl1,art1
  put empty into field errfld
  put empty into field dispfld
  get revOpenDatabase(ODBC,odbcsongdb)
  put it into songdbid
  get revquerydatabase(songdbid,select title,artist from songdb)
  put it into cursid
  put cursid:   cursid  cr into field errfld
  put revquresult:   revQueryResult(cursid)  cr after field errfld
  put numrecs:   revnumberofrecords(cursid)  cr after field errfld
  breakpoint
  if revqueryresult(cursid) is not empty then
put revqueryresult(cursid) into field errfld
  else
repeat for revnumberofrecords(cursid) times
  revdatabasecolumnnamed(cursid,title,titl1)
  revdatabasecolumnnamed(cursid,artist,art1)
  put Title:   titl1Artist:   art1  cr after field dispfld
  revmovetonextrecord cursid
end repeat
  end if
  revclosecursor cursid
  revclosedatabase songdbid
end mouseUp

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Dual port video card

2004-01-01 Thread Ops
The app I'm working on for my client will run on a windows machine that has
a video card with 2 monitor ports.  The setup for this card shows 2
resources that correspond to the 2 monitor ports (\\\display\u1 and
\\\display\u2).  Offhand I don't know the vendor of the video card, but I
would assume that most dual video cards have a similar setup with similar
resource names.

I have one stack that acts as an app-controller (I want that stack to
display on the \\\display\u1 monitor) and 2 other stacks that act as
display-stacks (I want the 2 display-stacks to appear on the
\\\display\u2 monitor)

Does anyone know how I can tell rev to display one stack on one monitor
(\\\display\u1) and other stacks on the other monitor (\\\display\u2)???

THANK YOU!!

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dual port video card

2004-01-01 Thread Ops
The desktop *is* on each monitor.I don't quite know what you mean by
publishing videosorry for my green-nessbut there is no video
involved...

Thanks!!
- Original Message - 
From: Dar Scott [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 12:29 PM
Subject: Re: Dual port video card



 On Thursday, January 1, 2004, at 11:22 AM, Ops wrote:

  The app I'm working on for my client will run on a windows machine
  that has
  a video card with 2 monitor ports.

 Is the desktop on these two monitor ports?  Or is this for publishing
 video?

 Dar Scott

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dual port video card

2004-01-01 Thread Ops
WOWI didn't know it'd be that simple!!  That'd be GREAT!!  It's a bit
tough because I'm not done with the alpha version yet and have limited
access to his production box.  As soon as I get something *close* to an
alpha working app, I shall take it to his business and test/experiment on
the actual machine.

Thanks again!!
- Original Message - 
From: Klaus Major [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 12:39 PM
Subject: Re: Dual port video card


 Hi Ops,

  The app I'm working on for my client will run on a windows machine
  that has
  a video card with 2 monitor ports.  The setup for this card shows 2
  resources that correspond to the 2 monitor ports (\\\display\u1 and
  \\\display\u2).  Offhand I don't know the vendor of the video card,
  but I
  would assume that most dual video cards have a similar setup with
  similar
  resource names.
 
  I have one stack that acts as an app-controller (I want that stack to
  display on the \\\display\u1 monitor) and 2 other stacks that act as
  display-stacks (I want the 2 display-stacks to appear on the
  \\\display\u2 monitor)
 
  Does anyone know how I can tell rev to display one stack on one
  monitor
  (\\\display\u1) and other stacks on the other monitor
  (\\\display\u2)???
 
  THANK YOU!!

 RR is not aware of more than 1 monitor...
 The screenrect will only return the first monitor.

 But it looks like you are creating a custom application that will run
 DEFINITIVELY on 2 monitors, right?

 In that case you can simply set the loc of your stacks to where the 2
 monitors
 are supposed to be...

 I had been working with 2 monitors on win in the past and it worked
 just fine.
 1280*1024 and 1024*768 aligned at top...

 So i could set a stack to the 2nd monitor with

 ...
 set the topleft of stack monitor 2 to 1281,30
 ...

 Hope that helps...


 Regards and a happy new year :-)

 Klaus Major
 [EMAIL PROTECTED]
 www.major-k.de

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dual port video card

2004-01-01 Thread Ops
Thank you!!  ...you know, now that you've all clued me in...when I *did*
have limited time with this machine, I'm thinking that I saw the video
setup as one double-wide monitor...it showed 2 screens side by
sideI'll bet that's the case and simply adjusting the loc of my stacks
will get the job done!!

Thank you all!!
- Original Message - 
From: Thomas J McGrath III [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 12:44 PM
Subject: Re: Dual port video card


Hello,

Although I don't know the answer off hand, I do have some info and a
possible solution.

The second monitor is actually showing a section of the Whole screen
space. So if I open a stack and set it's location to an off-screen
location, then it is not visible on/in the main screen area. However it
is or would be available/visible if a second monitor is set to the same
location as it's position.
I have used software that allows the second monitor to be on the left
of the main screen or to mirror or on the right or on top etc.
The actual working space is much much larger than what you see in your
main monitor's window space. I think it is at least six or seven times
as large. Someone can correct me on that but I think it is somewhere
around 32000 pixels wide and the largest screen res I have seen is
around 1500.
How does this help you? well if you look for the screen location of
that screen then you don't need to know it's name or driver or anything
and you can just set the loc of the substacks to a loc that is visible
in that other monitors screen space. Of course the normal way to do
that would require knowing what the name etc of that monitor is to set
the stacks loc to it.
But, if the monitor is within your control than you could experiment
with screen locs until you found the right position and avoid the
name/driver issue completely.

This doesn't explain how to find the loc of the other monitor but I
think the default is the screen loc of monitor one divided by two plus
the screen loc of monitor two divided by two would give you the
distance from the first stacks loc. Also, I think the default position
is on the right side of the main monitor unless the user changes it.

Hope this helps a little

Tom

On Jan 1, 2004, at 1:22 PM, Ops wrote:

 The app I'm working on for my client will run on a windows machine
 that has
 a video card with 2 monitor ports.  The setup for this card shows 2
 resources that correspond to the 2 monitor ports (\\\display\u1 and
 \\\display\u2).  Offhand I don't know the vendor of the video card,
 but I
 would assume that most dual video cards have a similar setup with
 similar
 resource names.

 I have one stack that acts as an app-controller (I want that stack to
 display on the \\\display\u1 monitor) and 2 other stacks that act as
 display-stacks (I want the 2 display-stacks to appear on the
 \\\display\u2 monitor)

 Does anyone know how I can tell rev to display one stack on one
 monitor
 (\\\display\u1) and other stacks on the other monitor
 (\\\display\u2)???

 THANK YOU!!

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution



Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2


Advanced Media Group
Thomas J McGrath III  2003  [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dual port video card

2004-01-01 Thread Ops
I shall do so, and it shouldn't be a problem for my client or the app.

Thanks Tom!
- Original Message - 
From: Thomas J McGrath III [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 12:52 PM
Subject: Re: Dual port video card


This would set the top left to one pixel more than monitor one's
available screen space. However if the screen res is changed on monitor
one to something other than 1280*1024 than the stack will be offset on
monitor 2 by the difference. You could get monitor 1's size and
handle that via script but you won't be able to know what monitor 2's
size is so that one is still a guess or set up before hand.

Getting the screen size of monitor 1 is easy but getting the screen
size of monitor 2 may not happen. So be sure to tell your client that
they should not change the screen size's of either monitor while using
your software.

Doing that anyway has caused me problems due to the way Rev handles
screen resolutions.

Tom

On Jan 1, 2004, at 1:39 PM, Klaus Major wrote:


 I had been working with 2 monitors on win in the past and it worked
 just fine.
 1280*1024 and 1024*768 aligned at top...

 So i could set a stack to the 2nd monitor with

 ...
 set the topleft of stack monitor 2 to 1281,30
 ...
 Klaus Major
 [EMAIL PROTECTED]
 www.major-k.de

Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2


Advanced Media Group
Thomas J McGrath III  2003  [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dual port video card

2004-01-01 Thread Ops
*very* nice and completeI thank you sir!!!  
- Original Message - 
From: Dar Scott [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 1:13 PM
Subject: Re: Dual port video card


 
 On Thursday, January 1, 2004, at 11:49 AM, Ops wrote:
 
  Thank you!!  ...you know, now that you've all clued me in...when I 
  *did*
  have limited time with this machine, I'm thinking that I saw the video
  setup as one double-wide monitor...it showed 2 screens side by
  sideI'll bet that's the case and simply adjusting the loc of my 
  stacks
  will get the job done!!
 
 Sorry, I didn't respond the first time.  I didn't realize you meant a 
 desktop monitor; I thought you were making movies or something.  I 
 didn't even realize you were using Windows.  I should have seen the 
 backslashes.  Sorry.  I'm glad you were persistent.
 
 I think others have covered most of what you need.  I'll add this:
 
 Put your controls as much as possible on the primary monitor.  Tooltips 
 and some menus and the such do not work correctly on the second monitor.
 
 If you need to develop without the two monitors, have a development 
 mode in which you put put the stacks into dressed windows within the 
 primary monitor with scrollbars.  In the delivery mode, they lose the 
 scrollbars and window dressing and are placed where they should be.  
 Make sure you can switch modes.  Plan on some time to fiddle with this 
 on the two-monitor system.  There might be some surprises.  If your 
 development resolution is greater than the delivery 2-monitor 
 resolution, then you need not fool with setting up scrollbars--I use 
 this method.
 
 In some apps, the primary monitor is computerish and can have a 
 normal window.  In that case, it does not need to fill the screen.  I 
 usually put the start bar on the left of the desktop in that case.
 
 Dar Scott
 
 
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Window External

2003-12-29 Thread Ops
Thank you very much Trevor!!  Unfortunately, my client is archaic and
expects me to get this to work on his Win98 machine which drives his
businessI haven't (obviously) been successful in getting him to upgrade,
as his app+machine are not broke (his words)!?!?!  ..hh
- Original Message - 
From: Trevor DeVore [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Monday, December 29, 2003 1:51 PM
Subject: Re: [ANN] Window External


 On Dec 29, 2003, at 12:48 PM, Scott Rossi wrote:
  Trevor:
 
  Thanks very much for making this available.  Nice stuff.

 Your welcome.

  Just tested on OSX 10.2.8 (under Rev and MetaCard).  Both seem to work
  fine.

 Thanks for testing it.

  Any possibility of adding alpha mask support for the window, based on a
  grayscale bitmap image?  This would be something of a holy grail for
  us UI
  folks: translucent windows with antialiased edges...
 
  Nice work; thanks again.

 I will take a look at the Carbon API and see what I can find.  If I can
 find the info on how to do it then I will add it.


 -- 
 Trevor DeVore
 Blue Mango Multimedia
 [EMAIL PROTECTED]

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transparency confusion

2003-12-28 Thread Ops
Firstly [OT], this is the absolute best mailing-list/user group I have ever
encountered, thanks to competent, responsive, and kind individuals that
participate.

Secondly, thank you for all the fine suggestions, I shall experiment...DID I
HEAR of a new feature coming out (or is it already here?) of transparent
windows, and would this apply to my scrolling text application? THANKS
AGAIN ALL!!
- Original Message - 
From: Ken Norris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 28, 2003 4:23 AM
Subject: Re: Transparency confusion


 on 12/28/03 1:48 AM, [EMAIL PROTECTED] at
 [EMAIL PROTECTED] wrote:

  Date: Sat, 27 Dec 2003 21:47:16 -0800
  From: Ken Norris [EMAIL PROTECTED]
  Subject: Re: Transparency confusion
 
  Why is this?  Is it the time required to change windowShapes?  Is it
  the work required to get the image to make the windowShapes?
  ---
  Well, yeah...all of the above. I think you'd have to make each character
a
  separate graphical element in a windowShape.
 
 This turned out not to be quite true, I think. You should be able to make
a
 *line* of text into a bit-mapped GIF image, turn it into a windowShape,
and
 scroll it by changing its loc.

 I wasn't able to put this together in Rev because I cannot create 1-bit
 transparent bg GIFs or PNGs right now, but I *did* build one in SuperCard
as
 a customPalette.

 I made a bit-mapped image and knocked out the centers of letters as needed
 (a's, o's, e's, p's, d's, etc.). I started the window off screen-right and
 updated it's loc in an idle handler, but in Rev you might be able to send
in
 time.

 However, as I expected, it flickers because of the constant redraws of the
 window as moves.

 Just an idea...

 Ken N.

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Transparency confusion

2003-12-27 Thread Ops
I would like to banner some text across the bottom of a windows desktop.  I
have created a stack that is the length of the screen, and on the very
bottom.  I can certainly get text to scroll across that wide stack, but what
I would like to do is have the background of whatever the is behind the
stack to show through so that all that can be seen is the actual scrolling
text NOT on top of a black or white rectangle (the stack)I'm wanting to
*just* see the text, and whatever that stack is on top of (like a normal
windows desktop) I would like to show through.is this possible??
THANKS!

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution