Re: Strange Datagrid Column Problem

2010-11-19 Thread David Bovill
Can you file this as a bug, and add the stack? I think it is related
to a reference resolution bug with behaviours that causes a few
problems when using send. I'm interested to track this bug down.

On Thursday, November 18, 2010, Peter Haworth p...@mollysrevenge.com wrote:
 That worked!

 Are you familiar with the banana slug, native to the Santa Cruz area of 
 California?

 Pete Haworth

 On Nov 18, 2010, at 2:54 PM, zryip theSlug wrote:


 Pete,

 Try:
 set the hilite of btn 1 of me to handleBoolean(pData)


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

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


Re: Strange Datagrid Column Problem

2010-11-19 Thread zryip theSlug
On Fri, Nov 19, 2010 at 12:42 AM, Peter Haworth p...@mollysrevenge.com wrote:

Pete,

 That worked!

Odd, should work in the both cases.

 Are you familiar with the banana slug, native to the Santa Cruz area of
 California?

A few. It is endemic (native) of the area. It loves forest. Its color
allows it to hide from predators in the leaves.
It exists also a mascott, no?


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Strange Datagrid Column Problem

2010-11-19 Thread zryip theSlug
On Fri, Nov 19, 2010 at 9:54 AM, David Bovill da...@vaudevillecourt.tv wrote:
 Can you file this as a bug, and add the stack? I think it is related
 to a reference resolution bug with behaviours that causes a few
 problems when using send. I'm interested to track this bug down.

For columns, me should refer to a group named with the name of the
column + the number of the lines (or the index, not remember exactly)

btn 1 of me
or
btn 1 of the long id of me

should refer to a button in a group name or in group id, not to a field.

Maybe interesting to study that closer.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Strange Datagrid Column Problem

2010-11-19 Thread David Bovill
On 19 November 2010 11:47, zryip theSlug zryip.thes...@gmail.com wrote:

 On Fri, Nov 19, 2010 at 9:54 AM, David Bovill da...@vaudevillecourt.tv
 wrote:
  Can you file this as a bug, and add the stack? I think it is related
  to a reference resolution bug with behaviours that causes a few
  problems when using send. I'm interested to track this bug down.

 For columns, me should refer to a group named with the name of the
 column + the number of the lines (or the index, not remember exactly)

 btn 1 of me
 or
 btn 1 of the long id of me

 should refer to a button in a group name or in group id, not to a field.

 Maybe interesting to study that closer.


Yes - I've seen this when you refer to me using strange syntax like that.
That's not me personally - you're welcome to refer to me in whatever syntax
you like, but the behavior. Not my behavior... anyway. There does seem to be
some downside of an English like syntax.

The behavior I get problems with is that in certain circumstances the long
id of x does not convert a valid reference to the long id when called
from within a behavior, which is surely bad behavior, for which I apologise.
___
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: Strange Datagrid Column Problem

2010-11-19 Thread Bob Sneidar
My favorite personal syntax is put 'goodFood' into the large mouth of me

Another favorite: get SomeOneElseToCleanUp(afterwards)

Bob


On Nov 19, 2010, at 4:13 AM, David Bovill wrote:

 Yes - I've seen this when you refer to me using strange syntax like that.
 That's not me personally - you're welcome to refer to me in whatever syntax
 you like, but the behavior. Not my behavior... anyway. There does seem to be
 some downside of an English like syntax.

___
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


Strange Datagrid Column Problem

2010-11-18 Thread Peter Haworth
I've customised a datagrid column to contain a checkbox.  Right after  
the customisation, the checkbox shows up in the column just fine.  I  
then added the following line of code in the FillInData handler for  
the column:


set the hilite of button 1 of the long ID of me to handleBoolean(pData)

.. and I get the message an error has occurred in behavior for the  
column template: Object: can't set this property.


I've used this same code in other datagrids to handle checking and  
unchecking check boxes and it works fine.


So I stuck an answer information right before that line of code to  
display the name of the control just to make sure I was looking at the  
correct control:


answer information the name of button 1 of the long ID of me

The display shows the correct name for the check box but it says it is  
a field, not a checkbox so no wonder it can't set the hilite property!


Any ideas as to how my checkbox got to be a field?  And even more  
puzzling, how does the display of the name of a button show it to be a  
field?



Pete Haworth

___
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: Strange Datagrid Column Problem

2010-11-18 Thread zryip theSlug
On Thu, Nov 18, 2010 at 11:19 PM, Peter Haworth p...@mollysrevenge.com wrote:
 I've customised a datagrid column to contain a checkbox.  Right after the
 customisation, the checkbox shows up in the column just fine.  I then added
 the following line of code in the FillInData handler for the column:

 set the hilite of button 1 of the long ID of me to handleBoolean(pData)

 .. and I get the message an error has occurred in behavior for the column
 template: Object: can't set this property.

 I've used this same code in other datagrids to handle checking and
 unchecking check boxes and it works fine.

 So I stuck an answer information right before that line of code to display
 the name of the control just to make sure I was looking at the correct
 control:

 answer information the name of button 1 of the long ID of me

 The display shows the correct name for the check box but it says it is a
 field, not a checkbox so no wonder it can't set the hilite property!

 Any ideas as to how my checkbox got to be a field?  And even more puzzling,
 how does the display of the name of a button show it to be a field?

Pete,

Try:
set the hilite of btn 1 of me to handleBoolean(pData)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Strange Datagrid Column Problem

2010-11-18 Thread Peter Haworth

That worked!

Are you familiar with the banana slug, native to the Santa Cruz area  
of California?


Pete Haworth

On Nov 18, 2010, at 2:54 PM, zryip theSlug wrote:


Pete,

Try:
set the hilite of btn 1 of me to handleBoolean(pData)


___
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