Hello StackOverflow Experts
Description
I have an SWT Page with a TabFolder with a number of dynamically created TabItems.
On each TabItem i crate a Composite and set the TabItem.setControl() to the Composite. I then use this Composite as the page on which i draw my items. I draw a set of Controls, including Textbox's and Labels.
For the First, Default Tab, this works fine. No problems.
Problem
On tabs that is not the first tab i have the following problems:
- I am unable to visually alter then Edited/Enabled state of my Controls.
- I am unable to visually set the Text content of my elements
My Controls look disabled and have a Greyed out look.
But i am able to Select the content with my mouse and use CTRL+C to copy it out. So the text contet is there and they are Editable.
Visually it is just not updated.
Any comments are appeciated, Any requests for code, examples will be supplied and help Welcommed.
Updates
I tried added the suggest debug loop to the code, where i attempt to enable my Controls. This was the result:
[main] INFO [dk.viking.controller.LayerController] - f038.stklok is now Editable [true] and enabled [true]
[main] INFO [dk.viking.controller.LayerController] - true Text {}
[main] INFO [dk.viking.controller.LayerController] - true Composite {}
[main] INFO [dk.viking.controller.LayerController] - true TabFolder {}
[main] INFO [dk.viking.controller.LayerController] - true Shell {Viking GUI}