I'm keep getting this error when I try to run a form created in the
visual builder:
Error in setup resource: Illegal 'owner' reference passed to
Prima::Window::init at F:/Perl/site/lib/Prima/VB/VBLoader.pm line 136.
Is it because I'm using build 808 instead of 806?
prima_test2.pl
#------------------------------------------------------------
use Prima;
use Prima::VB::VBLoader;
$form = Prima::VBLoad( './prima_test2.fm' );
die "$@\n" unless $form;
Prima::message("Error in setup resource: $@");
return;
#------------------------------------------------------------
prima_test2.fm
#------------------------------------------------------------
# VBForm version file=1.2 builder=0.2
# [preload]
sub
{
return (
'Form1' => {
class => 'Prima::Window',
module => 'Prima::Classes',
parent => 1,
code => Prima::VB::VBLoader::GO_SUB(''),
profile => {
width => 104,
sizeDontCare => 0,
name => 'Form1',
origin => [ 490, 412],
height => 100,
originDontCare => 0,
size => [ 104, 100],
}},
);
}
#------------------------------------------------------------
Received on Tue 13 Jan 2004 - 01:26:09 CET
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET