Skip to main content

[archive] Tab control question

  • August 9, 2006
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 08 August 2006]

I am trying to present my user with a screen with a list box on the left hand sid containing employee records. I then display tabs using the tab control to the right of that list box.(see first screen shot in attachment) Each tab will display a screen of different values from the master record selected from the list box. Here is my problem. I would like for the operator to select a different record from the list box while processing from any tab. Currently when a tab is selected, focus shifts to that tab and the list box disappears. (see second screen shot in attachment). How can I manage this action with my code?

2 replies

[Migrated content. Thread originally posted on 08 August 2006]

I am trying to present my user with a screen with a list box on the left hand sid containing employee records. I then display tabs using the tab control to the right of that list box.(see first screen shot in attachment) Each tab will display a screen of different values from the master record selected from the list box. Here is my problem. I would like for the operator to select a different record from the list box while processing from any tab. Currently when a tab is selected, focus shifts to that tab and the list box disappears. (see second screen shot in attachment). How can I manage this action with my code?
The list box should not disappear. Have you made this screen using AcuBench and does the list box have a visibile-value property. AcuBench generated code for tabs displays all controls but only moves 1 to visible value depending on the tab you select. If your list box is tied to a visible value then selecting a tab may cause the control to become invisible.

[Migrated content. Thread originally posted on 08 August 2006]

I am trying to present my user with a screen with a list box on the left hand sid containing employee records. I then display tabs using the tab control to the right of that list box.(see first screen shot in attachment) Each tab will display a screen of different values from the master record selected from the list box. Here is my problem. I would like for the operator to select a different record from the list box while processing from any tab. Currently when a tab is selected, focus shifts to that tab and the list box disappears. (see second screen shot in attachment). How can I manage this action with my code?
The list box should not disappear. Have you made this screen using AcuBench and does the list box have a visibile-value property. AcuBench generated code for tabs displays all controls but only moves 1 to visible value depending on the tab you select. If your list box is tied to a visible value then selecting a tab may cause the control to become invisible.