Re: [teaser] Mac OS X external

2009-09-21 Thread Arthur Rann
Hi,
I thought RR was being touted as the evolution of HyperCard? I have a hard
time believing the dirty flag isn't supported natively. Are you saying it's
not???

Look, I have a ton of cross-platform apps on my drive, but all of them use
the dirty red button to indicate that the file has been touched. This is the
kind of basic Mac OS X thing that RR should be putting in their
product. Doesn't anyone hold RR to task over Mac OS Interface?

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


Re: [teaser] Mac OS X external

2009-09-21 Thread René Micout

YES ! YES ! YES !
Bons souvenirs de Paris
René

Le 20 sept. 09 à 17:43, Shao Sean a écrit :

Working on an external for helping Mac applications in Rev look and  
feel more like Mac OS X applications. Current features include:


setWindowModified - toggles the dirty document flag on and off
isWindowModified() - returns the state of the dirty document flag  
(boolean)

setWindowProxy - adds a proxy icon to the title bar of the window

Screen capture of a modified title bar:
http://revdevelop.com/images/ssMacWindows.png


--
Shao Sean
http://www.RevDevelop.com/
___
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


___
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


Re: convert oddity

2009-09-21 Thread David Bovill
How about checking the epoch time on the server with date +%s ?

2009/9/20 Richard Gaskin ambassa...@fourthworld.com

 I have a CGI which stores dates using internet date format.

 In one of my CGI routines I use the convert command to reformat the date
 into a more user-friendly form:

convert tTimeStamp to long date and short time

 The oddity is that the convert command running on the server shows the time
 portion as 8 hours ahead of the value in the original timestamp.

 I've also used seconds instead of the internet date, with the same result.

 I've verified that the CGI is storing the correct timestamp, and when I run
 the same convert on my local machine it always converts correctly.

 Is there something odd about using the convert command in a CGI that I
 don't know about?

 FWIW, I'm not using the useSystemDate, and since the server is in my time
 zone that shouldn't affect it anyway.

 What am I missing?

 --
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
 ___
 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

___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Richmond Mathewson

Oh, By, Am I naive or what?

For us naive types could somebody, Please,
in a relatively simple way, explain what a
dirty button/flag is?
___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Sarah Reichelt
On Mon, Sep 21, 2009 at 7:31 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 Oh, By, Am I naive or what?

 For us naive types could somebody, Please,
 in a relatively simple way, explain what a
 dirty button/flag is?

When a document needs to be saved, this is referred to as being
dirty. Since this is a true/false setting, it is often called a
flag.
In Macs, if you look at a document in say, Text Edit, if it needs
saving, the close close blob in the title bar will have a dark centre,
so this is a dirty button.

Cheers,
Sarah
___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Ian Wood

On 21 Sep 2009, at 10:31, Richmond Mathewson wrote:


Oh, By, Am I naive or what?

For us naive types could somebody, Please,
in a relatively simple way, explain what a
dirty button/flag is?


In the majority of document-based OS X apps, the saved status of the  
current document is visually shown in the title bar - if it's unsaved  
then there is a darker centre to the red 'close' button.


TextEdit is a good example - open a new document, and watch the red  
button as you type in the first character.



On 21 Sep 2009, at 07:27, Arthur Rann wrote:


Hi,
I thought RR was being touted as the evolution of HyperCard? I have  
a hard
time believing the dirty flag isn't supported natively. Are you  
saying it's not???


Nope, never has been.

Look, I have a ton of cross-platform apps on my drive, but all of  
them use

the dirty red button to indicate that the file has been touched.


I also have quite a few cross-platform apps, and apart from the 'big'  
ones like Photoshop, most of them *don't* use the dirty red button. :- 
( It's highly dependant on the framework that the developer has been  
using, and if they are primarily Windows developers whether they are  
even *aware* of the feature.



 Doesn't anyone hold RR to task over Mac OS Interface?


Apart from us? Who are you referring to?

It's a feature I'd like, but apart from a couple of mentions on the  
list it doesn't seem to be that high a priority for people - there  
doesn't even appear to be a request for it in the QA centre.


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


Re: [teaser] Mac OS X external

2009-09-21 Thread Sarah Reichelt
 It's a feature I'd like, but apart from a couple of mentions on the list it
 doesn't seem to be that high a priority for people - there doesn't even
 appear to be a request for it in the QA centre.

http://quality.runrev.com/qacenter/show_bug.cgi?id=6213
___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Richmond Mathewson

Sarah Reichelt wrote:

On Mon, Sep 21, 2009 at 7:31 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
  

Oh, By, Am I naive or what?

For us naive types could somebody, Please,
in a relatively simple way, explain what a
dirty button/flag is?



When a document needs to be saved, this is referred to as being
dirty. Since this is a true/false setting, it is often called a
flag.
In Macs, if you look at a document in say, Text Edit, if it needs
saving, the close close blob in the title bar will have a dark centre,
so this is a dirty button.

Cheers,
Sarah
___
  

Thanks for a nice, clear explanation. I cannot help wondering
why the word 'dirty' is used in these cases; surely 'unsaved' is
much easier to understand (especially for folk like me!)

Gosh, I'm even goofier than I thought I was; always wondered
about those blobs!

Mind you I normally remember when things need saving
(about every 2 minutes) without any blobs.
___
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


[OT] Thinks: GameSalad

2009-09-21 Thread Richmond Mathewson

http://www.apple.com/downloads/macosx/development_tools/gamesalad.html

that's an interesting way to program!
___
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


Datagrid: speed question related to how it is working under the hood?

2009-09-21 Thread David Bovill
I've got a question about how commands like set the dgDataOfIndex work
under the hood, and whether there are occasions where you would get speed
increases by directly setting the value of an individual control in a record
view.

*First an introduction:*
I've got a datagrid form I'm working on in which the data that makes up the
individual form contents comes from a variety of web services - consequently
the basic data comes over fast but the detailed contents (things like images
and metadata) comes over much more slowly.

The solution I'm trying to reimplement is based on asynchronously loading
the additional data using load url with message. I can then display the
datagrid fast, and with a toggle arrow allow the user to reveal the image
and metadata when needed. If the metadata is still loading then I want to
display some suitable dummy is loading content.

The issue here is that if a hundred or more records are loaded into a
datagrid, then we will have several hundred asynchronous loads being fired
off and coming in all trying to update / redraw the datagrid one at a time.
Naturally this will need the fastest possible technique for updating the
display of the metadata - but we (probably) want to do this as the data
comes in.

*The questions:*
If I uses set the dgDataOfIndex to update the display of an individual
datagrid form record, does the underlying library only update the display
associated with this one record, or does the library redraw all the
currently displayed records?
Would I be any better off speed wise directly setting the images / metadata
of records using over using built in datagrid api calls?
___
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


rawKeyDown and Unicode

2009-09-21 Thread Richmond Mathewson

'Tis michty queer:

This works:

on mouseUp
set the useUnicode to true
set the unicodeText of fld BLURB to the unicodeText of fld BLURB  
numToChar(2000)

select after fld BLURB
end mouseUp

this appends the unicode char 2000 to my textField

BUT this doesn't:

on rawKeyDown RAWK
  set the useUnicode to true
 if RAWK = 0 then
   set the useUnicode to true
   set the unicodeText of fld BLURB to the unicodeText of fld 
BLURB  numToChar(2000)

   select after fld BLURB
end if
pass rawKeyDown
end rawKeyDown

this appends the ascii equivalent (i.e. rem 2000)

a richt scunner!

Any helpful suggestions welcomed with open arms . . .  :)

sincerely, Richmond.
___
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


Re: close a DataGrid

2009-09-21 Thread Trevor DeVore

On Sep 20, 2009, at 4:37 PM, Beat Cornaz wrote:


I want to close an open cell (field) in a datagrid

dispatch CloseFieldEditor to grp DataGrid 1 -- does not work.

This does not work either :
put the long id of the target into tFieldEditor   -- the target  
being that field

dispatch CloseFieldEditor to grp dataGrid 1  with tFieldEditor

I don't seem to find how to do it in the manuals and the older  
postings in this group.


Use DeleteFieldEditor.

There is a vague reference it on the API page under EditFieldText.

Data Grid API: http://revolution.screenstepslive.com/spaces/revolution/manuals/datagrid/lessons/3461-Data-Grid-API 



--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Application Development with Revolution Course: 
http://revolution.bluemangolearning.com/software/revproappdev/
___
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


Re: tab for next cell in DataGrid

2009-09-21 Thread Trevor DeVore

On Sep 20, 2009, at 4:56 PM, Beat Cornaz wrote:

I repacked an application into the GLX framework and made new  
datagrids. Now the TAB button does not move from an open cell  to  
the next cell and open it anymore, as it did in my older copy (pre  
GLX framework of this application).  How can I get that behavior  
back? The Tab now closes the open cell and that's it.



The GLX App Framework won't affect tabbing in data grids as it doesn't  
process any tabkey messages.


Is it possible that an error is occurring in a CloseFieldEditor/ 
ExitFieldExitor or OpenFieldEditor message in your data grid?


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Application Development with Revolution Course: 
http://revolution.bluemangolearning.com/software/revproappdev/
___
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


Re: Datagrid: speed question related to how it is working under the hood?

2009-09-21 Thread Trevor DeVore

On Sep 21, 2009, at 8:37 AM, David Bovill wrote:


...
*The questions:*
If I uses set the dgDataOfIndex to update the display of an  
individual
datagrid form record, does the underlying library only update the  
display

associated with this one record, or does the library redraw all the
currently displayed records?
Would I be any better off speed wise directly setting the images /  
metadata

of records using over using built in datagrid api calls?


The data grid will only redraw the row you altered. If the row isn't  
visible on screen then an offscreen control is created in order to  
determine the new height of the row but that is it.


Keep in mind that if you don't use the data grid apis the height of  
the row can't be updated and your scrolling will be off.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Application Development with Revolution Course: 
http://revolution.bluemangolearning.com/software/revproappdev/
___
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


[teaser2] Mac OS X external

2009-09-21 Thread Shao Sean
I was hoping to have this fully working today before bed but it is not  
going to happen :-(
Thank you for all the support during the development and work  
continues on adding new features so here is a sneak peek at what I was  
doing tonight..


http://revdevelop.com/images/ssMacWindows2.png
___
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


full screen

2009-09-21 Thread Peter Alcibiades
Don't know much about Windows command line, but if you can reset the screen 
from it, you could use shell() to run a shell script on open stack, and 
then reset it back with another on close stack.  Mostly when I can't figure 
out how to get it done in Rev, the shell comes to the rescue.  Or maybe you 
already thought of this and its not viable?

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


Grouping - unexpected behaviour

2009-09-21 Thread Graham Samuel
I suppose others are used to this, but I haven't found anything in the  
RunRev docs:


If I group two images or two graphics (or maybe other objects - I  
haven't tried), where one image is totally within the bounds of the  
other (for example, one is 640 x 480 and the other is 120 x 120 and  
the loc of each is the same), then the group turns out bigger than  
than the larger of the two images! There seems to be an invisible  
margin of 4 pixels all the way around the group, making the group 8  
pixels wider and higher than the original largest image. Is this  
supposed to happen? I have not found a way to avoid it, and so if I  
want to maintain the size of my composite image I will have to crop  
it, which to me is totally unexpected. My group has no border, and  
AFAICS the boundingRect property has no influence on the situation.


Can anyone explain why this is happening?

TIA

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


rawKeyDown and Unicode

2009-09-21 Thread Richmond Mathewson

Err . . . here I am replying to my own posting again: but,
any other person out there who is loony enough to be
mucking around with unicode might find the effects of
my 7th cup of coffee useful . . .  :)

I wrote:

-

This works:

on mouseUp
set the useUnicode to true
set the unicodeText of fld BLURB to the unicodeText of fld BLURB  
numToChar(2000)

select after fld BLURB
end mouseUp

this appends the unicode char 2000 to my textField

BUT this doesn't:

on rawKeyDown RAWK
 set the useUnicode to true
if RAWK = 0 then
  set the useUnicode to true
  set the unicodeText of fld BLURB to the unicodeText of fld 
BLURB  numToChar(2000)

  select after fld BLURB
   end if
   pass rawKeyDown
end rawKeyDown

this appends the ascii equivalent (i.e. rem 2000)

---

this ONLY doesn't work if the rawKeyDown value is 0  (zero).

So:

on rawKeyDown RAWK
 set the useUnicode to true
if RAWK = 49 then
  set the useUnicode to true
  set the unicodeText of fld BLURB to the unicodeText of fld 
BLURB  numToChar(2000)

  select after fld BLURB
   end if
   pass rawKeyDown
end rawKeyDown

works absolutely fine.
-

And to think that I never took any notice of my Philosophy
Prof. burbling on about the dangers of inductive reasoning!
___
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


Re: Grouping - unexpected behaviour

2009-09-21 Thread Richard Gaskin

Graham Samuel wrote:
If I group two images or two graphics (or maybe other objects - I  
haven't tried), where one image is totally within the bounds of the  
other (for example, one is 640 x 480 and the other is 120 x 120 and  
the loc of each is the same), then the group turns out bigger than  
than the larger of the two images! There seems to be an invisible  
margin of 4 pixels all the way around the group, making the group 8  
pixels wider and higher than the original largest image. Is this  
supposed to happen? I have not found a way to avoid it, and so if I  
want to maintain the size of my composite image I will have to crop  
it, which to me is totally unexpected. My group has no border, and  
AFAICS the boundingRect property has no influence on the situation.


Can anyone explain why this is happening?


A new group will have its margins set to 4 by default.  Setting the 
group's margins property to 0 after creation should take care of the issue.


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
___
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


Re: Full screen?

2009-09-21 Thread Ian Wood


On 21 Sep 2009, at 06:46, Arthur Rann wrote:


I bet I could do this with an AppleScript, so that's my next test...


I bet you can't. :-( If you can I'd love to hear about it.

For OS X there *used* to be a third-party command line app called  
cscreen which would set the screen resolution, but it disappeared  
several years ago. That was the only way I'm aware of for changing  
resolution on OS X via AppleScript (via a shell call, at that). There  
was an OSAX for OS 8-9, but that's pretty much irrelevant by now.


Even then, that changed the resolution in a way that would muck up all  
your other app windows and desktop layout.


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


RE: Full screen?

2009-09-21 Thread Jim Bufalini
Arthur Rann wrote:

 Hi,
 How do I make my RR stack run full screen? I don't want to stretch
 things to
 meet the screen, I want to enter a 'full screen mode' like most video
 games
 do, where it temporarily sets the user's monitor resolution to 1024x768
 or
 something like that.

This has been discussed many times over the years on this list including the
wisdom of changing a user's resolution, as well as different ways to do it
on PC and Mac. In Rev got to Help - Revolution Search Engine - Nable
(Selectable from the second tab) and then type screen resolution and the
green go button.

Aloha from Hawaii,

Jim Bufalini

___
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


Re: Grouping - unexpected behaviour

2009-09-21 Thread Mark Wieder
Richard-

Monday, September 21, 2009, 7:59:49 AM, you wrote:

 A new group will have its margins set to 4 by default.  Setting the
 group's margins property to 0 after creation should take care of the issue.

Or you could change the margins of the templategroup before creation
(and reset the templategroup afterwards).

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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


Re: Datagrid: speed question related to how it is working under the hood?

2009-09-21 Thread David Bovill
Thanks - great to know. Will use the API calls with abandon :)

2009/9/21 Trevor DeVore li...@mangomultimedia.com

 On Sep 21, 2009, at 8:37 AM, David Bovill wrote:

  ...
 *The questions:*
 If I uses set the dgDataOfIndex to update the display of an individual
 datagrid form record, does the underlying library only update the display
 associated with this one record, or does the library redraw all the
 currently displayed records?
 Would I be any better off speed wise directly setting the images /
 metadata
 of records using over using built in datagrid api calls?


 The data grid will only redraw the row you altered. If the row isn't
 visible on screen then an offscreen control is created in order to determine
 the new height of the row but that is it.

 Keep in mind that if you don't use the data grid apis the height of the row
 can't be updated and your scrolling will be off.

___
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


Vote to disable image copying from password protected stacks

2009-09-21 Thread capellan

Visit report 8251 to vote for disable image copy from
password protected stacks.

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

To copy an image from a password protected stack,
users just had to select the image and write
in the message box:
set the clipboarddata to the text of the selobj

Then, to paste the image in a new stack,
users create a new empty image object and
type in the message box:
set the text of the selobj to the clipboarddata

Using this method, i was able to copy gif animations
from a password protected stack.
-- 
View this message in context: 
http://www.nabble.com/Vote-to-disable-image-copying-from-password-protected-stacks-tp25323494p25323494.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


Re: Need a Slide rule. Was: Two questions about trev

2009-09-21 Thread AcidJazz

Dunbarx ,

I think it's cool!   When I first started using rev I thought surely I'm
overlooking something, because they can't possibly expect me to count
characters to figure out where the problem is... Okay, that sentence
makes me sound lazy, but I definitely think there's a need.  

-- AcidJazz 


-- 
View this message in context: 
http://www.nabble.com/Need-a-Slide-rule.-Was%3A-Two-questions-about-trev-tp25440293p25466104.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


Re: Vote to disable image copying from password protected stacks

2009-09-21 Thread Richmond Mathewson

capellan wrote:

Visit report 8251 to vote for disable image copy from
password protected stacks.

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

To copy an image from a password protected stack,
users just had to select the image and write
in the message box:
set the clipboarddata to the text of the selobj

Then, to paste the image in a new stack,
users create a new empty image object and
type in the message box:
set the text of the selobj to the clipboarddata

Using this method, i was able to copy gif animations
from a password protected stack.
  

Copy protection is always circumventable, so why bother?
___
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


Datagrid Drag and Drop

2009-09-21 Thread Josep

Hi List,

I need use drag and drop between datagrids and others objects, how to begin?
I need perform operations like exec sql sentences or print.

Any tip about how begin to handle this?


Salut,
Josep
-- 
View this message in context: 
http://www.nabble.com/Datagrid-Drag-and-Drop-tp25530401p25530401.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


Re: Full screen?

2009-09-21 Thread Jerry J

On Sep 20, 2009, at 10:46 PM, Arthur Rann wrote:


Hi,
So let me get this straight because I need to take this back with me  
to the
dev team. You're saying that there's no built in way to actually go  
full

screen, like most games do?


I have in the back of my alleged mind that there was a libKiosk (maybe  
by Andre Garzia) that took care of such details. I have some ideas  
that would want to use such a thing.


Was it just a hopeful dream?

--Jerry J

___
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


Re: Full screen?

2009-09-21 Thread Richmond Mathewson

Jerry J wrote:

On Sep 20, 2009, at 10:46 PM, Arthur Rann wrote:


Hi,
So let me get this straight because I need to take this back with me 
to the

dev team. You're saying that there's no built in way to actually go full
screen, like most games do?


I have in the back of my alleged mind that there was a libKiosk (maybe 
by Andre Garzia) that took care of such details. I have some ideas 
that would want to use such a thing.


Was it just a hopeful dream?

--Jerry J


BINGO:  http://www.andregarzia.com/libKiosk.html

I don't think it mucks about with screen resolution though.
___
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


RE: Vote to disable image copying from password protected stacks

2009-09-21 Thread Jim Bufalini
Capellan wrote:

 Visit report 8251 to vote for disable image copy from
 password protected stacks.
 
 http://quality.runrev.com/qacenter/show_bug.cgi?id=8251
 
 To copy an image from a password protected stack,
 users just had to select the image and write
 in the message box:
 set the clipboarddata to the text of the selobj
 
 Then, to paste the image in a new stack,
 users create a new empty image object and
 type in the message box:
 set the text of the selobj to the clipboarddata
 
 Using this method, i was able to copy gif animations
 from a password protected stack.

This is the way it has always been. The only thing protected is the scripts.
Things like images, properties and custom properties are not. Given that:

1. You can encrypt and decrypt the custom properties and images of a
protected stack from within the protected code of the stack itself.
2. Having these elements unprotected allows for updating the protected stack
without having to unlock and relock it and therefore can be done on a user's
machine. 
3. In the case of a library stack, the stack can use itself for storage and
be saved. 

I don't see what you are requesting as an advantage or desirable.

Aloha from Hawaii,

Jim Bufalini



___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Jérôme Rosat


Le 21 sept. 2009 à 01:36, Sarah Reichelt a écrit :


This is the price we pay for using a cross-platform tool.


I can’t share your point of view on this. I can't see the reason which  
prevents from creating a button which respects the Apple Human  
Interface Guidelines for example.



However you can set the font and with the new graphic effects, you can
make gradient buttons.


Of course I can, and I do it, but I prefer to spend time to develop,  
not to improve the elements of the interface.



Tool bars are easy enough to make yourself, although allowing the
standard customization would be a neat trick which I have never
bothered with. (I never have enough options to need it.)

Then you start running into the same issues that Rev has i.e. if you
make your app look too much like a standard Mac app, then it won't
look like a Windows app for Windows users, without a lot of effort on
your part. I think this is what profiles are good for, but I never
really got into using profiles.



Sorry, but personally, I prefer to make a standard Mac app that it  
won't look like a Windows app for Windows users than the opposite ;-)


Jérôme


Cheers,
Sarah
___
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


___
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


Re: Vote to disable image copying from password protected stacks

2009-09-21 Thread Jérôme Rosat


Le 7 sept. 2009 à 02:23, capellan a écrit :



Visit report 8251 to vote for disable image copy from
password protected stacks.

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

To copy an image from a password protected stack,
users just had to select the image and write
in the message box:
set the clipboarddata to the text of the selobj

Then, to paste the image in a new stack,
users create a new empty image object and
type in the message box:
set the text of the selobj to the clipboarddata

Using this method, i was able to copy gif animations
from a password protected stack.


Even if you protect a gif animations, you can copy it with a screen  
capture when you use the stack.


Jérôme


--
View this message in context: 
http://www.nabble.com/Vote-to-disable-image-copying-from-password-protected-stacks-tp25323494p25323494.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


___
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


Re: tab for next cell in DataGrid

2009-09-21 Thread Beat Cornaz

Thanks for your kind answers, Trevor.

On Sep 20, 2009, at 4:56 PM, Beat Cornaz wrote:



I repacked an application into the GLX framework and made new
datagrids. Now the TAB button does not move from an open cell  to
the next cell and open it anymore, as it did in my older copy (pre
GLX framework of this application).  How can I get that behavior
back? The Tab now closes the open cell and that's it.



Trevor wrote :
The GLX App Framework won't affect tabbing in data grids as it doesn't
process any tabkey messages.

Is it possible that an error is occurring in a CloseFieldEditor/
ExitFieldExitor or OpenFieldEditor message in your data grid?


I don't think that an error is occuring, as a test datagrid also has  
the same behavior (does not open the next cell on tabbing).
I want with the insertion point in an open cell, with a tabKey open  
the next cell on the same line (and close the one that was open). So  
fill in a cell, hit tabKey, fill in next cell, etc.
Is it a custom property I have to set? I don't think so, as I have  
not found it.

So I tried to write a handler in the datagrid grp script (see below).

I am sure that this is easy, but after a long search and many trys, I  
just can't find the last bit.


I have the following handler, which works ok.
I only need now to get the Column name of the open cell. How will I  
do that?
 dgHilitedLines gives me the LineNr, but how to get the name of the  
Column of the open cell ?


on rawkeyDown tkey
   if tkey = 65289then   -- tabkey
get the dgHilitedIndexes of grp datagrid 1
put it into tLineNr

--  HOW to get the Column Name of the open cell ??

--   for now to test the rest
  put Col 2 into tCol   
--
  set the dgHilitedLines of grp DataGrid 1  to tLineNr
  dispatch EditCell to group DataGrid 1  with tCol, tLineNr
-- et voila : on tabKey the next cell is opened
   end if

   pass rawkeyDown
end rawkeyDown



Many thanks  warm greetings,

Beat Cornaz

___
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


Embedded switches?

2009-09-21 Thread Richmond Mathewson

I have to use either:

1. A multi-case switch statement with many sub-switch statements inside it,

or

2. A multi-case switch statement with many IF . . . THEN statements 
inside it,


or

3. Many IF . . . THEN statements with many IF . . . THEN statements 
inside them.


Number 3. is obviously going to slow things down a ton!

Should I choose 1. or 2 ?  and why?
___
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


Re: Embedded switches?

2009-09-21 Thread Mark Wieder
Richmond-

Monday, September 21, 2009, 12:48:58 PM, you wrote:

 I have to use either:

 1. A multi-case switch statement with many sub-switch statements inside it,

 or

 2. A multi-case switch statement with many IF . . . THEN statements 
 inside it,

 or

 3. Many IF . . . THEN statements with many IF . . . THEN statements 
 inside them.

 Number 3. is obviously going to slow things down a ton!

Actually there's no speed penalty for if/then vs switch constructs.
They compile down to the same comparisons. If you're going to be
applying the same tests repeatedly then you may find a negligible
difference, but overall I wouldn't worry about this.

 Should I choose 1. or 2 ?  and why?

I usually find that switch statements are more readable after the fact
than nested ifs, but others may have other opinions about this.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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


Re :I need to blink and carry on !

2009-09-21 Thread Francis Nugent Dixon

Hi from Paris,

Thanks Stephen, thanks Jim - problem solved !

-Francis





___
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


Re: rawKeyDown and Unicode

2009-09-21 Thread Sarah Reichelt
I would suggest trying it without passing the rawKeyDown message if  
you have already handled it i.e. if RAWK = 0


Cheers,
Sarah


Sent from my iPhone

On 21/09/2009, at 11:17 PM, Richmond Mathewson richmondmathew...@gmail.com 
 wrote:



'Tis michty queer:

This works:

on mouseUp
set the useUnicode to true
set the unicodeText of fld BLURB to the unicodeText of fld BLURB  
 numToChar(2000)

select after fld BLURB
end mouseUp

this appends the unicode char 2000 to my textField

BUT this doesn't:

on rawKeyDown RAWK
 set the useUnicode to true
if RAWK = 0 then
  set the useUnicode to true
  set the unicodeText of fld BLURB to the unicodeText of fld  
BLURB  numToChar(2000)

  select after fld BLURB
   end if
   pass rawKeyDown
end rawKeyDown

this appends the ascii equivalent (i.e. rem 2000)

a richt scunner!

Any helpful suggestions welcomed with open arms . . .  :)

sincerely, Richmond.
___
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

___
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


[teaser2] Mac OS X external

2009-09-21 Thread Steve Checkley

This is awesome! Can't wait for the finished article.

Steve

___
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


Re: Grouping - unexpected behaviour

2009-09-21 Thread Graham Samuel
Richard to the rescue again - thanks! IMHO the default setting of  
margins should be explained in some other place than under 'margins',  
because if you don't know what a margin is or that it exists for a  
group, you're stuffed. I have submitted a note to the docs for the  
'group' command.


Graham

On 21 Sep 2009, at 19:00, use-revolution-requ...@lists.runrev.com wrote:


Message: 16
Date: Mon, 21 Sep 2009 07:59:49 -0700
From: Richard Gaskin ambassa...@fourthworld.com
Subject:
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: 4ab794e5.8010...@fourthworld.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Graham Samuel wrote:

If I group two images or two graphics (or maybe other objects - I
haven't tried), where one image is totally within the bounds of the
other (for example, one is 640 x 480 and the other is 120 x 120 and
the loc of each is the same), then the group turns out bigger than
than the larger of the two images! There seems to be an invisible
margin of 4 pixels all the way around the group, making the group 8
pixels wider and higher than the original largest image. Is this
supposed to happen? I have not found a way to avoid it, and so if I
want to maintain the size of my composite image I will have to crop
it, which to me is totally unexpected. My group has no border, and
AFAICS the boundingRect property has no influence on the situation.

Can anyone explain why this is happening?


A new group will have its margins set to 4 by default.  Setting the
group's margins property to 0 after creation should take care of the  
issue.


--


___
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


Re: Embedded switches?

2009-09-21 Thread Sarah Reichelt
On Tue, Sep 22, 2009 at 5:48 AM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 I have to use either:

 1. A multi-case switch statement with many sub-switch statements inside it,

 or

 2. A multi-case switch statement with many IF . . . THEN statements inside
 it,

 or

 3. Many IF . . . THEN statements with many IF . . . THEN statements inside
 them.

 Number 3. is obviously going to slow things down a ton!

 Should I choose 1. or 2 ?  and why?


My usual rule is to use if for 2 or 3 options and switch if there
are more optins.
You can apply that to your embedded decisions also.
I don't think you will notice much speed difference either way, so
concentrate on making readable code that you can understand when you
come back to it in a year's time.

Cheers,
Sarah
___
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


Re: [teaser2] Mac OS X external

2009-09-21 Thread Sarah Reichelt
On Mon, Sep 21, 2009 at 11:50 PM, Shao Sean shaos...@wehostmacs.com wrote:
 I was hoping to have this fully working today before bed but it is not going
 to happen :-(
 Thank you for all the support during the development and work continues on
 adding new features so here is a sneak peek at what I was doing tonight..

 http://revdevelop.com/images/ssMacWindows2.png


Looking great. Having the blob at the top right to toggle the toolbar
would be another great feature.

Cheers,
Sarah
___
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


Re: [teaser] Mac OS X external

2009-09-21 Thread Sarah Reichelt
 This is the price we pay for using a cross-platform tool.

 I can’t share your point of view on this. I can't see the reason which
 prevents from creating a button which respects the Apple Human Interface
 Guidelines for example.

Like you I am a Mac person, but as developers, we have to recognise
that the majority of computers still run Windows.
From RunRev's point of view, it would be commercial suicide to have
their default look to be completely Apple HIG compliant, since this
would make them very un-Windows like.
They have done an excellent job of making default interface objects
that look reasonably good on all platforms, but if you really want the
Mac look  feel, the you will either have to develop your own custom
buttons, or switch to programming in XCode where the Interface Builder
does everything in pure Mac mode.


 Sorry, but personally, I prefer to make a standard Mac app that it won't
 look like a Windows app for Windows users than the opposite ;-)

That is purely a personal and commercial decision. No need to
apologise for it :-)

Cheers,
Sarah
___
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


Re: [teaser2] Mac OS X external

2009-09-21 Thread Shao Sean
Looking great. Having the blob at the top right to toggle the  
toolbar would be another great feature.


it is there and it does work :)
___
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


mouseRelease in Rev 4.0

2009-09-21 Thread Sarah Reichelt
I am working on an app that allows users to drag across a series of
controls in order to operate on each one in turn when the mouse button
comes up.
I build a list of the selected controls by checking the mouseMove
messages and on a mouseRelease (since the mouse pointer is no longer
over the object that received the mouseDown), I loop through the list
of selected controls and do what I need.
This is working perfectly in Rev 3.0  3.5.
In Rev 4.0, it's as if the mouseRelease message is only sent
sometimes. especially, it doesn't seem to happen if I move too fast,
but if I drag, then hover over the last control for a bit, then it
works.

Has anyone else noticed anything like this?
And if so, is there a work-around?

I need to re-write the code to take advantage of behaviors. Doing
things a different way may avoid the problem, but it would be nice to
solve anyway.

Cheers,
Sarah
___
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


Re: mouseRelease in Rev 4.0

2009-09-21 Thread J. Landman Gay

Sarah Reichelt wrote:


In Rev 4.0, it's as if the mouseRelease message is only sent
sometimes. especially, it doesn't seem to happen if I move too fast,
but if I drag, then hover over the last control for a bit, then it
works.

Has anyone else noticed anything like this?
And if so, is there a work-around?


I haven't noticed it in Rev but I see it constantly in the OS X Finder 
and other apps lately (and I'm not on Snow Leopard yet, so it must have 
been something in a recent system update.) Sometimes the file I'm 
dragging sticks to the mouse even after I've let up on the button and 
the ghost file moves around with the mouse until I click again. Very 
irritating. So maybe it isn't Rev's fault?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
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


Re: F keys cross-platform?

2009-09-21 Thread Bill Vlahos

Jim,

Is there a list of common keyboard assignments like this?

Bill Vlahos

On Sep 19, 2009, at 10:15 AM, Jim Bufalini wrote:


Richmond Mathewson:


As rawKeyDown doesn't pick up
keydowns such as SHIFT on Macintosh
I am thinking of using F keys (specifically F1 and F2)
to state-change in the Beta 2 version of my
Sanskrit typewriter and wonder if using these
2 keys will make things go all wobbly on
Windows?



F1 is universally used by all programs on PC as the Help key, so I  
wouldn't
use it for any other purpose than to launch your help, as a typical  
Windows
user would expect this. Other raw function keys have different  
meanings
depending on keyboard or program. However, to the best of my  
knowledge,
keystrokes are only sent to the top window. So if your application  
is the
top window, you can interpret the key any way you want. If your app  
is not

on top, it won't receive the keystroke.

Aloha from Hawaii,

Jim Bufalini

___
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


___
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