Prev | Current Page 100 | Next

David Berube

"Practical Reporting with Ruby and Rails"

new(get_app,
"Transmegtech Studios Player Reporting Software",
nil, nil, DECOR_ALL )
@main_window.width=640; @main_window.height=480
control_matrix=FXMatrix.new(@main_window,4, MATRIX_BY_COLUMNS)
FXLabel.new(control_matrix, 'Game:')
@game_combobox = FXComboBox.new(control_matrix, 30, nil,
COMBOBOX_STATIC | FRAME_SUNKEN )
@game_combobox.numVisible = 5
@game_combobox.editable = false
Game.find(:all).each do |game|
@game_combobox.appendItem(game.name , game.id)
end
@game_combobox.connect(SEL_COMMAND) do
update_display
end
FXLabel.new(control_matrix, 'Player:')
@player_combobox = FXComboBox.new(control_matrix, 35, nil,
COMBOBOX_STATIC | FRAME_SUNKEN )
@player_combobox.numVisible = 5
@player_combobox.editable = false
Player.find(:all).each do |player|
@player_combobox.appendItem(player.name , player.id)
end
@player_combobox.connect(SEL_COMMAND) do
update_display
end
@graph_picture_viewer = FXImageView.new(@main_window , nil, nil, 0,
LAYOUT_FILL_X | LAYOUT_FILL_Y)
CHAPTER 4 n CREATING REPORTS ON THE DESKTOP 65
@graph_picture_viewer.


Pages:
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
The Mission kupie wózek gry na gba filmy w sieci badania kierowców