ademmler wrote: > Hi Andri, > > thank you for your hint. > > I have made a simple XRC - you will find it attached. > May you find time to show me the basic lines I need. > > All what I have found on the web, mostly did not work properly . . . > because the have not been verry basic and needed lots of extra modules . > . . . > > Thanks to you, > Alexander > >> Then make a new Wx::XmlResource object (via &new), use the &Load >> method to load >> the XML and then continue with various &LoadFrame, &LoadDialog and >> &LoadXXX methods.
In the spirit of Perl one-liners, an example would be: perl -MWx::XRC -e'$_=Wx::XmlResource->new;$_->InitAllHandlers;$_->Load(shift);$_->LoadDialog(undef,pop)->ShowModal' resource_file dialog_name Substitute the resource and dialog name placeholders with your own. Andri
