CheckListBox on a TabControl... wierd behaviour

  • Thread starter Thread starter dev guy
  • Start date Start date
D

dev guy

hi

I have a tabcontrol with few pages. 2 of the tab pages have one checklistbox
each, when I flip through the tab pages, the checkboxlist loses the check
states.

I thought, the tab control may not be painting them properly. but that is
not the case. the check states are lost by the checklistbox control.

anly clue?

warm regards
 
Hi

Wierd - and not reproducible (by me) anyway!

Two tab pages, items on each. Check some items, swap between pages,
everything looks fine...any other information that you might have missed out?

Nigel Armstrong
 
Are you altering the contents of the listbox while the tab is not displayed?
Are you loading data into the listbox during any tab event?
I have seen cases where the checkedlistbox was not rendered correctly when
using tab pages a number of times. However, the underlying data was always
still correct. So I have not seen the particular behaviour you describe.
This leads me to believe possibly something else is happening.

Gerald
 
hi

No, nothing being done on the tab events.
the checkboxlist is being initialized in the form load only and left as it
is.

-- haresh
 
Back
Top