<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Controlling Which Tab has Focus in Tabbed Dialog Control in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371243#M42324</link>
    <description>Thanks Bob &lt;BR /&gt;
&lt;BR /&gt;
 It works like magic!&lt;BR /&gt;
&lt;BR /&gt;
Matt</description>
    <pubDate>Tue, 05 Jul 2005 20:51:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-07-05T20:51:02Z</dc:date>
    <item>
      <title>Controlling Which Tab has Focus in Tabbed Dialog Control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371239#M42320</link>
      <description>Does anybody know how I can control which tab gets  the focus for a Tabbed Dialog control -- I have been looking at  the help system and I seem to be not finding the information I need.&lt;BR /&gt;
&lt;BR /&gt;
Currently I have this huge GUI with many controls in it -- I tried to put everything into one form so that there will be only one tabbed dialog control -- somewhere along the middle of the way however while trying to add the controls -- the form at design time started to complain saying that it reached its limit and no more control can be added.&lt;BR /&gt;
&lt;BR /&gt;
Because of that I had to create two identical Tabbed Dialog Control in two separate forms and making the two forms looks as identical as possible to give the user the illusion that there is only one form.&lt;BR /&gt;
&lt;BR /&gt;
I notice right now that there seems to be no way to programmatically set the focus of the tabs so that I can switch back and forth between the two forms and set focus to tabs that have controls on them for each of the corresponding form that in triggered. &lt;BR /&gt;
&lt;BR /&gt;
Without the capabililty of programmatically controlling the  focus as I am describing I end up with the user seing empty&lt;BR /&gt;
tabs when my code flips him from one form to another.&lt;BR /&gt;
&lt;BR /&gt;
At design time the tab that has the control becomes the default tab that has the focus on form load -- but I am right now in need of more control to the tab that receives that focus&lt;BR /&gt;
because of the two forms I have.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Please help me.  All suggestions welcome.&lt;BR /&gt;
&lt;BR /&gt;
Matt</description>
      <pubDate>Tue, 05 Jul 2005 17:14:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371239#M42320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-05T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Which Tab has Focus in Tabbed Dialog Control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371240#M42321</link>
      <description>Hi Matt,&lt;BR /&gt;
&lt;BR /&gt;
If you talk about the multi page control, you can control which tab is &lt;BR /&gt;
avtive with it's value.&lt;BR /&gt;
&lt;BR /&gt;
Here my multipage is called tabs, and I switch the active tab to the value 3&lt;BR /&gt;
&lt;BR /&gt;
 FrmXref.Tabs.Value = 3&lt;BR /&gt;
&lt;BR /&gt;
the same way I can retrieve the currently selected tab.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;MATT_1CA&gt; a écrit dans le message de news: &lt;BR /&gt;
4892966@discussion.autodesk.com...&lt;BR /&gt;
Does anybody know how I can control which tab gets  the focus for a Tabbed &lt;BR /&gt;
Dialog control -- I have been looking at  the help system and I seem to be &lt;BR /&gt;
not finding the information I need.&lt;BR /&gt;
&lt;BR /&gt;
Currently I have this huge GUI with many controls in it -- I tried to put &lt;BR /&gt;
everything into one form so that there will be only one tabbed dialog &lt;BR /&gt;
control -- somewhere along the middle of the way however while trying to add &lt;BR /&gt;
the controls -- the form at design time started to complain saying that it &lt;BR /&gt;
reached its limit and no more control can be added.&lt;BR /&gt;
&lt;BR /&gt;
Because of that I had to create two identical Tabbed Dialog Control in two &lt;BR /&gt;
separate forms and making the two forms looks as identical as possible to &lt;BR /&gt;
give the user the illusion that there is only one form.&lt;BR /&gt;
&lt;BR /&gt;
I notice right now that there seems to be no way to programmatically set the &lt;BR /&gt;
focus of the tabs so that I can switch back and forth between the two forms &lt;BR /&gt;
and set focus to tabs that have controls on them for each of the &lt;BR /&gt;
corresponding form that in triggered.&lt;BR /&gt;
&lt;BR /&gt;
Without the capabililty of programmatically controlling the  focus as I am &lt;BR /&gt;
describing I end up with the user seing empty&lt;BR /&gt;
tabs when my code flips him from one form to another.&lt;BR /&gt;
&lt;BR /&gt;
At design time the tab that has the control becomes the default tab that has &lt;BR /&gt;
the focus on form load -- but I am right now in need of more control to the &lt;BR /&gt;
tab that receives that focus&lt;BR /&gt;
because of the two forms I have.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Please help me.  All suggestions welcome.&lt;BR /&gt;
&lt;BR /&gt;
Matt&lt;/MATT_1CA&gt;</description>
      <pubDate>Tue, 05 Jul 2005 17:47:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371240#M42321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-05T17:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Which Tab has Focus in Tabbed Dialog Control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371241#M42322</link>
      <description>Hello and thank for your answer -- I tried the code you sent -- unfortunately it gives an  "invalid qualifier" error -- &lt;BR /&gt;
&lt;BR /&gt;
I do not know what is the difference between a multipage and the control I am using. The default name for the control I am using when I place one into a form is SSTab1.&lt;BR /&gt;
&lt;BR /&gt;
Matt</description>
      <pubDate>Tue, 05 Jul 2005 19:31:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371241#M42322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-05T19:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Which Tab has Focus in Tabbed Dialog Control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371242#M42323</link>
      <description>Matt,&lt;BR /&gt;
&lt;BR /&gt;
Te help files for that control put it this way.&lt;BR /&gt;
&lt;BR /&gt;
Form2.SSTab1.Tab = 1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Goodluck,&lt;BR /&gt;
&lt;BR /&gt;
Bob Coward&lt;BR /&gt;
CADS, Inc</description>
      <pubDate>Tue, 05 Jul 2005 19:45:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371242#M42323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-05T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Which Tab has Focus in Tabbed Dialog Control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371243#M42324</link>
      <description>Thanks Bob &lt;BR /&gt;
&lt;BR /&gt;
 It works like magic!&lt;BR /&gt;
&lt;BR /&gt;
Matt</description>
      <pubDate>Tue, 05 Jul 2005 20:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/controlling-which-tab-has-focus-in-tabbed-dialog-control/m-p/1371243#M42324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-05T20:51:02Z</dc:date>
    </item>
  </channel>
</rss>

