[Gambas-user] changing the cell colours in grid (oops forgot the graphic)

Stefano Palmeri rospolosco at ...152...
Thu Apr 17 10:19:09 CEST 2008


Alle 23:03, mercoledì 16 aprile 2008, richard terry ha scritto:
> On Thu, 17 Apr 2008 07:08:21 am Stefano Palmeri wrote:
> > Alle 00:50, mercoledì 16 aprile 2008, richard terry ha scritto:
> > > When I select my grid it gets the default KDE plastik dark blue marquee
> > > which as the attatched piccie shows is really hard to read.
> > >
> > > I've tried making my own colour scheme in KDE, which an interesting
> > > result that the gambas IDE updates its colours, including the
> > > properties grid in gambas, but when the program runs it still gets the
> > > plastik dark blue.
> > >
> > > Is there anyway to change the grid forecolour on a per cell or selected
> > > row basis?
> > >
> > > Regards
> > >
> > > Richard
> >
> > If you're talking about the GridView control, you have to do (examples
> > colors):
> >
> > Gridview1[row, column].forecolor = color.white
> > Gridview1[row, column].backcolor = color.black
> >
> > Bye,
>
> Yes, but that does not change the marquee colour, all it does is change the
> cell colour background and foreground colours. Try it and then select a row
> and see.
>
> I wonder if there is any other way?
>
> Regards
>
> Richard
>

Ok. I understood the issue. I made a little example
with a simple workaround. 

Ciao,

Stefano

> > Stefano
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid-marque-0.0.1.tar.gz
Type: application/x-tgz
Size: 8177 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080417/75b105d5/attachment.bin>


More information about the User mailing list