Hi
I've created a tabstrip and want to add a button to a tab but seem
unable to fathom out the precise syntax. Can someone guide me please?

I have:
....
$tabs = $main->AddTabStrip ( -name => "tab", -left => 150, -top => 10,
-width => 700, -height=> $height - 200, );
 $tabs->InsertItem( -name=> "stock", -text => "Stock", -index=> 0 );

I tried adding a button several  ways:
1.      $main-> stock-> Addbutton( -text => 'Reset Fields', -pos => [10,
10], -size => [30, 70], );
2.      $tabs-> stock-> Addbutton( -text => 'Reset Fields', -pos => [10,
10], -size => [30, 70], );
3.      $main-> tab-> stock-> Addbutton( -text => 'Reset Fields', -pos
=> [10, 10], -size => [30, 70], );
4.      $main-> $tabs-> stock-> Addbutton( -text => 'Reset Fields', -pos
=> [10, 10], -size => [30, 70], );

I'm thinking my Perl is screwed up but I'm unsure where. Hope someone
can help.

Thanks 
Brian Rowlands
Education is the best provision for the journey to old age.
<http://www.quotationspage.com/quote/34568.html> 
Aristotle 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to