Ricardo Jasinski Guest
|
Posted: Thu Jul 10, 2003 3:06 am Post subject: ElTree unexpected behavior |
|
|
Hello folks,
anyone met this anomaly? I instantiate an ElTree on a form, then add 2
(or more) header sections at design time. Then, at run time, I add an
item to it and set its caption. The next thing, I add a ColumnText to
this item. Repeat procedure for new items.
The problem is, when application runs, only the caption for the items
are shown. The column text appears as black cells on the grid! This
problem always happens!
The weird thing is, when I click on a row, it gets properly drawn. So
I've implemented workaround #1:
Workaround #1:
For each item in ElTree,
select that item,
deselect that item.
Before making my form visible, I used to execute workaround #1. But
then I needed to put the eltree inside a PageControl tabsheet, and the
workaround stopped working; now it works only it the eltree's tabsheet
is the active one.
Any ideas? Is this a bug or am I (most likely) doing something wrong?
Thanks for any ideas on this subject,
Jasinski,
using BCB Pro 5.0, and ElTree Lite v3.20.
|
|