search for: ontablehex

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

2007 Aug 24
2
setting the font in FXText
...OUT_CENTER_X|LAYOUT_CENTER_Y|LAYOUT_FILL_X) ok.setDefault ok.setFocus end end However, when I add the following method to FXTextDialog and call it I get a Seg Fault!: def set_font() @fxtext.font = FXFont.new(getApp(), "courier", 8) end Usage in my application: def onTableHex(sender, sel, ptr) @dialog = FXTextDialog.new(self) @dialog.set_font() @dialog.show end How do I set my font once I have already created the dialog box or is this possible? Jason This message and any enclosures are intended only for the addressee. Please notify the sender by...