ritchie
2/19/2005 2:28:00 PM
That didn;t work, here's what I'mdoing now
simplelist.connect(SEL_CLICKED) { |x,y,selected|
command = simplelist.getItemData(selected)
params = Commands.commands[command]["params"]
@intTarget = FXDataTarget.new(1)
params.each { |ah|
p "here with #{ah}"
a = FXLabel.new(@parameter_frame, ah, nil)
b = FXTextField.new(@parameter_frame, 10, @intTarget,
FXDataTarget::ID_VALUE)
}
@parameter_frame.recalc
@parameter_frame.raiseWindow
@parameter_frame.update
@parameter_frame.forceRefresh
@app.repaint
@app.forceRefresh
p "nchile #{@parameter_frame.numChildren}"
p "shown" if @parameter_frame.shown?
}
@parameter_frame is an FXMatrix and it already has 2 fields in it that
I can already see, the nchildren and shown? report what I expect.
Any other ideas?
Thanks
R