use strict; use Prima qw( Application VB::VBLoader); my $ret = Prima::VBLoad('H:\My Documents\PERL\Prima\Concepts.fm'); die "$@\n" unless $ret; use vars qw(@ISA); @ISA = qw(Prima::MainWindow); $ret-> execute; our $capture; #### # VBForm version file=1.2 builder=0.2 # [preload] sub { return ( 'textbox' => { class => 'Prima::InputLine', module => 'Prima::InputLine', profile => { owner => 'Concepts', text => '', name => 'textbox', origin => [ 92, 72], size => [ 96, 17], }}, 'Concepts' => { class => 'Prima::Window', module => 'Prima::Classes', parent => 1, code => Prima::VB::VBLoader::GO_SUB(''), profile => { width => 386, left => 530, name => 'Concepts', origin => [ 530, 299], height => 177, bottom => 299, size => [ 386, 177], sizeDontCare => 0, originDontCare => 0, }}, 'Populate' => { class => 'Prima::Button', module => 'Prima::Buttons', profile => { owner => 'Concepts', text => 'Add to textbox', name => 'Populate', origin => [ 236, 60], size => [ 96, 36], onClick => Prima::VB::VBLoader::GO_SUB('my $self = $_[0];','Populate', 'onClick'), }}, ); }