Re: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Terry Judd t...@unimelb.edu.au

 Does anyone know if there is a setting to change the border colour (both
 the
 header and the 'body') of a datagrid? Trevor?

 Terry...

 ___
 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


Hi Terry,

A Data Grid is a group, so you can change its color like other group.

Example:
set the borderColor of grp myDataGrid to red


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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 26/05/10 6:08 PM, zryip theSlug zryip.thes...@gmail.com wrote:

 2010/5/26 Terry Judd t...@unimelb.edu.au
 
 Does anyone know if there is a setting to change the border colour (both
 the
 header and the 'body') of a datagrid? Trevor?
 
 Hi Terry,
 
 A Data Grid is a group, so you can change its color like other group.
 
 Example:
 set the borderColor of grp myDataGrid to red
 
Hey thanks - that's a good start but doesn't pickup the bottom border of the
header.

Terry...

___
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 border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Terry Judd t...@unimelb.edu.au

 On 26/05/10 6:08 PM, zryip theSlug zryip.thes...@gmail.com wrote:

  2010/5/26 Terry Judd t...@unimelb.edu.au
 
  Does anyone know if there is a setting to change the border colour (both
  the
  header and the 'body') of a datagrid? Trevor?
 
  Hi Terry,
 
  A Data Grid is a group, so you can change its color like other group.
 
  Example:
  set the borderColor of grp myDataGrid to red
 
 Hey thanks - that's a good start but doesn't pickup the bottom border of
 the
 header.

 Terry...

 ___
 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


Ok, as far as I know there is no standard function for doing that in the
Data Grid.

So a solution consists to set the object color directly by code.
The name of the bottom header of a data grid is: dgHeaderBottomBorder

   put red into tTheColor

   set the bordercolor of grp myDataGrid to tTheColor
   put the long id of group dgHeaderMask of group dgHeaderComponents of
grp myDataGrid into theHeaderGroup
   set the foregroundColor of grc dgHeaderBottomBorder of theHeaderGroup
to tTheColor

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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 26/05/10 8:18 PM, zryip theSlug zryip.thes...@gmail.com wrote:

 2010/5/26 Terry Judd t...@unimelb.edu.au
 
 On 26/05/10 6:08 PM, zryip theSlug zryip.thes...@gmail.com wrote:
 
 2010/5/26 Terry Judd t...@unimelb.edu.au
 
 Does anyone know if there is a setting to change the border colour (both
 the
 header and the 'body') of a datagrid? Trevor?
 
 Hi Terry,
 
 A Data Grid is a group, so you can change its color like other group.
 
 Example:
 set the borderColor of grp myDataGrid to red
 
 Hey thanks - that's a good start but doesn't pickup the bottom border of
 the
 header.
 
 Terry...
 
 Ok, as far as I know there is no standard function for doing that in the
 Data Grid.
 
 So a solution consists to set the object color directly by code.
 The name of the bottom header of a data grid is: dgHeaderBottomBorder
 
put red into tTheColor
 
set the bordercolor of grp myDataGrid to tTheColor
put the long id of group dgHeaderMask of group dgHeaderComponents of
 grp myDataGrid into theHeaderGroup
set the foregroundColor of grc dgHeaderBottomBorder of theHeaderGroup
 to tTheColor
 
 Regards,

OK, thanks for sniffing out the relevant object for me. Might be nice to
have to be able to set this via the property inspector along with all the
other datagrid colour properties.

Cheers,

Terry...

___
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 border colour setting?

2010-05-26 Thread Trevor DeVore

On May 25, 2010, at 8:38 PM, Terry Judd wrote:

Does anyone know if there is a setting to change the border colour  
(both the

header and the 'body') of a datagrid? Trevor?


set the dgProps[border color] of the data grid to a color. This  
property isn't in the docs but I will add it in. The getProp isn't  
hooked up for it either but I've addressed that for 4.5.


--
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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Trevor DeVore li...@mangomultimedia.com

 On May 25, 2010, at 8:38 PM, Terry Judd wrote:

  Does anyone know if there is a setting to change the border colour (both
 the
 header and the 'body') of a datagrid? Trevor?


 set the dgProps[border color] of the data grid to a color. This property
 isn't in the docs but I will add it in. The getProp isn't hooked up for it
 either but I've addressed that for 4.5.



Hum, I missed this one, thanks Trevor ;)
To a complement to the column divider color can you add also the header
divider color, please?


TIA
-- 
-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: Datagrid border colour setting?

2010-05-26 Thread Trevor DeVore

On May 26, 2010, at 5:00 PM, zryip theSlug wrote:

To a complement to the column divider color can you add also the  
header

divider color, please?


I don't know if this is in the 4.0 release but the 4.5 version has  
header divider color and header divider threed color.


--
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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Trevor DeVore li...@mangomultimedia.com

 On May 26, 2010, at 5:00 PM, zryip theSlug wrote:

  To a complement to the column divider color can you add also the header
 divider color, please?


 I don't know if this is in the 4.0 release but the 4.5 version has header
 divider color and header divider threed color.


This property is also in the 4.0 release. I'm using actually it with the 4.5
dp2.

But if I not missed something in the doc, this property is not referenced.
May be it's time, as the border color property, to give it a place in the
doc, no? 8-)



-- 
-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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 27/05/10 6:03 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On May 25, 2010, at 8:38 PM, Terry Judd wrote:
 
 Does anyone know if there is a setting to change the border colour
 (both the
 header and the 'body') of a datagrid? Trevor?
 
 set the dgProps[border color] of the data grid to a color. This
 property isn't in the docs but I will add it in. The getProp isn't
 hooked up for it either but I've addressed that for 4.5.

Excellent!

Terry...

___
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 border colour setting?

2010-05-25 Thread Terry Judd
Does anyone know if there is a setting to change the border colour (both the
header and the 'body') of a datagrid? Trevor?

Terry...

___
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