NOOB question

View: New views
6 Messages — Rating Filter:   Alert me  

NOOB question

by Micheal Falcon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I have been working with FXRuby for a few weeks and have run into a problem.  I have a list box and I would like to update the value displayed in that list box whenever certain events happen in my program.  I have used a text field with a FXDataTarget and whenever I update the FXDataTarget it would update in my text field.   I can't get this working for a list box.  Could I get some explanation on why this is not working, and maybe a suggestion on what I should be doing.
Thanks
Mike
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: NOOB question

by Joel VanderWerf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Micheal Falcon wrote:
> Hi all,
> I have been working with FXRuby for a few weeks and have run into a problem.  I have a list box and I would like to update the value displayed in that list box whenever certain events happen in my program.  I have used a text field with a FXDataTarget and whenever I update the FXDataTarget it would update in my text field.   I can't get this working for a list box.  Could I get some explanation on why this is not working, and maybe a suggestion on what I should be doing.

Do you mean you want to update the entries contained in the list, or
update the selection?

--
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: NOOB question

by Micheal Falcon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The selection displayed in the list box.


On Wednesday, June 10, 2009, at 12:52PM, "Joel VanderWerf" <vjoel@...> wrote:

>Micheal Falcon wrote:
>> Hi all,
>> I have been working with FXRuby for a few weeks and have run into a problem.  I have a list box and I would like to update the value displayed in that list box whenever certain events happen in my program.  I have used a text field with a FXDataTarget and whenever I update the FXDataTarget it would update in my text field.   I can't get this working for a list box.  Could I get some explanation on why this is not working, and maybe a suggestion on what I should be doing.
>
>Do you mean you want to update the entries contained in the list, or
>update the selection?
>
>--
>       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
>_______________________________________________
>fxruby-users mailing list
>fxruby-users@...
>http://rubyforge.org/mailman/listinfo/fxruby-users
>
>
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: NOOB question

by Micheal Falcon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
On Wednesday, June 10, 2009, at 12:52PM, "Joel VanderWerf" <vjoel@...> wrote:

>Micheal Falcon wrote:
>> Hi all,
>> I have been working with FXRuby for a few weeks and have run into a problem.  I have a list box and I would like to update the value displayed in that list box whenever certain events happen in my program.  I have used a text field with a FXDataTarget and whenever I update the FXDataTarget it would update in my text field.   I can't get this working for a list box.  Could I get some explanation on why this is not working, and maybe a suggestion on what I should be doing.
>
>Do you mean you want to update the entries contained in the list, or
>update the selection?
>
>--
>       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
>_______________________________________________
>fxruby-users mailing list
>fxruby-users@...
>http://rubyforge.org/mailman/listinfo/fxruby-users
>
>
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: NOOB question

by Micheal Falcon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I solved this problem easy enough.  I am using setCurrentItem method which is not listed in the API for a FXListBox, but is listed for a FXComboBox.  It exists though for the list box and works.  Is there a better way?  
Thanks
Mike

 
On Wednesday, June 10, 2009, at 12:52PM, "Joel VanderWerf" <vjoel@...> wrote:

>Micheal Falcon wrote:
>> Hi all,
>> I have been working with FXRuby for a few weeks and have run into a problem.  I have a list box and I would like to update the value displayed in that list box whenever certain events happen in my program.  I have used a text field with a FXDataTarget and whenever I update the FXDataTarget it would update in my text field.   I can't get this working for a list box.  Could I get some explanation on why this is not working, and maybe a suggestion on what I should be doing.
>
>Do you mean you want to update the entries contained in the list, or
>update the selection?
>
>--
>       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
>_______________________________________________
>fxruby-users mailing list
>fxruby-users@...
>http://rubyforge.org/mailman/listinfo/fxruby-users
>
>
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Any graph tool to use with FXRuby

by Soumyanath Chatterjee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is there any graph making tool to use with FXRuby?

I tried using gruff, but not able to make it work so far.

--
Regards

Soumyanath
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users