Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Focus on Tabs
Topic Summary: Tab Focus
Created On: 22-Jan-2009 08:19
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Paul Howstan, on Thursday, January 22, 2009 11:28 AM

Answer:
Hi,

Try using void set(DBE, int) to set the initial value instead of showSelectedTab

Paul
 22-Jan-2009 08:19
User is offline View Users Profile Print this message


Irfaan Jamal

Posts: 30
Joined: 13-Feb-2008

Dear All,

There are 4 tabs in my program. By default the 1st tab is selected on startup.

I want to select the 2nd or 3rd while startup.

I am using the function showSelectedTab(skip, tabNo) to perform this action

skip is the skip list holding the elements of the 4 tabs
tabNo is the tab number which has to be selected

for example, if i use showSelectedTab(skAllTabs, 1)

On startup, the elements of the 2nd tab are shown but the tab focus is still on the 1st tab.

How to make the 2nd tab get the focus in this case?

Attached is the code as an example.

Irfaan
Report this to a Moderator Report this to a Moderator
 22-Jan-2009 11:16
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

Answer Answer
Hi,

Try using void set(DBE, int) to set the initial value instead of showSelectedTab

Paul
Report this to a Moderator Report this to a Moderator
 22-Jan-2009 11:29
User is offline View Users Profile Print this message


Irfaan Jamal

Posts: 30
Joined: 13-Feb-2008

Hello Paul,

Thanks for your quick reply.

It works now.

Irfaan
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.