Re: storing a stack as a customprop

2009-10-17 Thread Richard Gaskin
Peter wrote: > set the storedStack of stack "updateList" to URL "binfile:" & filepath Looks like Mark caught it. Without the parentheses, the engine interprets the above as: 1. get url "binfile:" 2. append that data with filepath 3. store it in the specified property But with parens it firs

Re: storing a stack as a customprop

2009-10-17 Thread Jim Ault
put url "file:" & filePath into stackData should be put url ("file:" & filePath) into stackData Jim Ault Las Vegas On Oct 17, 2009, at 4:59 PM, Peter Brigham MD wrote: I'm stuck. I swear I got this to work for a few minutes and now it isn't working. I changed something and broke it. I'm

Re: storing a stack as a customprop

2009-10-17 Thread Brian Yennie
Peter, Are you sure you are including the "URL" keyword? RIGHT: set the storedStack of stack "updateList" to URL ("binfile:"&filepath) WRONG: set the storedStack of stack "updateList" to ("binfile:"&filepath) "binfile" instead of "file" doesn't change things. Still don't get the actual stack

Re: storing a stack as a customprop

2009-10-17 Thread Mark Schonewille
Peter, Mind the brackets. I forgot about them. set the storedStack of stack "updateList" to URL ("binfile:" & filepath) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Submit your software at http://www.quickestpublisher.com On

Re: storing a stack as a customprop

2009-10-17 Thread Peter Brigham MD
"binfile" instead of "file" doesn't change things. Still don't get the actual stack into the property, just the filepath. ??? Could it be that the stack hasn't finished saving to disk before I'm trying to fetch it from the disk to get it into the property? Do I have to do a wait with messa

Re: storing a stack as a customprop

2009-10-17 Thread Mark Schonewille
Peter, Use binfile instead of file. set the storedStack of stack "updateList" to URL "binfile:" & filepath -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Submit your software at http://www.quickestpublisher.com On 18 okt 2009,

storing a stack as a customprop

2009-10-17 Thread Peter Brigham MD
I'm stuck. I swear I got this to work for a few minutes and now it isn't working. I changed something and broke it. I'm trying to store a stack ("stackToSave") as a customproperty of a stack called "updateList". As far as I can tell the way to store a currently open stack in a property is t

Re: Datagrid: multiple hilites

2009-10-17 Thread David Bovill
I checked again Trevor. It makes sense that it does not work in cases where the controls are not cached - where it is broken is when the controls are cached but you try to get: the dgRectOfIndex [1] of dataGrid and the controls are scrolled heavily, so that the invisible row view would be above t

Re: RevUp issue 79

2009-10-17 Thread René Micout
Merci Thierry Le 17 oct. 09 à 18:24, Thierry a écrit : Le 17 oct. 09 à 18:10, René Micout a écrit : Hello, Where is RevUp issue # 79 ? ??? http://www.runrev.com/newsletter/october/issue79/ Cordialement, Thierry ___ use-revolution mailing list

Re: Datagrid: multiple hilites

2009-10-17 Thread Trevor DeVore
On Oct 17, 2009, at 11:00 AM, David Bovill wrote: Thanks - but "ScrollRectIntoView" would rely on "## See dgRectOfIndex in order to get rect of a control in the data grid." - and this is broken for cases in which the rows are scrolled above the grid (perhaps when they go above the screens

OAuth

2009-10-17 Thread David Bovill
Has anyone written any handlers / code for authentication using OAuth in Rev? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.co

Re: RevUp issue 79

2009-10-17 Thread Thierry
Le 17 oct. 09 à 18:10, René Micout a écrit : Hello, Where is RevUp issue # 79 ? ??? http://www.runrev.com/newsletter/october/issue79/ Cordialement, Thierry ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to s

RevUp issue 79

2009-10-17 Thread René Micout
Hello, Where is RevUp issue # 79 ? René from Paris___ 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-revo

Re: Datagrid: multiple hilites

2009-10-17 Thread David Bovill
2009/10/17 Trevor DeVore > > There are some scrolling handlers that are documented: > > ScrollIndexIntoView/ScrollLineIntoView > > There is also an undocumented ScrollRectIntoView command you can find in > the Data Grid button. You might want to take a look at those. > Thanks - but "ScrollRectIn

Re: Datagrid: multiple hilites

2009-10-17 Thread Trevor DeVore
On Oct 17, 2009, at 9:54 AM, David Bovill wrote: Here are some handlers that seem to work "most" of the time. Could be improved by adding shortcut for fixed height rows, and it seems like the geometry gets a little messed up in some circumstances (maybe when adding rows using AddData?) - but

Re: Datagrid: multiple hilites

2009-10-17 Thread Trevor DeVore
On Oct 17, 2009, at 7:06 AM, David Bovill wrote: Thanks Trevor - silly mistake - maybe that will fix my other problem with scrolling - thanks! The other thing I needed to do was: set the dgProp ["animate selections"] of dataGrid to false as otherwise the automatic behavior would scroll to th

Re: Datagrid: multiple hilites

2009-10-17 Thread David Bovill
Here are some handlers that seem to work "most" of the time. Could be improved by adding shortcut for fixed height rows, and it seems like the geometry gets a little messed up in some circumstances (maybe when adding rows using AddData?) - but it is a start, perhaps the beginning of a feature reque

Datagrid: scrolling to the top of a record (dgRectOfIndex fails)

2009-10-17 Thread David Bovill
It seems that this little utility is broken for records that are scrolled above the datagrid. This is because when a record is scrolled completely above the datagrid it is set to invisible and set to the top of the screen / grid or perhaps even deleted). What I want to do is to be able to scroll

Re: Datagrid: multiple hilites

2009-10-17 Thread David Bovill
Thanks Trevor - silly mistake - maybe that will fix my other problem with scrolling - thanks! The other thing I needed to do was: set the dgProp ["animate selections"] of dataGrid to false as otherwise the automatic behavior would scroll to the first selected record. These "animate" features are