Re: [Fxruby-users] Simple drive/dir/file browser
Status: Inactive
Brought to you by:
lyle
From: Tom <tku...@so...> - 2004-05-24 01:48:35
|
Aha! This is what I put in, after creating with "drivebox = FXDriveBox..." and "dirbox = FXDirBox..." drivebox.connect(SEL_COMMAND) { |send,sel,ptr| dirbox.directory = send.drive } Is this an appropriate usage of the sender or should I have used "drivebox.drive" instead? Thanks, Tom Lyle Johnson wrote: > > On May 22, 2004, at 9:29 PM, Tom wrote: > >> I am trying to make a very simple windows app that acts as an >> "explorer" or "browser" where I can browse any of the drives on the >> machine. I cant seem to escape from the current drive using >> FXFileList and FXDirList. Whatever drive the app runs from, that's >> the only one visible. How can I fully navigate to the different drives? > > > It sounds as though you may want to work an FXDriveBox widget into your > browser as well, as least for the Windows version. I guess maybe none of > the example programs use this widget, but it's basically a subclass of > FXListBox that lets you select a drive. You should then be able to use > that information to modify the path shown by the FXDirList or FXFileList. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > |