Page 1 of 1

Gridlines for ListBox

Posted: Mon May 10, 2010 1:34 pm
by Rathinagiri
Can we have Gridlines for ListBox as in Grid?

Re: Gridlines for ListBox

Posted: Mon May 10, 2010 2:06 pm
by Roberto Lopez
rathinagiri wrote:Can we have Gridlines for ListBox as in Grid?
Nop!

AFAIR, Windows API don't have such feature.

You could use a grid with no headers and only one column.

That will give you the same result.

Re: Gridlines for ListBox

Posted: Mon May 10, 2010 3:08 pm
by Rathinagiri
Thanks for the answer and instant solution Roberto. :)

Re: Gridlines for ListBox

Posted: Mon May 10, 2010 7:22 pm
by esgici
Roberto Lopez wrote: ...
You could use a grid with no headers ...
...
Header-less GRID ? Not "empty header", isn't ?

Please give a little example; I need eagerly it !

Best regards

--

Esgici

Re: Gridlines for ListBox

Posted: Mon May 10, 2010 7:34 pm
by jparada
Hi Esgici,

Please take a look at this:

Please modify grid.02 example and apply the change:

Code: Select all

NOHEADERS ;
instead of

Code: Select all

HEADERS {'Column 1','Column 2','Column 3'} ;
Best Regards
Javier

Re: Gridlines for ListBox

Posted: Mon May 10, 2010 7:48 pm
by esgici
Gracias Javier

I had missed it in the documentation :(

Saludos

--

Esgici