ok, I was just trying to become familiar with the tabstrip not using any kind of wrapper like tabframe or tabstripgroup. I thought it would be a good idea but things are getting worse. When I run the code below and hit tab, it takes me to currently selected tab label/button and does not tab between the textfields. What am I doing wrong here??
#!c:\perl\bin\wperl.exe use strict; use Win32::GUI; my $mainform; $mainform = Win32::GUI::Window->new(-name=>'main',-text=>'tabstrip tes +t',-width=>800,-height=>600,-dialogui=>1); $mainform->AddTabStrip(-name=>"tab",-width=>770,-height=>550,-left=>10 +,-top=>10); $mainform->tab->InsertItem(-name=>'Tab1',-text=>" Tab1 ",-border=>0,to +p=>10,-addstyle=>WS_TABSTOP); $mainform->tab->AddTextfield(-name=>'text1',-top=>50,-left=>50,-text=> +"text #1",-addstyle=>WS_TABSTOP,-width=>150,-height=>20); $mainform->tab->AddTextfield(-name=>'text2',-top=>80,-left=>50,-text=> +"text #2",-addstyle=>WS_TABSTOP,-width=>150,-height=>20); $mainform->tab->AddTextfield(-name=>'text3',-top=>110,-left=>50,-text= +>"text #3",-addstyle=>WS_TABSTOP,-width=>150,-height=>20); $mainform->tab->AddTextfield(-name=>'text4',-top=>140,-left=>50,-text= +>"text #4",-addstyle=>WS_TABSTOP,-width=>150,-height=>20); $mainform->tab->InsertItem(-name=>'Tab2',-text=>" Tab2 ",-border=>0,to +p=>10,-addstyle=>WS_TABSTOP); $mainform->tab->InsertItem(-name=>'Tab3',-text=>" Tab3 ",-border=>0,to +p=>10,-addstyle=>WS_TABSTOP); $mainform->Show(); Win32::GUI::Dialog(); exit; main_Terminate { $mainform->Hide(); return -1; }

In reply to Re^2: Help with tabstops in Win32::GUI by ChrisR
in thread Help with tabstops in Win32::GUI by ChrisR

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.