search for: label_normal

Displaying 1 result from an estimated 1 matches for "label_normal".

2008 Sep 06
0
Tab control using FXRuby
...idth = 422 self.height = 250 amain= FXVerticalFrame.new(self,LAYOUT_NORMAL|LAYOUT_FILL_X|LAYOUT_FILL_Y) main = FXScrollWindow.new(amain, LAYOUT_FILL_X|LAYOUT_FILL_Y) addr= FXMatrix.new(main, 2,MATRIX_BY_COLUMNS|LAYOUT_CENTER_X) # addr FXLabel.new(addr, "First Name" , nil,LABEL_NORMAL|LAYOUT_FILL_X|LAYOUT_FILL_Y) fld1= FXDataTarget.new("") fld1a=FXTextField.new(addr,20, fld1, FXDataTarget::ID_VALUE, FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y) fld1a.connect(SEL_COMMAND) do puts "fld1 contains #{fld1.value}" main.setPosition(-10, -10) end FXLabel.ne...