Y
Yeghia Dolbakyan
Hi Guys
I have a winform with tab control+tab pages. The logic of application
requires to work with controls in all pages on application load and
displaying first page initially. The problem I have is that listview control
in one of those pages do not work correctly until I select that page
manually. I've checked with Spy++ and found that those are created either on
mouse click or if TablConrol.SelectedPage property is set but here there
exists another problem. If I selected two pages sequentially only last page
is created,
tabCtrl.SelectedPage = 3;
tabCtrl.SelectedPage = 0;
e.g. I don;t have correct behaviour with listview control on third page.
BTW, The problem with listview is that selecting item do not add that item
to SelectedItems collection until I move to third page at least one time.
Do you have any idea?
Regards
Yeghia
I have a winform with tab control+tab pages. The logic of application
requires to work with controls in all pages on application load and
displaying first page initially. The problem I have is that listview control
in one of those pages do not work correctly until I select that page
manually. I've checked with Spy++ and found that those are created either on
mouse click or if TablConrol.SelectedPage property is set but here there
exists another problem. If I selected two pages sequentially only last page
is created,
tabCtrl.SelectedPage = 3;
tabCtrl.SelectedPage = 0;
e.g. I don;t have correct behaviour with listview control on third page.
BTW, The problem with listview is that selecting item do not add that item
to SelectedItems collection until I move to third page at least one time.
Do you have any idea?
Regards
Yeghia