Datagrid: simple (non-3D) column header dividers?

Terry Judd tsj at unimelb.edu.au
Wed Aug 25 05:40:12 CDT 2010


Brute force method...

on toggleDGHeaderLeftHilite pDGname, pVis
   put the long id of grp "dgHeaderComponents" of grp pDGname into tObj
   repeat with i = 1 to the number of controls of tObj
      if the short name of control i  of tObj = "leftHilite" then
         set the visible of control i of tObj to pVis
      end if
   end repeat
end toggleDGHeaderLeftHilite

Terry...


On 25/08/10 8:27 PM, "Terry Judd" <tsj at unimelb.edu.au> wrote:

> Well it's a good start (how come it isn't in my datagrid user guide?) but
> you still get left with a light coloured one pixel wide line (leftHilite) to
> the left of each column header that 'spoils' the vanilla effect I'm looking
> for. If there was some way to target this graphic through the dgProps
> (either by setting its colour or hiding it) then I think we'd be there.
> 
> Cheers,
> 
> Terry...
> 
> 
> On 25/08/10 6:28 PM, "zryip theSlug" <zryip.theslug at gmail.com> wrote:
> 
>> On Wed, Aug 25, 2010 at 5:44 AM, Terry Judd <tsj at unimelb.edu.au> wrote:
>>> I'd like to be able to have simple lines (i.e. no 3D effect) of a specified
>>> color between my datagrid column headers. Is this doable?
>>> 
>>> Terry...
>> 
>> Hi Terry,
>> 
>> Is the:
>>  set the dgProps["header divider color"] of tMyDatagrid to tMyNewColor
>> 
>> do the trick?
>> 
>> 
>> Regards,
> 
> --
> Dr Terry Judd | Senior Lecturer in Medical Education
> Medical Education Unit
> Melbourne Medical School
> The University of Melbourne
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne





More information about the use-livecode mailing list