VisualuRuby(tmp) Reference

VRRebar

Coloring : swin class : vruby class

Class Hierarchy

Object
SWin::Window
VRWinComponent
VRControl
VRNotifyControl
VRRebar

Including Modules

VRParent

Child classes or Classes/Modules including this

none

vr/vrcomctl.rb

VRRebar

Rebar control.
If comctl32.dll on your system is too old, this is not available.

Methods

insertband(cntl,txt,minx=30,miny=cnt.h+2,band=-1)
Creates a new band and set the control on it. txt is the caption of the band and minx/miny is the minimum size of the band. The control is created by rebar's addControl() but its event handling is on the parent window.
bkColor=(c)
bkColor
Sets/Gets background color of rebar.
textColor=(c)
textColor
Sets/Gets band caption color.
relayout(x=self.x, y=self.y, w=self.w, h=self.h)
rearranges rebar's bands in the specified rectangle.

VisualuRuby(tmp) Reference Index : Project HomePage(English) : Project HomePage(Japanese) : Sourceforge vruby page
Generated at Sun Feb 24 01:29:59 +0900 2008