# FXRuby

**URL:** https://www.ruby-forum.com/c/desktop/fxruby/28.md?page=1

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 2

---

## [FXRuby & Excel windows](https://www.ruby-forum.com/t/fxruby-excel-windows/180311)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 0\
**Last updated:** [December 17, 2009, 6:43am UTC](https://www.ruby-forum.com/t/fxruby-excel-windows/180311 "2009-12-17T06:43:12Z")

</div>

I have a ruby app on Windows, with an FXRuby UI that opens up Excel using Win32OLE. The Excel window obscures the UI at one point. How can I programmatically send the Excel window to the back and/or bring the FXRuby…

---

## [TimerDemo.rbw problem](https://www.ruby-forum.com/t/timerdemo-rbw-problem/179914)

<div class="topic-metadata">

**Author:** [@r-a-mueller](https://www.ruby-forum.com/u/r-a-mueller)\
**Replies:** 1\
**Last updated:** [December 8, 2009, 12:13am UTC](https://www.ruby-forum.com/t/timerdemo-rbw-problem/179914 "2009-12-08T00:13:40Z")

</div>

Hi, I got this TimerDemo from: http://groups.google.com/group/fxruby-google/tree/browse\_frm/thread/40a67540b556c044/07dc2fc50395968f?rnum=1&q=FXRuby&\_done=%2Fgroup%2Ffxruby-google%2Fbrowse\_frm%2Fthread%2F40a67540b556c0…

---

## [Writing image into a ruby file](https://www.ruby-forum.com/t/writing-image-into-a-ruby-file/178896)

<div class="topic-metadata">

**Author:** [@hailandkill](https://www.ruby-forum.com/u/hailandkill)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 4:46am UTC](https://www.ruby-forum.com/t/writing-image-into-a-ruby-file/178896 "2009-11-13T04:46:28Z")

</div>

hi all, I remember (very) long time ago, there was some information posted about loading an image into a ruby file. I am trying to look for the sniplet of the code but couldn’t find anytying. Just wondering if anyone …

---

## [Not receiving FXTopWindow events](https://www.ruby-forum.com/t/not-receiving-fxtopwindow-events/178814)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/not-receiving-fxtopwindow-events/178814 "2009-11-11T21:17:26Z")

</div>

I am trying to listen for the FXTopWindow events SEL\_CLOSE, SEL\_MINIMIZE, SEL\_MAXIMIZE, SEL\_RESTORE because I want to execute some code when a person presses the X button to close the window, etc. None of my code gets…

---

## [Need hellp to position 4 images in fxfuby main window](https://www.ruby-forum.com/t/need-hellp-to-position-4-images-in-fxfuby-main-window/176220)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/need-hellp-to-position-4-images-in-fxfuby-main-window/176220 "2009-11-11T21:07:41Z")

</div>

Please suggest how chart4.rb can be modified, to position the 4 image in the four corners of the main window. Desired layout shown below. |------------------------| | chart1 | chart2 | |------------------------| …

---

## [Problem with foxGUIb](https://www.ruby-forum.com/t/problem-with-foxguib/151822)

<div class="topic-metadata">

**Author:** [@massimiliano](https://www.ruby-forum.com/u/massimiliano)\
**Replies:** 2\
**Last updated:** [November 11, 2009, 9:01pm UTC](https://www.ruby-forum.com/t/problem-with-foxguib/151822 "2009-11-11T21:01:57Z")

</div>

Hi. I’m learning Ruby,m and I’m having a little problem. Some days ago, I searched a GUI Builder to construct GUIs to my first scripts, and founded foxGUIb. In my Office (on a Windows XP 64bits box), I installed libG…

---

## [ERROR: libjpeg-7.dll was not found](https://www.ruby-forum.com/t/error-libjpeg-7-dll-was-not-found/177264)

<div class="topic-metadata">

**Author:** [@neill](https://www.ruby-forum.com/u/neill)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 10:35am UTC](https://www.ruby-forum.com/t/error-libjpeg-7-dll-was-not-found/177264 "2009-10-14T10:35:15Z")

</div>

Installed the new Ruby installer on windows (rubyinstaller-1.9.1-p243-preview2.exe) then installed fxruby gem install fxruby. then ran ruby and on the statement require ‘fox16’ get error: the application failed to …

---

## [FXTable - iterating through headers](https://www.ruby-forum.com/t/fxtable-iterating-through-headers/174254)

<div class="topic-metadata">

**Author:** [@ymeth](https://www.ruby-forum.com/u/ymeth)\
**Replies:** 0\
**Last updated:** [August 23, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/fxtable-iterating-through-headers/174254 "2009-08-23T17:57:41Z")

</div>

Hi, my question concerns FXHeaders in an FXTable As the title says I’m trying to iterate through each header in order to get it’s text. However, im getting some very strange errors (that is: strange to me). Here is …

---

## [Fxruby expert needed](https://www.ruby-forum.com/t/fxruby-expert-needed/172201)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 0\
**Last updated:** [July 16, 2009, 5:09pm UTC](https://www.ruby-forum.com/t/fxruby-expert-needed/172201 "2009-07-16T17:09:46Z")

</div>

Can someone direct to place where I can get fxruby consulting services. I have application that uses fxruby, but I need to make more robust with regard to ui. I am looking for someone to examine code and suggest how t…

---

## [Flickering problem](https://www.ruby-forum.com/t/flickering-problem/226040)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 0\
**Last updated:** [July 15, 2009, 10:37am UTC](https://www.ruby-forum.com/t/flickering-problem/226040 "2009-07-15T10:37:38Z")

</div>

who can stop the flickering? thats my code: require ‘fox16’ require ‘fox16/colors’ include Fox class Fahrrad attr\_accessor :col\_Rahmen #draw bike $fahrrad=1 def initialize(col\_background = FXColor::Green) @col\_…

---

## [Re: FxRuby learning resources](https://www.ruby-forum.com/t/re-fxruby-learning-resources/166717)

<div class="topic-metadata">

**Author:** [@leonardmreidy](https://www.ruby-forum.com/u/leonardmreidy)\
**Replies:** 0\
**Last updated:** [April 28, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/re-fxruby-learning-resources/166717 "2009-04-28T21:52:22Z")

</div>

Hi all, Just a quick question. I am looking for intermediate to advanced level FxRuby programming resources, books, tutorials, anything really that could help me to improve my GUI skills. I have done the Google rou…

---

## [Redraw entire FXCanvas instead of just exposed parts?](https://www.ruby-forum.com/t/redraw-entire-fxcanvas-instead-of-just-exposed-parts/164854)

<div class="topic-metadata">

**Author:** [@tomast](https://www.ruby-forum.com/u/tomast)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/redraw-entire-fxcanvas-instead-of-just-exposed-parts/164854 "2009-04-06T17:54:33Z")

</div>

Hi all I am drawing some text on the screen, which is changed every 3 seconds. I need to get the canvas to change when the text does. If I move a window over the text on the canvas, it redraws the exposed parts with …

---

## [FXDCWindow.drawText doesnt draw text](https://www.ruby-forum.com/t/fxdcwindow-drawtext-doesnt-draw-text/164796)

<div class="topic-metadata">

**Author:** [@tomast](https://www.ruby-forum.com/u/tomast)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 3:34am UTC](https://www.ruby-forum.com/t/fxdcwindow-drawtext-doesnt-draw-text/164796 "2009-04-06T03:34:30Z")

</div>

Hi guys, I am having a problem trying to draw text on a canvas. I have the following code: class Canvas \< FXMainWindow def initialize(xaApp,sTitle) super(xaApp, sTitle,:opts =\> DECOR\_ALL, :width =\> 800, :height =\> 6…

---

## [Matrix layout](https://www.ruby-forum.com/t/matrix-layout/163952)

<div class="topic-metadata">

**Author:** [@kanhu](https://www.ruby-forum.com/u/kanhu)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/matrix-layout/163952 "2009-03-26T13:27:35Z")

</div>

Hi all, In matrix layout, during design i got as like in title window. But while running it shows me like in main window What is the problem? How to rectify it…

---

## [fxRuby and NetBeans - error](https://www.ruby-forum.com/t/fxruby-and-netbeans-error/135942)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 2\
**Last updated:** [February 16, 2009, 2:06am UTC](https://www.ruby-forum.com/t/fxruby-and-netbeans-error/135942 "2009-02-16T02:06:15Z")

</div>

Initial caveat: I come from a M$ VS world so … yes I’m lazy. :stuck\_out\_tongue: Ok I definately think Ruby’s got a lot of potential so I’m trying to play with it. I bassically need two things in order to make my life …

---

## [Error during fxruby runtime : Expected Xft library version 2](https://www.ruby-forum.com/t/error-during-fxruby-runtime-expected-xft-library-version-2/158629)

<div class="topic-metadata">

**Author:** [@warrior](https://www.ruby-forum.com/u/warrior)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 4:01am UTC](https://www.ruby-forum.com/t/error-during-fxruby-runtime-expected-xft-library-version-2/158629 "2009-01-26T04:01:03Z")

</div>

Hi, I have just installed fxruby on my system and seeing the following warning: irb(main):001:0\> require ‘fox16’ =\> true irb(main):002:0\> include Fox =\> Object irb(main):003:0\> app = FXApp.new Expected Xft librar…

---

## [Accelerators not working](https://www.ruby-forum.com/t/accelerators-not-working/157864)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 0\
**Last updated:** [January 16, 2009, 2:53am UTC](https://www.ruby-forum.com/t/accelerators-not-working/157864 "2009-01-16T02:53:34Z")

</div>

I’m having trouble getting menu accelerators to work. From reading the Fox documentation it looks like menu accelerators should automatically be registered when the accelText property of an FXMenuCommand is set, but …

---

## [Clickable image widget?](https://www.ruby-forum.com/t/clickable-image-widget/156945)

<div class="topic-metadata">

**Author:** [@gomix](https://www.ruby-forum.com/u/gomix)\
**Replies:** 0\
**Last updated:** [January 5, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/clickable-image-widget/156945 "2009-01-05T17:17:25Z")

</div>

Hi, im just looking for the correct widget to implement clickable images, any pointers? regards

---

## [Copy to clipboard method](https://www.ruby-forum.com/t/copy-to-clipboard-method/153561)

<div class="topic-metadata">

**Author:** [@khmckgrp](https://www.ruby-forum.com/u/khmckgrp)\
**Replies:** 0\
**Last updated:** [November 18, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/copy-to-clipboard-method/153561 "2008-11-18T19:54:51Z")

</div>

Hi, all, I’m trying to implement a copy to clipboard functionality, but have been unsuccessful. The app is mostly ripped from imageviewer.rb ‘http://www.fxruby.org/doc/examples.html’. Can anyone show me how this is …

---

## [Add another tab when opening file](https://www.ruby-forum.com/t/add-another-tab-when-opening-file/151786)

<div class="topic-metadata">

**Author:** [@wujciol](https://www.ruby-forum.com/u/wujciol)\
**Replies:** 1\
**Last updated:** [October 25, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/add-another-tab-when-opening-file/151786 "2008-10-25T18:10:38Z")

</div>

I’m writing editor using FXRuby but I’ve got a problem. FXTabItems are only visible if i add them in initialize method of my class. How to connect add\_tab method with position in menu to show FXTabItem? This is code: …

---

## [How to create an object of File dialog box](https://www.ruby-forum.com/t/how-to-create-an-object-of-file-dialog-box/149666)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 0\
**Last updated:** [September 27, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/how-to-create-an-object-of-file-dialog-box/149666 "2008-09-27T20:56:30Z")

</div>

Hi all, I want to create a file dialog box. And I copy a script from FXRuby (by Lyle J.) as follow: require ‘fox16’ include Fox dialog=FXFileDialog.new(self,“Open Files”) #line 4 dialog.patternList=\[ “All Files ()…

---

## [Strange behavior in scaling an image](https://www.ruby-forum.com/t/strange-behavior-in-scaling-an-image/149403)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 2:17pm UTC](https://www.ruby-forum.com/t/strange-behavior-in-scaling-an-image/149403 "2008-09-24T14:17:24Z")

</div>

Can anyone tell me the difference between self.image = Fox::FXJPGImage.new(app, io.read).scale(100,100,1) and self.image = Fox::FXJPGImage.new(app, io.read) self.image.scale(100,100,1) ??? The former makes the …

---

## [Dynamic Text in FXButton](https://www.ruby-forum.com/t/dynamic-text-in-fxbutton/143583)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 1\
**Last updated:** [August 2, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/dynamic-text-in-fxbutton/143583 "2008-08-02T12:28:21Z")

</div>

Is there a way to have the text in a button change when you press the button? For example, a button that says “Hi”, and when you click it says “Bye”. I can’t find how to do this. Thanks, Alex

---

## [FXTreeList clarification](https://www.ruby-forum.com/t/fxtreelist-clarification/138646)

<div class="topic-metadata">

**Author:** [@teena](https://www.ruby-forum.com/u/teena)\
**Replies:** 0\
**Last updated:** [May 26, 2008, 10:58am UTC](https://www.ruby-forum.com/t/fxtreelist-clarification/138646 "2008-05-26T10:58:01Z")

</div>

Hi, i’m pretty new to both ruby and fxruby, and im currently trying to work my way through writing my first program but i’ve run into a bit of a ditch trying to work out what i need. Let me elaborate. I’m trying to m…

---

## [How to make an installer for an FXRuby app?](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133117)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 0\
**Last updated:** [March 28, 2008, 1:18am UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133117 "2008-03-28T01:18:59Z")

</div>

Asked this on the wrong forum. Now that I have FXRuby working on OS X, if I write an app, how do I package it so that people can install it with one-click on all 3 platforms: Windows, \*nix, OS X?

---

## [Demo](https://www.ruby-forum.com/t/demo/196535)

<div class="topic-metadata">

**Author:** [@ernsttanaka](https://www.ruby-forum.com/u/ernsttanaka)\
**Replies:** 0\
**Last updated:** [December 4, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/demo/196535 "2007-12-04T20:56:41Z")

</div>

I have a big favor to ask. I am new to ruby and have managed to build an application which manages my Option Trades. Now I get to the point were I want to make a GUI for my application. Based on all the info provide I…

---

## [The real deal with Tk on Mac](https://www.ruby-forum.com/t/the-real-deal-with-tk-on-mac/117241)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [October 15, 2007, 11:35am UTC](https://www.ruby-forum.com/t/the-real-deal-with-tk-on-mac/117241 "2007-10-15T11:35:21Z")

</div>

this is really about Tk on Mac… I find it so easy to use Ruby on the Mac – it is pre-installed. but to get Tk to work, I just can’t… installed ActiveTcl on the Mac and still not work.

---

## [FXRuby default error handler](https://www.ruby-forum.com/t/fxruby-default-error-handler/116642)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 9\
**Last updated:** [October 11, 2007, 10:57am UTC](https://www.ruby-forum.com/t/fxruby-default-error-handler/116642 "2007-10-11T10:57:46Z")

</div>

Hi, I’m using FXRuby for building a database front-end. I have quite a lot of classes now, made up of multiple methods each. Most of the time I use rescue blocks in case an exception is raised by the framemork. But do…

---

## [FXTable: how to prevent a particular column from being resized?](https://www.ruby-forum.com/t/fxtable-how-to-prevent-a-particular-column-from-being-resized/116649)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 3\
**Last updated:** [October 9, 2007, 9:13am UTC](https://www.ruby-forum.com/t/fxtable-how-to-prevent-a-particular-column-from-being-resized/116649 "2007-10-09T09:13:47Z")

</div>

Hi again, I’m using FXTables with a few hidden columns, which have 0 width. Is there a way to prevent the user from resizing these columns, which only have an internal meaning? Philippe

[Previous page](https://www.ruby-forum.com/c/desktop/fxruby/28.md)
