From: Nigel Wilkinson Date: 2004-06-03T07:43:34+09:00 Subject: Re: Help with fox-tool --On Thursday, June 03, 2004 07:22:48 +0900 Simon Strandgaard wrote: > Nigel Wilkinson wrote: >> I've been playing with this app and think it shows great promise. >> According to the documentation I believe FXDialogBox has been >> implemented but I can't workout how to use it. Any pointers would be >> greatly appreciated. > > How about? > > require 'fox' > include Fox > > class RedDialog < FXDialogBox > def initialize(owner) > super(owner, "Editor", DECOR_ALL, 0, 0, 640, 480, 0, 0, 0, 0, 0, 0) > # initialize buttons.. etc > end > def create > super > show > end > end > > -- > Simon Strandgaard Perhaps I should have been more explicit. My problem is how to use the FXDialogBox class from within fox-tool which is an interactive graphical user interface builder for FXRuby rather than how to use it from within FXRuby. Cheers Nigel