Re: matchChunk works?

2010-11-19 Thread JosepM

Hi,

Not for me, well, the sample code work but this not. Why?

LOCAL startMatch, endMatch 
on mouseUp 
      PUT fld f_friends into VAR1 
  put fld f_look_for_friends into tDestino
      PUT EMPTY INTO startMatch 
      PUT EMPTY INTO endMatch 
      PUT matchChunk(VAR1,(tDestino),startMatch, endMatch) INTO VAR2 
      put VAR2  startMatch  endMatch 
end mouseUp 

Ever I get startMatch and endMatch to empty...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/matchChunk-works-tp620097p3050334.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


Groups as background

2010-11-18 Thread JosepM

Hi,

I have a stack with 3 card that have a group background as menu for all
the cards. Now I modified the group and add some cards more. All the cards
have different groups and the changes aren't replicated.

Why? How solve this? recreate again all the cards with delete and
copypaste?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Groups-as-background-tp3048672p3048672.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: Groups as background

2010-11-18 Thread JosepM

Oh... thanks,... has already started going crazy .. I did not know you could
do this way. :)


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Groups-as-background-tp3048672p3048928.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 help with windows chars and mac chars

2010-11-09 Thread JosepM

Hi Mark,

The database is already in UTF8, so the problem is in how characters are
converted. Surely the problem is this.

Salut,
Josep

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Need-help-with-windows-chars-and-mac-chars-tp3032843p3033358.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


PDF with digital certificates

2010-11-09 Thread JosepM

Hi,

Any experience creating PDF with a digital certification? better insert the
certification into a PDF. 


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/PDF-with-digital-certificates-tp3033365p3033365.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


Need help with windows chars and mac chars

2010-11-08 Thread JosepM

Hi everyone,

I made a mess with the coding of characters between windows - mac and mac -
windows.

I have a function that encrypts a word and then validates the encrypted word
with the value of the database. In Mac is working properly, but Windows
doesn't. The value produced in Windows encryption has nothing to do with the
Mac. I know the characters differences... but I'm lost. :(

The word is demo, without accents or unusual characters.

What am I missing? Should I convert from Windows with ISOtoMac function?
Also doesn't work.

Any ideas?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Need-help-with-windows-chars-and-mac-chars-tp3032843p3032843.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: Datagrid error when set to empty

2010-11-05 Thread JosepM

Hi,

The stack was password protected but it worked properly, then added a new
grid and that's when the problems have started.


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3028745.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: Datagrid error when set to empty

2010-11-05 Thread JosepM

I'm using GLX framework, don't do it automatically? At least until now has
worked fine.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3029019.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: [ANN] scrolling list field for iPhone

2010-11-05 Thread JosepM

Hi Bernd,

It's perfect! I test with the simulator and it's very impresive.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-scrolling-list-field-for-iPhone-tp3028978p3029044.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


Datagrid error when set to empty

2010-11-04 Thread JosepM

Hi,

I have a strange issue with a datagrid that set the dgdata to empty.
In IDE mode the app run fine but from the standalone I get this error.

Any idea?


Type: Object (property is not an integer)
Object name: dg_compras
Line:(row 0 col 0)
Hint: -8

Type: Chunk (can't set property)
Object name: dg_compras
Line:(row 4128 col 20)
Hint: 

Type: Object (can't set object property)
Object name: dg_compras
Line:(row 4128 col 5)
Hint: -8

Type: set (can't set property)
Object name: dg_compras
Line:(row 4128 col 1)
Hint: -8

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 4128 col 1)
Hint: _table.CreateDefaultHeaderGroup

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: button id 1005 of group id 1004 of card id 1002 of stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev

Type: Handler (can't find handler)
Object name: dg_compras
Line:(row 4049 col 1)
Hint: 

Type: if-then (error in statement)
Object name: dg_compras
Line:(row 4048 col 1)
Hint: 

Type: if-then (error in statement)
Object name: dg_compras
Line:(row 4047 col 1)
Hint: 

Type: repeat (error in statement)
Object name: dg_compras
Line:(row 4045 col 1)
Hint: 

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 4045 col 1)
Hint: _table.CreateHeaders

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: button id 1005 of group id 1004 of card id 1002 of stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev

Type: Handler (can't find handler)
Object name: dg_compras
Line:(row 3951 col 1)
Hint: 

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 3951 col 1)
Hint: _table.CreateColumns

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: button id 1005 of group id 1004 of card id 1002 of stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev

Type: Handler (can't find handler)
Object name: dg_compras
Line:(row 151 col 1)
Hint: 

Type: if-then (error in statement)
Object name: dg_compras
Line:(row 150 col 1)
Hint: 

Type: if-then (error in statement)
Object name: dg_compras
Line:(row 113 col 1)
Hint: 

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 113 col 1)
Hint: _Initialize

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: button id 1005 of group id 1004 of card id 1002 of stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev

Type: Handler (can't find handler)
Object name: dg_compras
Line:(row 4512 col 18)
Hint: 

Type: if-then (error in statement)
Object name: dg_compras
Line:(row 4512 col 1)
Hint: 

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 4512 col 1)
Hint: dgData

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: button id 1005 of group id 1004 of card id 1002 of stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/revdatagridlibrary.rev

Type: Chunk (can't set property)
Object name: dg_compras
Line:(row 1362 col 19)
Hint: 

Type: Object (can't set object property)
Object name: dg_compras
Line:(row 1362 col 4)
Hint: 

Type: set (can't set property)
Object name: dg_compras
Line:(row 1362 col 1)
Hint: 

Type: Handler (error in statement)
Object name: dg_compras
Line:(row 1362 col 1)
Hint: uiNewProveedor

Type: Objec (Name:)
Object name: dg_compras
Line:(row 0 col 0)
Hint: stack
/Users/Joss/Desktop/facturamac_v2010/1.0.5rc16/Development/MacOS/facturamacGLX.app/Contents/MacOS/components/s_main_productos_v1.rev

Type: Handler (can't find handler)
Object name: dg_compras
Line:(row 2 col 1)
Hint: uiNewProveedor
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-error-when-set-to-empty-tp3027651p3027651.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: LiveCode applications accepted in iOS App Store

2010-10-27 Thread JosepM

Congratulations Kevin!
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LiveCode-applications-accepted-in-iOS-App-Store-tp3014319p3016178.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: Https, sslVerification, certificates - huh?

2010-10-27 Thread JosepM

Hi,

One question about SSL and shared hostings plans. My host show a shared SSL
with mySQL databases, but I don't know how test this kind of connection. Any
idea or experience?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Https-sslVerification-certificates-huh-tp3009916p3016189.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: [ANN] Data Grid Helper - What is it? - Text rewrote

2010-10-13 Thread JosepM

Nice!
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Data-Grid-Helper-What-is-it-Text-rewrote-tp2970457p2993429.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: RevMobile Discussions

2010-10-04 Thread JosepM

Yes.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RevMobile-Discussions-tp2952452p2953939.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


Launch app from MacOSX system bar

2010-10-02 Thread JosepM

Hi,

It's posible to launch one app from the system bar like, for example
DropBox, Evernote...

Any experience? I remember read something in some post but I don't found...

Salut,
Josep M
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952429.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: Launch app from MacOSX system bar

2010-10-02 Thread JosepM

Hi Mark,

I want create a custom icon that launch my standalone. I see that I must
create a menulets, isn't?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952451.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: Launch app from MacOSX system bar

2010-10-02 Thread JosepM

Hi Mark,

And how I put the standalone into de status bar as status item? As
NSStatusItem?

Maybe I don't explain myself or I don't understand you..., I refer to put
the item to the status bar as Airport icon, Monitor icon, the time, the
spotlight, and clicking from this show options and one of them was launch
the standalone...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952511.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: Launch app from MacOSX system bar

2010-10-02 Thread JosepM

Hi,

So, Menulets power!, well, now I have compiled my Xcode project that put one
awesome icon into the menubar :)

Now the question (I'm newbie) how call my standalone from the IBAction?

If anyone want the xcode project to play with sendme a email.


Salut,
Josep M
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952776.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: [OT] Do You Like To Play Games?

2010-09-28 Thread JosepM

Hi,

Nice intro.. my iPad is on the way... :)

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Do-You-Like-To-Play-Games-tp2717643p2717999.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: Where can I found the Shaosean libs?

2010-09-24 Thread JosepM

I don't kow this... I send a email.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Where-can-I-found-the-Shaosean-libs-tp2552883p2553157.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: The Scripter's Scrapbook (was: Online Snippets library)

2010-09-24 Thread JosepM

Yes, I ever meshed with the upgraded foldersme... :/

I download the ssbk and work like a charm.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/The-Scripter-s-Scrapbook-was-Online-Snippets-library-tp2551700p2553159.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: The Scripter's Scrapbook (was: Online Snippets library)

2010-09-23 Thread JosepM

Hi Hugh,

I tryed to update to the last version, but the app is hang up, and still
Startup...

Exactly what I must do after update and see the NEW Scripter's Scrapbook? I
have version 5.2.16, inside the 5.2.17 and now inside of this the 5.2.19...
:(
Only I can use the 5.2.16...

Salut,
Josep M
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/The-Scripter-s-Scrapbook-was-Online-Snippets-library-tp2551700p2552309.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: Open printing to PDF bug?

2010-09-23 Thread JosepM

This work for me, without change the exact size of the elements, but l lost
about 2 cm at the bottom of the page.
I need to force the stack size and move to some position that I can edit
later, so if I use it in my laptop the stack is resized and when I print the
PDF only show the visible area of the stack. The idea is make this stack
invisible.

Put the margin to 0 left about 2 cm at top and at bottom, left and right are
about 1cm...

on mouseUp
   set the location of this stack to 600,600
   set the width of this stack to 595
   set the height of this stack to 842
   
   set the printPaperSize to 595,842
   put 595,842 into thePaperSize
   
   put 0 into theMargin
   
   -- get the page area:
   set the printMargins to theMargin,theMargin,theMargin,theMargin
   -- put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
thePaperSize - theMargin into destinationRect
   -- print into that rectangle:
   open printing to pdf /Users/joss/Desktop/card_test.pdf
   print this card --into destinationRect
   close printing
   
end mouseUp

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2552864.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


Where can I found the Shaosean libs?

2010-09-23 Thread JosepM

Hi,

Some time ago I saw in the Shaosean's website that he had a interesting
libraries and stacks. Often I check their website but I don't found any.

It's posible locate the FTP and SMTP libraries?


Salut,
Josep 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Where-can-I-found-the-Shaosean-libs-tp2552883p2552883.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


Print card

2010-09-22 Thread JosepM

Hi,

I have a problem that I can't see how to solve...

I have a card sized to A4
I put some graphics and texts into the card and print to pdf. All run fine
and the size of the graphics are exactly.

Now I try to print from a laptop, and the stack is smaller, and the printed
zone is the viewed zone. I read to adapt the printsize to the A4 but the
last lines or the bottom zone of the card appear cutted.

Any idea why?



Salut,
Josep 

   
   set the printPaperSize to 595,842
   set the printMargins to 0,0,0,0 
   open printing to pdf card_test.pdf
   
   print card 1 from 0,0 to 595,900 --from 0,0 to 595,842 --into pagerect
   close printing


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Print-card-tp2550070p2550070.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: Open printing to PDF bug?

2010-09-22 Thread JosepM

Hi folks,

My tests...

put 595,842 into thePaperSize
put 20 into theMargin

-- get the page area:
set the printMargins to theMargin,theMargin,theMargin,theMargin
put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
thePaperSize - theMargin into destinationRect
-- print into that rectangle:
open printing to pdf /Users/joss/Desktop/card_test.pdf
print this card into destinationRect
close printing

With 20 into the margin is the best aproximation, some graphics inside are
a little small, so I print for a card game, and I need that the card have
the exact size. If I down the margin I get the real size but the bottom is
cutted.

Any idea?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2550844.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: Open printing to PDF bug?

2010-09-22 Thread JosepM

Now I see that in relation to the width and height of the stack the PDF
change the width and the height... :(
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2550927.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: Open printing to PDF bug?

2010-09-22 Thread JosepM

Any help? :)
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2551168.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


New Apple comunicate relax restrictions

2010-09-10 Thread JosepM

Hi,

Today I read this:

We are continually trying to make the App Store even better. We have
listened to our developers and taken much of their feedback to heart. Based
on their input, today we are making some important changes to our iOS
Developer Program license in sections 3.3.1, 3.3.2 and 3.3.9 to relax some
restrictions we put in place earlier this year.

In particular, we are relaxing all restrictions on the development tools
used to create iOS apps, as long as the resulting apps do not download any
code. This should give developers the flexibility they want, while
preserving the security we need.

http://www.apple.com/pr/library/2010/09/09statement.html

This mean that RevMobile for iPhone/iPad is posible?


Salut,
Josep M
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/New-Apple-comunicate-relax-restrictions-tp2533932p2533932.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: DATAGRID dgDragImageIndex problem

2010-07-30 Thread JosepM

Thanks! 

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2307715.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: Preference menu in Danish

2010-07-23 Thread JosepM

But if you change the name? I changed the name and no more appear in the
Application menu...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Preference-menu-in-Danish-tp305650p2300076.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: Preference menu in Danish

2010-07-23 Thread JosepM

But If I changed the name? How can restore it? I put again to Resources but
don't appear... 
Maybe the easy way is to create again and copy/paste the code... :(

It's a question for understand why this happen and how to solve...

Salut,
Josep 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Preference-menu-in-Danish-tp305650p2300726.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: DATAGRID dgDragImageIndex problem

2010-07-22 Thread JosepM

Sended... :)
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2299493.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: Preference menu in Danish

2010-07-22 Thread JosepM

Hi,

I have the preferences menu inside the Edit menu, but I want it into the
usual MacOSX preferences.

How to change it?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Preference-menu-in-Danish-tp305650p2299508.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: DATAGRID dgDragImageIndex problem

2010-07-21 Thread JosepM

button Data Grid: compilation error at line 305 (export: missing 'to'),
char 26


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296732.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: DATAGRID dgDragImageIndex problem

2010-07-21 Thread JosepM

Hi Trevor,

The point of change is when launch some report with the preview option, not
the Quartam Report app, and the image replaced is one inside the report.

For if this can help to solve this strange issue...
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2297057.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


DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Hi List,

I have a problem with dgDragImageIndex, at first dragdrop operations the
image is correct, some one after the image change to any random, and no more
show the correct image for the row selected.

Any idea?


on dragStart
   
   put the dgIndex of the dgDataControl of the target into theIndex 
   
--   set the dgDragImageIndex of me to theIndex 
   set the dragData[private] to data grid row  cr  theIndex

   ## Tell Data Grid to track drag reordering 
   --set the dgTrackDragReorder[theIndex] of me to true
end dragStart 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2295566.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Hi,

set the dgDragImageIndex of me to the ID of image dgDragImage of me

Now no image is showed... :(



Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2295711.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Hi,

Still the same, show other image... :/   buff...


put the dgIndex of the dgDataControl of the target into theIndex 

set the dgDragImageIndex of me to theIndex 

I don't see how refer to the dgDragImage
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2295737.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Yes, this is that I do, but the image is empty...

The script:

on dragStart
   
   put the dgIndex of the dgDataControl of the target into theIndex 
   
   --set the dgDragImageIndex of me to theIndex 
   set the dgDragImageIndex of me to the id of the image dgDragImage of me 
   set the dragData[private] to data grid row  cr  theIndex
   
   ## Tell Data Grid to track drag reordering 
   --set the dgTrackDragReorder[theIndex] of me to true
   
   
end dragStart 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2295787.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Hi,

If the values are the same then the dragImage is being assigned   
properly. 

The values are the same.

Next confirm that the image has the data you expect. 

The image is different.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296114.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

 And what does it look like? Does it look like what you are seeing   
 while dragging or something else? 

It's the same that I see when dragging. But this isn't the row image.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296143.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

I modified the script but nothing happen, almost I don't see any in the msg..

I edited and saved it but nothing.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296184.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

 And is it the image of another row? Always the same image? 

No, the image don't belong to any row. Always the same image.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296189.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Yes, I'm using a Form.. :(
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296252.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: DATAGRID dgDragImageIndex problem

2010-07-20 Thread JosepM

Yes, the first time I use drag drop operations.

Yes, I have other datagrids in others cards of this stack.

It's strange. If I restart the IDE, the drag image is correct until I load
the preview of Quartam Reports, then one image used into the report is that
replace the drag image.


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DATAGRID-dgDragImageIndex-problem-tp2295566p2296338.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: Timer Pause script

2010-07-12 Thread JosepM

Thanks! Now I see how... :P  

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2286767.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: Timer Pause script

2010-07-10 Thread JosepM

Hi,

After debug, still without see the solution, the time is paused but still
running... and when I resume after the pause get the whole time.

--reset the startSeconds to the current seconds less the time already on the
timer. 
 put the seconds into tSeconds
 subtract tElapsed from tSeconds
 put tSeconds into startSeconds

Any idea why?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2284474.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: Timer Pause script

2010-07-10 Thread JosepM

Hi,

When I press the pause button, the updateProgress message is stoped and no
more call until I resume it... 
No message pending... 


Salut,
Josep

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2284483.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


Timer Pause script

2010-07-09 Thread JosepM

Hi,

I'm blocked :( with this... 
I try to start and stop a timer but with a pause button to pause the time
and continue again once the pause button is pressed again.

I have two buttons, button b_timming and button b_pause
Also some graphics to show the button icons and display.
The start and stop it's fine, but I don't see how pause and continue where
the time was stoped... 

Salut,
Josep

Script for button b_timming

Local  tDuration, lTime
Local lStart
Global gPause,startSeconds
on mouseUp
   
   if lStart is 1 then
  # Stop time
  
  set the visible of graphic gr_play to false
  set the visible of group gr_pause to false
  put false into gPause
  set the icon of button b_timming to 1023
  set the hiliteicon of button b_timming to 1024
  
  put 0 into lStart
  put lTime into fld countdown
  answer lTime
   else
  # Start time
  
  set the visible of graphic gr_play to true
  
  set the icon of button b_timming to 1012
  set the hiliteicon of button b_timming to 1013
  
  put 1 into lStart
  put the seconds into startSeconds
  
  updateProgress
   end if
end mouseUp


on updateProgress
   if lStart is 1 then
  if gPause is false then
 set the visible of group gr_pause to false
 
 put (the seconds - startSeconds) into tElapsed
 
 put padNum(tElapsed div (60*60)) into tHours
 put padNum(tElapsed div 60) into tMins
 put padNum(tElapsed mod 60) into tSecs
 
 put tHours  :  tMins  :  tSecs into fld countdown
 put tHours  :  tMins  :  tSecs   into lTime
 put 0 into tElapsed2
 send updateProgress to me in 5 ticks
  else
 set the visible of group gr_pause to true
  end if
   end if
end updateProgress

# this function just makes the time units look pretty by inserting a zero
before single digits
function padNum pNum
  if the length of pNum = 1 then
return 0  pNum
  else 
return pNum
  end if
end padNum

Script for button b_pause

Global gPause,startSeconds

on mouseUp
   if gPause is true then
  put false into gPause
  send updateProgress to button b_timming in 5 ticks
   else
  put true into gPause
  put the seconds into startSeconds
   end if
   
end mouseUp
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2284161.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


What about the new language from Apple?

2010-07-06 Thread JosepM

Hi,

I read some post about a new language that will be replace the Objective-c
called xLang.

Any idea? This can affect the next releases of Rev?

http://9to5mac.com/node/19165


We’re leaving this one open to the floor for comment, but would like to note
that operating systems must also grow, and development environments must
continue to re-invent themselves as rationale to give this one air time, but
there's a rumor Apple's developing a new dev language to succeed
Objective-C...
DF reports via Michael Tsai one Jesper, who writes:

“After watching the eminently early and freely available WWDC 2010 session
videos, I think my scales have finally tipped. It is my belief that Apple is
definitely working on a new language to surpass Objective-C as their
intended, primary, publicly recommended programming language, which I will
call “xlang”.”

Clang, according to Wikipedia,  is a compiler front end for the C, C++, and
Objective-C programming languages. It uses the Low Level Virtual Machine
(LLVM) as its back end. Its goal is to offer a replacement to the GNU
Compiler Collection (GCC). Development is sponsored by Apple, and the source
code is licensed using a BSD-like open-source license.

This could be part of the company’s plans as developers seem to be beginning
to wax lyrical on how Objective-C may need tweaking.  

Your thoughts?
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.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


Datagrid click and set background color for a column

2010-06-23 Thread JosepM

Hi,

How can I change the background color of a cell of a datagrid by clicking
in?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-click-and-set-background-color-for-a-column-tp2265290p2265290.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: Datagrid click and set background color for a column

2010-06-23 Thread JosepM

Thanks.

And how to change these color in function of the value of other col in the
same row? Well, I know how to get the value but the problem is that I don't
know the name of the column, so the array is created in function of the
position.

Sample:

put 1 into myArray[1][Value 1]
put 2 into myArray[2][Value 2]
put 3 into myArray[3][Value 3]
put 4 into myArray[4][Value 4]

These values aren't visibles into the datagrid
put red into myArray[1][Color 1]
put red into myArray[2][Color 2]
put green into myArray[3][Color 3]
put black into myArray[4][Color 4]

I need change the color of Value X in function of the value of Color X

How to get the columnIndex into the FillData?


I must to show visually values using a multidimension array, so what is
better?

1) Create one array with X dimensions and load all into the datagrid,
showing only one column and the others are not visibles and changing in
function of these others values. Columns needed 40 visible to the user by 20
rows, and 80 aditional rows no visibles to the user. So 120 columns by 20
rows. I say this for performance, and inside of each of visibles cells I
have some images that must be visibles or not in function of the data of
others cols.

2) Create one array with 1 dimension and putting the values separated with
# (for example) and into the FillData using setitemdel to get the values
and perform the operations.

put 1#Red#128,128,50 into myArray[1][Col 1]
put 2#Red#128,50,50 into myArray[1][Col 1]
put 3#Green#50,128,50 into myArray[1][Col 1]
put 4#Yellow#32,32,50 into myArray[1][Col 1]

Thoughts?

Salut,
Josep




-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-click-and-set-background-color-for-a-column-tp2265290p2265951.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: Datagrid column/cell coloring

2010-06-23 Thread JosepM

Hi Jim,

Maybe you can customize the behavior for the columns that need to colorize.
In the columns options at bottom you have one button to add a custom
behavior for the selected col. Change the FillData for the column.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring-tp2260342p2266364.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: Datagrid lost focus to next cell

2010-06-21 Thread JosepM

Hi Trevor,

So in the EditValue left only one?

command EditValue 
if there is a field 1 of me then 
EditFieldText the long id of field 1 of me, the dgIndex of me, the
dgColumn of me 
EditFieldText the long id of field 1 of me, the dgIndex of me, the
dgColumn of me 
end if 
end EditValue 



Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-lost-focus-to-next-cell-inside-a-group-tp2260851p2263341.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


Shell command return 255

2010-06-20 Thread JosepM

Hi,

From the DiagramCreator of Chipp I search info about graphicViz and I
discovered the dot command to create diagrams on the fly from the Terminal.

Trying to execute a command with the shell in MacOSx... from the terminal
the command run ok and create the graphic without any problem, but from the
rev only I get a 255 exit code that (I think) is an error, but I don't know
why...

Frist I change the path from /bin/sh to /usr/local/bin, so by default
the dot command isn't found.

The code:

set the shellCommand to /usr/local/bin 
put (dot -Tjpg /users/joss/desktop/test-01.dot -o
/users/joss/desktop/test-01-grafic.jpg) into tCommand 
get shell(tCommand)
answer the Result


Any idea why?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Shell-command-return-255-tp2262032p2262032.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: Shell command return 255

2010-06-20 Thread JosepM

Hi,

Reply myself... and explain a little so I think can be usefully for
others...

The solution is that we must specify from where we want exec the command.

MacOSX Shell execute by default from the shell /bin/sh, that isn't the
shell from the Terminal, so testing commandlines from the terminal that
produces correct results, from the shell can produce error.

How to know from where the command is executed. In terminal put which
command, and we get the entire path to the command.
To test from the shell /bin/sh into the Terminal. Put /bin/sh and press
enter. Now we are in the same shell that is called from shell and from Rev.
Test your command here, if here is ok, copy the commandline and exec from
Rev. Put exit to return to your normal shell into the Terminal.

In my case the correct commandline for exec from /bin/sh.

put (/usr/local/bin/dot -Tjpg -o /users/jos/desktop/graph.jpg
/users/jos/desktop/test01.dot) into tCommand

Shell in Rev return the exit code into the Result and the error message
into the it. Checking both you can view the error code and error message.
But if you specify a incorrect path the shell, then return empty and no
action success, while testing the same commandline into the Terminal shell,
can produce a correct result, confusing yourself. :)
 

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Shell-command-return-255-tp2262032p2262051.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: Datagrid lost focus to next cell

2010-06-19 Thread JosepM

Hi Zryip,

Thanks for your solution :) 

3) At last, remove the dim focus behavior by executing this script: 

set the dgProp[dim on focusOut] of grp MyDataGrid to true 

I don't understand this last step.. only duplicating the line run fine. 


Salut,
Josep




-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-lost-focus-to-next-cell-inside-a-group-tp2260851p2261224.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: Datagrid column/cell coloring

2010-06-18 Thread JosepM

Hi,

Check this lesson, you can found how to color cells and control the data.

http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell-
4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- 


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring-tp2260342p2260834.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


Datagrid lost focus to next cell

2010-06-18 Thread JosepM

Hi,

I have a datagrid inside a group. I add a row and doubleclick to edit the
cell value, and pressing tab key jump to the next cell. But If I fill some
value and press tab, the next cell is edit but lost the focus and the
datagrid still in edit mode but without the focus.

Why? The same datagrid with the group run fine.


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-lost-focus-to-next-cell-tp2260851p2260851.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: Reports?

2010-06-16 Thread JosepM

Hi,

Valentina Reports work with mySQL and SQLite? Where can I see some video or
sample using this databases and running the report from Rev?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Reports-tp2256615p2257696.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: Problem with revCopyFile

2010-06-14 Thread JosepM

Hi,

I get the same problem and I solved using a shell copy command.

put your folder path A into tFolderA
put your folder path B into tFolderB

put (cp -R -p quotetFolderAquotequotetFolderBquote) into tCommand 
get shell(tCommand) 

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Problem-with-revCopyFile-tp2253990p2254104.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: Problem with revCopyFile

2010-06-14 Thread JosepM

Hi John,

With -R param the command cp copy folders and subfolders. I must use in this
way so I needed to copy bundle file, that inside them have any folders. I
don't test with folders and subfolders but I guess that work without
problem.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Problem-with-revCopyFile-tp2253990p2254158.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: Datagrid with option menu filled from database

2010-06-14 Thread JosepM

Thanks!

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-with-option-menu-filled-from-database-tp2253060p2254394.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: Datagrid with option menu filled from database

2010-06-13 Thread JosepM

Hi,

I put the option menu data load into the preopenstack, accessing directly to
the datagrid template xx.
I guess that is correct, isn't?


Salut,
Josep 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-with-option-menu-filled-from-database-tp2253060p2253334.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


Datagrid with option menu filled from database

2010-06-12 Thread JosepM

Hi List,

I have a question with the datagrid and the option menu.

How can I assign values to the option menu from a database when the stack is
open?
It's posible or affect the datagrid performance? where is the best place to
put the loading code?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-with-option-menu-filled-from-database-tp2253060p2253060.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: Scanning barcodes

2010-06-11 Thread JosepM

Hi,

I used the Metrologic Vogayer USB, the bluetooth give me many problems but
for the bluetooht itself. With 2d codes I don't test, for the others codes
work as a keyboard entry. 

http://www.honeywellaidc.com

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Scanning-barcodes-tp2251724p2251753.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: Scale9

2010-06-10 Thread JosepM

Very interesting.. I think that we can organize to build some, graphics and
behaviors by groups.
I'm available to help :)

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Scale9-tp2250302p2250906.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: RTF documents as templates

2010-06-09 Thread JosepM

Hi List,

Here my tests... 
In MacOSX the RTF is RTFD that is a bundle as explained Jan.
 
Showing the contents of bundle you can found one TXT.rtf file that contain
the text and the n files for the asociated images used in the creation of
the file from TextEdit.

Steps.

1 Open TextEdit and create your template using images and positioning using
tables if you need. If not put your text formated as you need.
2 Where you need replace some part, use the [[myreplacedtext1]] using [[ to
open and ]] to close. As Jan show in her link above.
3 Save as RTFD
4 Open from Rev with the following code. The question is to open the TXT.rtf
file and modify it.
5 Open directly from TextEdit and Print using Rev or Applescript.

Pro
No MS Word need.
Easy way to use templates for the user.

Con
Poor alignment format, only tables, so to build some document A4 or Letter
for example you need to check the lines, footers, etc...

on mouseUp
   
   put mactoiso(áàïô_test) into text1
   put This a long text to see how is showed inside the rtf file into
description
   put Bottom text into footer
   put the system date into tDate
  
   answer file Where is the template file?
   if it is empty then exit mouseUp
   
   put it into theTemplateFile
   
   -- Duplicate the file with a new name

   put TXT.rtf into tFichero
   put theTemplateFile  /  tFichero into tTheFile
   put URL(binfile:  tTheFile) into theRTFtext
   
   set the fileType to MSWDRTF 
   
   put merge(theRTFtext) into URL (binfile:  tTheFile)
end mouseUp


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2249102.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: RTF documents as templates

2010-06-09 Thread JosepM

Update code using theRTFText of field 
The revCopyFile don't copy the bundle, only create the file so searching for
the list I found a piece of code to copy using the shell.

If someone want the stack and the RTF file to test email me and I send you.

Salut,
Josep

on mouseUp
   
   put mactoiso(the RTFText of fld f_texto1) into texto1
   put mactoiso(the RTFText of fld f_texto2) into texto2
   
   put mactoiso(the RTFText of fld f_texto_f1c1) into texto_f1c1
   put mactoiso(the RTFText of fld f_texto_f1c2) into texto_f1c2
   put mactoiso(the RTFText of fld f_texto_f1c3) into texto_f1c3
   
   put mactoiso(the RTFText of fld f_texto_f2c1) into texto_f2c1
   put mactoiso(the RTFText of fld f_texto_f2c2) into texto_f2c2
   put mactoiso(the RTFText of fld f_texto_f2c3) into texto_f2c3
   
   answer file Where is the template file?
   if it is empty then exit mouseUp
   put it into theTemplateFile
   
   ask file Save your message as: with TheResultingRTF.rtfd
   if it is empty then exit mouseUp
   put it into theMergedFile
   
   set the fileType to MSWDRTF 
   --
   put (cp -R -p quotetheTemplateFilequotequotetheMergedFilequote)
into tCommand 
   get shell(tCommand) 
   --
   
   put TXT  .rtf into tFichero
   put theTemplateFile  /  tFichero into tTheFile
   put URL(binfile:  tTheFile) into theRTFtext
   
   set the fileType to MSWDRTF 
   
   put merge(theRTFtext) into URL (binfile:  theMergedFile  / 
tFichero)
end mouseUp
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2249205.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: RTF documents as templates

2010-06-08 Thread JosepM

Hi Jan,

And this can work if the word have images? I can't... :(


Salut,
Josep M.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2248067.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: RTF documents as templates

2010-06-08 Thread JosepM

Hi again,

Some questions for the experts... 

How can open or print a RTF file without Word? TextEdit loss the images and
format of tables...

How can open and print from Applescript without view the flashing RTF file? 



Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2248114.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: RTF documents as templates

2010-06-01 Thread JosepM

Let's try :)
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2238165.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


Rumours about Visual Basic for iPhone/iPad?

2010-05-31 Thread JosepM

Hi Folks,

Just now I finish to read one rumour about something Visual Basic for
iPhone/iPad, some join venture between Micro$oft and Apple versus Adobe and
Google, with Bing in front of Google and Visual Basic suite to stop Adobe
plans. 
I'm worried...


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Rumours-about-Visual-Basic-for-iPhone-iPad-tp2237664p2237664.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: RTF documents as templates

2010-05-31 Thread JosepM

Nop. My solution was store the entire document and search and replace before
to build the document, and then out as PDF using Quartam PDF Library and
Quartam Reports, but also you can print from a card. 

But now, some customers need customize reports and documents and again I
need do something. Actually I customize the docs and send to the customer
her document to use from Quartam Reports.

I was thinking to create the template from a card for example, and convert
for Quartam PDF or maybe using the new PrintToPDF when this will be
available in the next release 5.0

If you have any idea about I'm very glad to help and collaborate.

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2237670.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: Rumours about Visual Basic for iPhone/iPad?

2010-05-31 Thread JosepM

Here the post about, 

http://techcrunch.com/2010/05/28/source-microsoft-bing-taking-over-iphone-search/

I read in spanish from this..

http://www.applesfera.com/apple/steve-ballmer-no-participara-en-al-wwdc-2010-pero-no-se-descartan-sorpresas

... :/

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Rumours-about-Visual-Basic-for-iPhone-iPad-tp2237664p2237688.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


Create mySQL database structure from Rev

2010-05-31 Thread JosepM

Hi Folks,

I need to create and backup mySQL database from Rev. I have created the
database, so only I need to run the schema, but I have no clear what can be
the best solution for.

Any experience?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Create-mySQL-database-structure-from-Rev-tp2237715p2237715.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: Create mySQL database structure from Rev

2010-05-31 Thread JosepM

Hi,

I try this but no result.

mysqldump --opt myDB  backupDB.sql



Sorry but I don't see how to dump the data by scripting. 


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Create-mySQL-database-structure-from-Rev-tp2237715p2237895.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: RTF documents as templates

2010-05-31 Thread JosepM

Hi Andrew,

You guess that is posible use the doc template with some graphic or  
images inside the word and fill all the data respecting the images  
format? I don't know wordLib 1.3
Also I think that maybe we can found other non-propietary format to  
use..., but let's try

As you wish, email is fine for me.

Salut,
Josep

El 31/05/2010, a las 22:27, Andrew Kluthe [via Runtime Revolution]  
escribió:

 What about using wordLib 1.3 to import template documents into a  
 field, pull the records you need from the database, do the  
 calculations necessary and fill the data into the placeholders saved  
 into the word doc?

 This was the approach I was thinking of trying out. I would very  
 much love to collaborate on a solution along these lines. Something  
 customizable, a word Document template based reporting system.

 My timeframe on needing this solution is starting to look like the  
 end of the week. How would you best like to work on this? via email?

 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2237801.html
 To unsubscribe from Re: RTF documents as templates, click here.



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RTF-documents-as-templates-tp322967p2237897.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: Create mySQL database structure from Rev

2010-05-31 Thread JosepM

Hi Sarah,

But my mySQL is remote and I don't have installed a local mySQL..


Salut,
Josep M.

El 01/06/2010, a las 1:34, Sarah Reichelt-2 [via Runtime Revolution]  
escribió:

  I try this but no result.
 
  mysqldump --opt myDB  backupDB.sql

 I have used a shell call to the mysqldump command and that worked  
 fine.

 Cheers,
 Sarah
 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/Create-mySQL-database-structure-from-Rev-tp2237715p2237903.html
 To unsubscribe from Re: Create mySQL database structure from Rev,  
 click here.



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Create-mySQL-database-structure-from-Rev-tp2237715p2237904.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: Error go to card 1 of stack from a Menupick

2010-05-27 Thread JosepM

Hi Mark,

I guess that error is complete...

The code on the card 3, no preopenstack, only openstack.

on Openstack
   
   Global tLine
   put the menuHistory of btn opt_search_supplier of card 3 into tLine
   
   put 0 records found. into fld lbl_status of card 3
   set the uUTF8Text of fld f_buscar_supplier of card 3 to empty
   
   ## Establecer tamaño del stack y centrar
   if the environment is not development then
  set the resizable of me to false
  set the height of me to 575
  set the width of this stack to 865
  set the loc of this stack to the screenLoc
   else
  set the resizable of me to true
   end if
   
   uiNewSupplier
   uiRefreshSupplierList
   
end Openstack

The code on the menu.

on menuPick pChosen
   replace ... with empty in pChosen
   
   --set the lockMessages to  true
   switch pChosen
  case Items
 put glxapp_getProp(executable folder)  /components/ 
s_main_productos_v1.rev into tStackName
 go to card 1 of stack tStackName
 break
  case Suppliers
 put glxapp_getProp(executable folder)  /components/ 
s_main_productos_v1.rev into tStackName
 go to card 3 of stack tStackName
 break
  
   end switch
  --set the lockMessages to false
end menuPick
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2232977.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: Error go to card 1 of stack from a Menupick

2010-05-27 Thread JosepM

Hi Mark,

Do you still get an error if you temporarily disable the openstack   
handler? I.e. if only the menuPick handle runs?

Yes, I get the same error only in standalone, in IDE all run fine 

I changed the me for this stack and I get the same error... I don't know
what happen...

Seems that the error is in the card 1 and related to the datagrid, some
value is not a integer... :(

I have modified the FillData in the datagrid of the card 1 but this work
fine.

Any idea? I need solve this asap...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2233547.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


Error go to card 1 of stack from a Menupick

2010-05-26 Thread JosepM

Hi List,

I have a strange error when I call a go to card 3 of stack X.
The stack is opened and the card showed but some errors are throw, one at
line 0 the the openstack and other at line 5 of the menupick, just in the
switch line.

I paste the error.

Error: 361
Target: card id 31507 of stack
/Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev

361,0,0
361,0,0
90,9,22
449,9,7,575
535,9,1,575
253,6,1
241,6,1,Openstack
353,0,0,card id 31507 of stack
/Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev


Any idea or tip that I must know... :(

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2232529.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: Script Reporter v1.1 crashes

2010-05-25 Thread JosepM

Hi Sarah,

Still freezing... it's inside the on GetScripts to show all the  
scripts.

on GetScripts
set the itemdelimiter to Tab
put empty into fld AllScripts

-- Sarah: 9th Feb 2009
-- changed to using plain text, not htmltext and then using Rev 3  
script colorization

repeat with i = 1 to the number of lines in fld Display
.
.
.end GetScripts

The the last repeat seems don't work..


Salut,
Josep

El 25/05/2010, a las 4:19, Sarah Reichelt-2 [via Runtime Revolution]  
escribió:

 I don't remember this script, but I suggest adding a check for tScript
 being empty.

repeat while the number of words in line -1 of tScript = 0
delete last line of tScript
if tScript is empty then exit repeat
end repeat

 That might fix it.

 Cheers,
 Sarah


 On Tue, May 25, 2010 at 9:10 AM, JosepM [hidden email] wrote:

 
  Hi,
 
  The same for me, seems that enter into infite loop here:
 
  Â -- Sarah: remove any blank lines at the end  make sure there  
 are enough
  to space entries
  Â  Â  Â  Â repeat while the number of words in line -1 of tScript  
 = 0
  Â  Â  Â  Â  Â  Â delete last line of tScript
  Â  Â  Â  Â end repeat
 
 
  Any idea?
 
  Salut,
  Josep
  --
  View this message in context: 
  http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2229332.html
  Sent from the Revolution - User mailing list archive at Nabble.com.
  ___
  use-revolution mailing list
  [hidden email]
  Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2229415.html
 To unsubscribe from Re: Script Reporter v1.1 crashes, click here.



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2229569.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: Script Reporter v1.1 crashes

2010-05-24 Thread JosepM

Hi,

The same for me, seems that enter into infite loop here:

  -- Sarah: remove any blank lines at the end  make sure there are enough
to space entries
repeat while the number of words in line -1 of tScript = 0
delete last line of tScript
end repeat


Any idea?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2229332.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


Import AddressBook using Automator action from Rev

2010-05-21 Thread JosepM

Hi,

Any know how to call a Automator action .flow from Rev using Applescript?
The flow first select one, many or all the contacts from the AddressBook and
export into tabbed text.

From the Automator the action run fine, but from the Applescript nop. I
don't know how pass the selection of contacts. I see that this is a quickly
way to import the contacts into Rev.

The actions are:

Get Specified Address Book Items.action and Get Contact Information.action
I put thogther into a Automator flow... 

Any help? please... :)

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Import-AddressBook-using-Automator-action-from-Rev-tp2226790p2226790.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: News on revMobile and the iPhone

2010-05-16 Thread JosepM

Hi List,

So RunRev just seems to suffer as collateral damage in this stupid war
between these big players

Yes, I think the same. I'm sure that RunRev will retake the way and take
advantage of all present and futures alternatives that we can know in the
next months. 

Salut,
Josep 




-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/News-on-revMobile-and-the-iPhone-tp2218042p2218478.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: Replace rgb1 with rbg2

2010-05-15 Thread JosepM

Thanks for the scripts Wilhelm, it's exactly that I looking for :)


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Replace-rgb1-with-rbg2-tp2195410p2217683.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: Object is not an image when Crop command

2010-05-11 Thread JosepM

Thanks Wilhelm for share :) 
I modified the oval graphic to one polygon with irregular shape and work! :)
I read the discussions and I understand more about the masking issues. 
I don't see difference between some scripts respecting the edges problem.
Also I haven't clear the comparation of rgb pixels... 


Salut,
Josep 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2173505.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: Object is not an image when Crop command

2010-05-11 Thread JosepM

Hi Scott,

Thanks for the stack. Very cool the effect.
But I need to move the masked object, and your idea of use the
BackgroundPattern inspired me and I found one solution that at first step
solve my problem.

I have a image and some graphics polygons over.
The user select one of them and extract the image inside the edges of the
graphic.
And then the user can move if they want or duplicate.

the selectedobject is the polygon

on mouseUp
   lock screen
   put the rect of the selectedobject into tRect
   import snapshot from rect tRect of image picture
   put the id of last image into tSnapshotId
   set the backgroundpattern of the selectedobject to tSnapshotId
   delete img id tSnapshotId

   set the layer of the selectedobject to top
   set the ink of the selectedobject to srcCopy
   unlock screen
end mouseUp


What you think about? Can I have any problem of memory if I use more
graphics with backgroundpattern?

And other question to explore :)
How can empty the area of the image that is inside the graphic? Modifying
the imagedata? 
Or select a range of pixels and asign a new color? 


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2173518.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: Object is not an image when Crop command

2010-05-11 Thread JosepM

Hi,

You can modify pixels of an image, but maybe it would be less complicated
to 
overlay a colored overlay object where you want it and create a new
snapshot 
to apply as the backgroundPattern. 

This is what I doing but I can't erase the background or overlay with the
new color.

The objective is to change the wall color with the shadows and some of the
details.
Imagine a red wall, I create a poly with the shape of the wall, then I
create a snapshot and put it as backgroundpattern into the poly. Then I can
change the color of it to white but I loss the major of the shadows and
details, only I can play with the blendlevel to show of the detail but this
is borrowed.

Any idea how to deal with this?

Also I read the article of Kevin about the imagedata, maskdata and
alphachanel. I don't know if is posible extract some chanel to use as
shadow...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2181900.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


Replace rgb1 with rbg2

2010-05-11 Thread JosepM

Hi List,

How can I change one color rgb by other color rgb into a image?
I found some scripts in the list that show some ideas to accomplish it. But
nothing work for me.

I binaryencode(C,red) to replace with other binaryencoded value, but no
result
I replaced using numtochar, but no result

It's posible do the operation inside a rect of some object?

Any idea?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Replace-rgb1-with-rbg2-tp2195410p2195410.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


Object is not an image when Crop command

2010-05-10 Thread JosepM

Hi List,

I try to crop a image with the rect of a graphic.

tObject is a graphic selected by the user.
img picture is a image loaded by the user from disk

The user move the graphic over the image and crop it, but only I get Error:
object is not an image??
The graphic is irregular polygon, I mean that is not a rectangle or a box..

The code:

put the rect of the selectedobject into tObject
crop img picture to rect tObject

Any idea? :)

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2171784.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: Object is not an image when Crop command

2010-05-10 Thread JosepM

Hi Devin,

Yes, I read the dictionary, but the image is loaded from disk not  
referenced. What is a image not referenced?


Salut,
Josep M

El 10/05/2010, a las 18:51, Devin Asay [via Runtime Revolution] 
ml-node+2172400-329687279-23...@n4.nabble.com 
  escribió:


 On May 10, 2010, at 10:22 AM, JosepM wrote:

 
  Hi List,
 
  I try to crop a image with the rect of a graphic.
 
  tObject is a graphic selected by the user.
  img picture is a image loaded by the user from disk
 
  The user move the graphic over the image and crop it, but only I  
 get Error:
  object is not an image??
  The graphic is irregular polygon, I mean that is not a rectangle  
 or a box..
 
  The code:
 
  put the rect of the selectedobject into tObject
  crop img picture to rect tObject
 
  Any idea? :)

 Josep,

 Are your images referenced to outside image data? The Rev Dictionary  
 says this:  The crop command cannot be used on a referenced image.  
 Doing so will cause an execution error.

 Regards,
 Devin

 Devin Asay
 Humanities Technology and Research Support Center
 Brigham Young University

 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172400.html
 To unsubscribe from Object is not an image when Crop command, click  
 here.


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172408.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: Object is not an image when Crop command

2010-05-10 Thread JosepM

OK. Now is imported into imagedata, but now say that is not a rectangle... :( 
buf...

It's posible to export or copy a portion of the image but with a irregular
shape? 

Maybe I trying something not posible...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172668.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: Object is not an image when Crop command

2010-05-10 Thread JosepM

Hi,

Thanks for the replies..
I see the sample Spotlight, very cool.

I understand you but I don't know the hidden point technique :)
Where add a space in the polygon's list?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172787.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: Object is not an image when Crop command

2010-05-10 Thread JosepM

Mmhh.. but with the backpattern in correct position how crop only these
shape... 

Sorry for my questions, never I must fighted with graphics issues in Rev
until now... :)

The following is posible?
1 Export the snapshot ruled by the rect of a polygon over one part of the
image. 
2 Load the exported image and superpose the same graphic and make
transparent the difference. I don't know if I explain myself.
3 Save as transparent the image
4 Load the transparent image over the original image.

It's for simulate painted walls, and I need extract the windows, picture
frames and other nice stuff... :P

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172800.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


Datagrid can't not find stack

2010-05-07 Thread JosepM

Hi List,

I have a stack with a datagrid that add and delete rows without problem. 
Then I open a substack as sheet where the user fill some customer data and
close the substack. Then if I try to add a row to the datagrid... an error
has ocurred in behavior for the column template: Chunk: can't find stack.

The substack can be filled manually or from the database, if I recover the
data from the database, the grid works fine, but if I fill the data
manually, then don't work. The data is passed with dialogdata.

What is wrong?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-can-t-not-find-stack-tp2133926p2133926.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: Selected object boxes

2010-05-07 Thread JosepM

Thanks, later I will try and post the results... :)

Salut,
Josep

El 07/05/2010, a las 15:47, dunbarx [via Runtime Revolution] escribió:

 These two handlers can be put into the script of any object. It is  
 no big
 deal; very straighforward. The commented lines refer to a small btn  
 called
 handle which I originally had to indicate exactly what you don't  
 want to
 see. The handler can certainly be modified and put in the card  
 script to work
 on any object. I originally made this to test which messages seemed  
 to be
 best suited for the task, like mouseWithin, mouseMove and  
 mouseStillDown.
 This is the mouseDown version.

 watch line breaks...


 on mouseDown
 repeat while the mouse is down
--show btn handle
put the rect of me into tRect
put whichCorner(the mouseloc,tRect) into tCorner
switch
   case tcorner = TR
  set the rect of me to   item 1 of tRect  ,  item 2  
 of the
 mouseLoc  ,  item 1 of the mouseLoc  ,  item 4 of tRect
  --set the loc of   btn handle to item 3 of the rect  
 of me 
 ,  item 2 of the rect of me
  break
   case tcorner = TL
  set the rect of me to   item 1 of the mouseLoc,  
  item
 2 of the mouseLoc  ,  item 3 of tRect  ,  item 4 of tRect
  --set the loc of   btn handle to item 1 of the rect  
 of me 
 ,  item 2 of the rect of me
  break
   case tcorner = BL
  set the rect of me to   item 1 of the the mouseLoc 
 , 
 item 2 of   tRect  ,  item 3 of   tRect  ,  item 2 of the  
 mouseLoc
  --set the loc of   btn handle to item 1 of the rect  
 of me 
 ,  item 4 of the rect of me
  break
   case tcorner = BR
  set the rect of me to   item 1 of   tRect,   
 item 2 of
 tRect  ,  item 1 of the mouseLoc  ,  item 2 of the mouseLoc
  --set the loc of   btn handle to item 3 of the rect  
 of me 
 ,  item 4 of the rect of me
  break
end Switch
 end repeat
 hide btn handle
 end mouseDown

 function whichCorner mLoc,tRect
 switch
case abs(item 2 of mLoc - item 2 of tRect)  15 and abs(item  
 1 of
 mLoc - item 3 of tRect)  15
   return TR
   break
case abs(item 1 of mLoc - item 1 of tRect)  15 and abs(item  
 2 of
 mLoc - item 2 of tRect)  15
   return TL
   break
case abs(item 1 of mLoc - item 1 of tRect)  15 and abs(item  
 2 of
 mLoc - item 4 of tRect)  15
   return BL
   break
case abs(item 1 of mLoc - item 3 of tRect)  15 and abs(item  
 2 of
 mLoc - item 4 of tRect)  15
   return BR
   break
 end switch
 end whichCorner
 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/Selected-object-boxes-tp2133653p2134197.html
 To unsubscribe from Selected object boxes, click here.



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Selected-object-boxes-tp2133653p2134267.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: Datagrid can't not find stack

2010-05-07 Thread JosepM

I don't get any, it's very strange.. apperar the same error
Two buttons, OK and Edit Script, if I click on OK, it's OK :) and  
Edit Script also is OK :D

Other thing, the stack is created on the fly, cloned from the  
original, so many instances can be opened.
The worst thing is that recovering the data from the db run fine and  
entered from the user no. It's the same substack with many fields,  
nothing special... :(

Following investigating

Salut,
Josep



El 07/05/2010, a las 14:56, Trevor DeVore [via Runtime Revolution]  
escribió:

 On May 7, 2010, at 5:41 AM, JosepM wrote:

  I have a stack with a datagrid that add and delete rows without
  problem.
  Then I open a substack as sheet where the user fill some customer
  data and
  close the substack. Then if I try to add a row to the datagrid...
  an error
  has ocurred in behavior for the column template: Chunk: can't find
  stack.

 Add a try/catch statement around the code in FillInData or
 LayoutControl and then print the error throw to the message box.

 on FillInData ...
 try
...
 catch e
put e
 end try
 end FillInData

 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Releasable Revolution Resources for Developers: 
 http://revolution.bluemangolearning.com
 ___
 use-revolution mailing list
 [hidden email]
 Please visit this url to subscribe, unsubscribe and manage your  
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/Datagrid-can-t-not-find-stack-tp2133926p2134119.html
 To unsubscribe from Datagrid can't not find stack, click here.



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-can-t-not-find-stack-tp2133926p2134284.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


  1   2   >