in reply to Re^6: WxPerl and drag and dropping files
in thread WxPerl and drag and dropping files
once again thank you very much anonymous monk. Also, do you see anything wrong with using the our statement here? is there a better way of doing it?$frame->DragAcceptFiles(1); EVT_DROP_FILES( $frame, \&ondrop ); sub ondrop { my ($self, $this) = @_; Wx::DropFilesEvent::GetFiles($this); our $dropfile = $this->GetFiles(); extract($dropfile); # or i can assign a button to +do the subroutine :) #print "$dropfile"; <----prints the filepath/name }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: WxPerl and drag and dropping files
by Anonymous Monk on Jun 22, 2014 at 08:35 UTC | |
|
Re^8: WxPerl and drag and dropping files
by james28909 (Deacon) on Jul 10, 2014 at 19:10 UTC |