[fxruby-users] Retriving FXTextField Data

Joel VanderWerf vjoel at PATH.Berkeley.EDU
Mon Mar 28 01:57:08 EST 2005


Harold Worby wrote:

> 	FXButton.new(buttons, "&Accept", nil, dlg, FXDialogBox::ID_ACCEPT,
> 	 FRAME_RAISED|FRAME_THICK|LAYOUT_RIGHT|LAYOUT_CENTER_Y){
> 		 print "Accept1 ",cell.row," ",txtName.text,"\n"
> 		 print "Accept2 ",cell.row," ",txtPath.text,"\n"
> 		 print "Accept3 ",cell.row," ",txtSize.text,"\n"
> 		 @table.setItemText(cell.row,1,txtName.text)
> 		 @table.setItemText(cell.row,2,txtPath.text)
> 		 @table.setItemText(cell.row,3,txtSize.text)
> 	    }

You are missing a ".connect(SEL_COMMAND)" before the { . I make that 
mistake often :)


More information about the fxruby-users mailing list