# FXColorWell example wanted

**URL:** <https://www.ruby-forum.com/t/fxcolorwell-example-wanted/130055>\
**Category:** Rails\
**Created:** [February 25, 2008, 1:36am UTC](https://www.ruby-forum.com/t/fxcolorwell-example-wanted/130055 "2008-02-25T01:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@richard](https://www.ruby-forum.com/u/richard)\
**Post date:** [February 25, 2008, 1:36am UTC](https://www.ruby-forum.com/t/fxcolorwell-example-wanted/130055/1 "2008-02-25T01:36:59Z")

</div>

Hi All,

I’ve got two questions:

1. Where can I find an FXRuby example that employs FXColorWell?
2. Do my Ruby installation have FXColorWell installed properly?

I’m working through Lyle J.'s excellent (so far) tutorial on  
FXRuby. I’m up to Chapter 5, Drag and Drop, at  
[http://www.fxruby.org/doc/dragdroptut.html](http://www.fxruby.org/doc/dragdroptut.html).  
While developing a window to use a dropped-in color for its  
background, Lyle suggests creating another application that uses  
FXColorWell for test purposes.

But I don’t know how to create the latter application. I scoured the  
Net for an example, to no avail. Where can I find one?

I started to code one, and included the statement:

require ‘FXColorWell’

to which Ruby responded “no such file to load – FXColorWell  
(LoadError)”

I searched my Ruby installation for all files named ‘FXColorWell’ in  
part, regardless of case. I found 6 files, all in Ruby\lib\ruby\gems  
\1.8:

gems\fxruby-1.6.13-x86-mswin32\rdoc-sources\FXColorWell.rb  
gems\fxruby-1.6.12-mswin32\rdoc-sources\FXColorWell.rb  
doc\fxruby-1.6.13-x86-mswin32\ri\Fox\FXColorWell\cdesc-  
FXColorWell.yaml  
doc\fxruby-1.6.13-x86-mswin32\rdoc\files\rdoc-sources  
\FXColorWell\_rb.html  
doc\fxruby-1.6.13-x86-mswin32\rdoc\classes\Fox\FXColorWell.html  
doc\fxruby-1.6.12-mswin32\ri\Fox\FXColorWell\cdesc-FXColorWell.yaml

Is the FXColorWell.rb under rdoc-sources the file that my require  
statement would look for?

Thanks in Advance,  
Richard

---

<div class="post-metadata">

**Author:** ![richard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@richard](https://www.ruby-forum.com/u/richard)\
**Post date:** [February 25, 2008, 3:24am UTC](https://www.ruby-forum.com/t/fxcolorwell-example-wanted/130055/2 "2008-02-25T03:24:49Z")

</div>

Woops. I intended to post on the Ruby site. I just realized this is  
the Rails site. Please ignore this post.

With Apologies,  
Richard

On Feb 24, 7:36 pm, Richard
