search for: fxhorizontalfram

Displaying 6 results from an estimated 6 matches for "fxhorizontalfram".

Did you mean: fxhorizontalframe
2009 Jun 23
9
Learning FXRuby please help!
...onse to pressing a button. Any hints? Thanks! Marlene require ''fox16'' include Fox class Lookup < FXMainWindow def initialize(app) super(app, "Lookup window", :width=>400, :height=>600, :opts => DECOR_ALL|LAYOUT_FILL_X|LAYOUT_FILL_Y) bframe = FXHorizontalFrame.new(self, :opts => LAYOUT_FILL_X) hearButton = FXButton.new(bframe, "Do you hear me?") yesWindow = FXHorizontalFrame.new(self, :opts => FRAME_GROOVE|LAYOUT_FILL_X) yesLabel = FXLabel.new(yesWindow,"Yes") yesWindow.hide puts "window shown?&qu...
2007 Aug 24
2
setting the font in FXText
...hex dump. When do the following it works as expected: # A little dialog box to use in our tests class FXTextDialog < FXDialogBox def initialize(owner) # Invoke base class initialize function first super(owner, "Temp", DECOR_TITLE|DECOR_BORDER, 0, 0, 200, 200) button = FXHorizontalFrame.new(self, LAYOUT_SIDE_BOTTOM|FRAME_NONE|LAYOUT_FILL_X|PACK_UNIFORM_WIDTH) contents = FXHorizontalFrame.new(self, LAYOUT_SIDE_TOP|FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y|PACK_UNIFORM_WIDT H) @fxtext = FXText.new(contents, nil, 0, TEXT_READONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FI...
2006 Apr 10
1
Display an arrow, or transparent image colors
...Components. I think I know how I can do it, but I ran into a problem displaying pixel images with transparent background. I describe this image display problem here and ask for advice. but if someone knows of a different and easier way to display arrows, please tell me. Example Problem: I want a FXHorizontalFrame to contain, from left to right, (1) a FXTextField, (2) the arrow, pointing from to the right, (3) a FXDial. I figured I can display the Arrow using a .png image containing a red arrow on transparent background, loading that image using FXPNGIcon, and display it in FXImageFrame. Example code: req...
2008 Sep 06
0
Tab control using FXRuby
...connect(SEL_COMMAND) do puts "postcode contains #{postcode.value}" main.setPosition(-0, -0) ## scroll back to first field ( it does ) fld1a.setFocus ## focus on first field ( it does NOT ! -> first BUTTON "New" ) end btns= FXHorizontalFrame.new(amain, LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_SUNKEN) # btns new= FXButton.new(btns, "New", :opts => LAYOUT_FILL_X| BUTTON_NORMAL) new.connect(SEL_COMMAND) do |sender, sel, checked| # ## your button press code here ## end # new clear= FXButton.new(btns,"Clear", :opts =&...
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
...filemenu = FXMenuPane.new(self) FXMenuTitle.new(menubar, "&File", nil, filemenu) FXMenuCommand.new(filemenu, "&Quit\tCtl-Q\tQuit the application", nil, app, FXApp::ID_QUIT) # Field field = FXTextField.new(self, 15) # Table f = FXHorizontalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) table = FXTable.new(f, nil, 0, TABLE_COL_SIZABLE|LAYOUT_FILL_X|LAYOUT_FILL_Y) table.visibleRows = 3 table.visibleColumns = 3 table.setTableSize(3, 3) # Data field.text = ''copy me!'' table.setItemText(0, 0...
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote: > I tried to submit the following message to the "fxruby-users" > message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org > , but the message did not appear). I conclude I do not know how to > submit questions to this message board. You need to be subscribed to the mailing list before you