Re: datagrids in revLets on Win (Vista / 7)

2010-03-01 Thread Trevor DeVore

On Feb 27, 2010, at 6:16 PM, runrev260...@m-r-d.de wrote:

is there any special to consider, when using Datagrids in a Revlet?  
I built a simple stack with a Datagrid. Putting data into the  
DataGrid works in a standalone, but not in a revlet.


http://n4.nabble.com/datagrids-in-revLets-on-Win-Vista-7-td974506.html#a974506

The Data Grid library in the next release of Rev won't query the  
registry when running in the browser.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: datagrids in revLets on Win (Vista / 7)

2010-02-27 Thread runrev260805
Hi,

is there any special to consider, when using Datagrids in a Revlet? I built a 
simple stack with a Datagrid. Putting data into the DataGrid works in a 
standalone, but not in a revlet.

Regards,

Matthias


 Original Message 
Subject: datagrids in revLets on Win (Vista / 7) (18-Dez-2009 6:42)
From:Malte Pfaff-Brill revolut...@derbrill.de
To:  runrev260...@m-r-d.de

 Hi there,
 
 was happiely coding away on a web project. Build the revlet, works fine on 
 the mac. On Win Vista and 7 it fails with the following error (on setting 
 the dgText of the datagrid to empty.:
 
 682,119,17
 465,119,1
 587,117,1
 253,113,1
 241,113,1,_Initialize
 353,0,0,button id 1005 of bkgnd id 1004 of stack revDataGridLibrary of 
 stack webmon
 573,4512,18
 253,4512,1
 241,4512,1,dgData
 353,0,0,button id 1005 of bkgnd id 1004 of stack revDataGridLibrary of 
 stack webmon
 90,3205,36
 449,3205,5
 535,3205,1
 241,3205,1,_table.SetText
 
 Anybody got an idea what could cause this?
 
 Cheers,
 
 Malte___
 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
 
 
 
 
 To: use-revolution@lists.runrev.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: datagrids in revLets on Win (Vista / 7)

2010-02-27 Thread Sarah Reichelt
On Sun, Feb 28, 2010 at 9:16 AM,  runrev260...@m-r-d.de wrote:
 Hi,

 is there any special to consider, when using Datagrids in a Revlet? I built a 
 simple stack with a Datagrid. Putting data into the DataGrid works in a 
 standalone, but not in a revlet.

Translating your error gives the details copied below. This seems to
indicate that the data grid library is correctly incorporated into
your revlet, but it's missing some handler needed to set the text.
Not very helpful I'm afraid, but it might give you some ideas.

Cheers,
Sarah


Error description:
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  119  Column:  17  Processing Token:

Error description: put: error in expression
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  119  Column:  1  Processing Token:

Error description: switch: error in statement
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  117  Column:  1  Processing Token:

Error description: if-then: error in statement
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  113  Column:  1  Processing Token:

Error description: Handler: error in statement
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  113  Column:  1  Processing Token: _Initialize

Error description: Handler: can't find handler
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  4512  Column:  18  Processing Token:

Error description: if-then: error in statement
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  4512  Column:  1  Processing Token:

Error description: Handler: error in statement
Object: button id 1005 of bkgnd id 1004 of stack revDataGridLibrary
of stack webmon
Line:  4512  Column:  1  Processing Token: dgData

Error description: Chunk: can't set property
Object:
Line:  3205  Column:  36  Processing Token:

Error description: Object: can't set object property
Object:
Line:  3205  Column:  5  Processing Token:

Error description: set: can't set property
Object:
Line:  3205  Column:  1  Processing Token:

Error description: Handler: error in statement
Object:
Line:  3205  Column:  1  Processing Token: _table.SetText
___
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: Re: datagrids in revLets on Win (Vista / 7)

2009-12-19 Thread Malte Pfaff-Brill
Thanks a heap Trevor!

Will patch the lib I guess. 

Phil: That is also my experience. Auto detection does not seem the most 
reliable thing on the planet.

All the best,

Malte

___
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: datagrids in revLets on Win (Vista / 7)

2009-12-18 Thread Phil Davis
Using a straight queryRegistry() call here and without involving a 
dataGrid, on Win 7 I got:


   * failure when relying on auto-detect security settings in the SA
 settings panel
   * success when I manually checked registry (read) in same

So it seems the 'auto-detect' feature doesn't always detect everything?

Phil Davis



On 12/17/09 5:42 PM, Malte Pfaff-Brill wrote:

Hi there,

was happiely coding away on a web project. Build the revlet, works fine on the 
mac. On Win Vista and 7 it fails with the following error (on setting the 
dgText of the datagrid to empty.:

682,119,17
465,119,1
587,117,1
253,113,1
241,113,1,_Initialize
353,0,0,button id 1005 of bkgnd id 1004 of stack revDataGridLibrary of stack 
webmon
573,4512,18
253,4512,1
241,4512,1,dgData
353,0,0,button id 1005 of bkgnd id 1004 of stack revDataGridLibrary of stack 
webmon
90,3205,36
449,3205,5
535,3205,1
241,3205,1,_table.SetText

Anybody got an idea what could cause this?

Cheers,

Malte___
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

   


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


Re: datagrids in revLets on Win (Vista / 7)

2009-12-17 Thread Trevor DeVore

On Dec 17, 2009, at 8:42 PM, Malte Pfaff-Brill wrote:

was happiely coding away on a web project. Build the revlet, works  
fine on the mac. On Win Vista and 7 it fails with the following  
error (on setting the dgText of the datagrid to empty.:


682,119,17
465,119,1
587,117,1
253,113,1
241,113,1,_Initialize
353,0,0,button id 1005 of bkgnd id 1004 of stack  
revDataGridLibrary of stack webmon

573,4512,18
253,4512,1
241,4512,1,dgData
353,0,0,button id 1005 of bkgnd id 1004 of stack  
revDataGridLibrary of stack webmon

90,3205,36
449,3205,5
535,3205,1
241,3205,1,_table.SetText


Line 119 of the Data Grid button script is (edit script of btn Data  
Grid of stack revDataGridLibrary:


put queryregistry(HKEY_CURRENT_USER\Control Panel\Colors 
\HilightText) into sSystemA[hilited text color]


My guess is the revLet doesn't like to have the registry queried.

You can probably update the switch statement in the _Initialize  
handler with following. I'm just wrapping the queryRegistry calls with  
a check to see if the code is running in the browser:


 switch the platform
case Win32
if the environment is not browser then
put queryregistry(HKEY_CURRENT_USER\Control Panel 
\Colors\HilightText) into sSystemA[hilited text color]

if sSystemA[hilited text color] is not empty then
replace space with comma in sSystemA[hilited  
text color]

end if
put queryregistry(HKEY_CURRENT_USER\Control Panel 
\Desktop\WindowMetrics\ScollWidth) into theValue

if theValue is an integer then
put abs(theValue/15) into  
sSystemA[scrollbarWidth]

end if
end if

break
end switch


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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