Page 1 of 1

Treeview via code

Posted: Fri Feb 15, 2008 1:13 pm
by Eroni
Is possible put a box around treeview via code like:
http://www.swsistemas.com.br/imagens/imagem.bmp


Many thanks

Posted: Fri Feb 15, 2008 2:29 pm
by nageswaragunupudi
oTree:nStyle := nOr( oTree:nStyle, WS_BORDER )

and enable XP Themes

Posted: Fri Feb 15, 2008 7:28 pm
by Eroni
Nageswaragunupudi, many thanks, but it works only when scroll bar appears, do you know why?