Displaying 1 result from an estimated 1 matches for "filllistctrl".
2004 Apr 21
2
Resizing a ListCtrl
...super(nil, -1, "test frame")
#}}}
# main layout {{{
@dlgSizer = BoxSizer.new(VERTICAL)
centerSizer = BoxSizer.new(HORIZONTAL)
# File List {{{
@fileList = ListCtrl.new(self, -1, DEFAULT_POSITION, Size.new(250,
200),
LC_REPORT | LC_SINGLE_SEL)
fillListCtrl()
centerSizer.add(@fileList, 6, GROW|EXPAND)
# }}}
@dlgSizer.add(centerSizer, 1)
@dlgSizer.set_size_hints(self)
set_sizer(@dlgSizer)
# end main layout }}}
## global events {{{
evt_close {onClose}
evt_size() {|event| onSize(event) }
# }}}
end ## }}}...