listview on tabcontrol
- Posted by Jerry Story <jstory at edmc.net> Jul 15, 2003
- 427 views
The following code run on Win32lib version 0.59.8 8/June/2003 produces an error on closing. In case this is relevant, I'm using Windows NT4. ---------------------------- include win32lib.ew global constant Win = create( Window, "Listview on TabControl Problem",0,1,1,550,400,0), tc = create(TabControl,"",Win,20,40,500,500,0 ), lv = create( ListView,{"column 1","column 2","column 3"},tc,5,5,450,300, or_all({LVS_REPORT,LVS_SHOWSELALWAYS})) object index index = addLVItem( lv, 0, {"apple juice","orange juice","grapefruit juice"}) WinMain(Win,Normal) --------------------------------- Listview directly on the window is ok. List on tabcontrol is ok. Label on tabcontrol is ok. Listview on tabcontrol produces an error on closing. Jerry Story