From brutyn_nick at hotmail.com Wed Feb 1 07:32:20 2006 From: brutyn_nick at hotmail.com (Brutyn Nick hotmail) Date: Wed, 1 Feb 2006 13:32:20 +0100 Subject: [fxruby-announce] fxruby system tray Message-ID: hey, can anyone help me to make my .rb file convert to an .exe and i want that the program also comes in the system trey, not just only in the bar with the rest (like msn messenger) Thanks in advance. Brutyn Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-announce/attachments/20060201/47d41f74/attachment.htm From brutyn_nick at hotmail.com Wed Feb 1 08:37:14 2006 From: brutyn_nick at hotmail.com (Brutyn Nick hotmail) Date: Wed, 1 Feb 2006 14:37:14 +0100 Subject: [fxruby-announce] Option Menu help Message-ID: hey, i want to make an option menu when the first list is selected, the second will be filled. the first list contains a list of clients the second list contains all locations of the selected client this is my code: Making the client list # Second row FXLabel.new(matrix, "Client") # Popup menu clientPane = FXPopup.new(self) FXOption.new(clientPane, "Select a client" , nil, nil, 0, JUSTIFY_HZ_APART|ICON_AFTER_TEXT) @clients = @driver.FetchClients(@@twa, @user.id) for client in @clients FXOption.new(clientPane, client.name , nil, nil, 0, JUSTIFY_HZ_APART|ICON_AFTER_TEXT).connect(SEL_COMMAND) { getGeotagsByClient() } end # Option menu @clientMenu = FXOptionMenu.new(matrix, clientPane, (FRAME_RAISED|FRAME_THICK| JUSTIFY_HZ_APART|ICON_AFTER_TEXT|LAYOUT_RIGHT|LAYOUT_CENTER_Y)) Making the location list (just shows "Select a client first") # Third row FXLabel.new(matrix, "Geotag") # Popup menu geotagPane = FXPopup.new(self) FXOption.new(geotagPane, "Select a client first", nil, nil, 0, JUSTIFY_HZ_APART|ICON_AFTER_TEXT) # Option menu @geotagMenu = FXOptionMenu.new(matrix, geotagPane, (FRAME_RAISED|FRAME_THICK| JUSTIFY_HZ_APART|ICON_AFTER_TEXT|LAYOUT_RIGHT|LAYOUT_CENTER_Y)) when i select an item in the first list the getGeotagsByClient() is actived. def getGeotagsByClient() getApp().beginWaitCursor() do current_option = @clientMenu.getCurrentNo() current_client_id = @clients[current_option-1].id pane = FXPopup.new(self) geotags = @driver.FetchGeotagsByClient(@@twa, @user.id, current_client_id) test = "" for geotag in geotags FXOption.new(pane, geotag.address1 + ", " + geotag.address2 + ", " + geotag.floor, nil, nil, 0, JUSTIFY_HZ_APART|ICON_AFTER_TEXT) test += geotag.address1 + "\n " end @testing.text = test @geotagMenu.menu = pane end end here the second list should be filled but isnt. "@testing" contains all the locations => CORRECT " @geotagMenu" only contains the first item, no the whole list Can some help me? Thanks in adance Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-announce/attachments/20060201/17391b46/attachment.htm From ryco at gmx.net Wed Feb 1 10:03:39 2006 From: ryco at gmx.net (Henrik Horneber) Date: Wed, 01 Feb 2006 16:03:39 +0100 Subject: [fxruby-announce] Option Menu help In-Reply-To: References: Message-ID: <43E0CDCB.9050308@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Please stop spamming the announce list. Use fxruby-users instead. Thank you. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD4M3LpWrUo0vjtssRAp1WAJ9cN80d8d74i9wAXurKugIjpxC2iACdHAtF g+Mtrl7B9ElUFSJGc5gFeW4= =IlUm -----END PGP SIGNATURE----- From lyle at knology.net Wed Feb 15 17:20:15 2006 From: lyle at knology.net (lyle@knology.net) Date: 15 Feb 2006 22:20:15 -0000 Subject: [fxruby-announce] Fwd: [fxruby-users] RFC on Proposed API Change for FXRuby 1.6 Message-ID: <20060215222015.12644.qmail@webmail3.knology.net> ------------- Forwarded message follows ------------- All, If you have a few spare moments, please spend them to read this post about an API change I'm considering for FXRuby 1.6: http://lylejohnson.name/blog/?p=133 Please address comments wherever you feel most comfortable (on the blog, or the mailing list). Thanks, Lyle _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users