1. Yiannis Papadomichelakis
  2. PowerBuilder
  3. Tuesday, 14 January 2020 12:25 PM UTC

I noticed that PB19 themes behave differently between MDI and MDI docked. It’s seems that within an mdi dock application, the background color of a window does not change according to the themes.

In the attached files, you will notice the difference between mdi classic and mdi docked. In the docked case, you will notice the dark grey background, in the areas where no datawindow control is present.

Is there anyway to avoid this?

Attachments (2)
Accepted Answer
Michael Kramer Accepted Answer Pending Moderation
  1. Tuesday, 14 January 2020 13:49 PM UTC
  2. PowerBuilder
  3. # Permalink

UI themes started out not supporting dockable windows in PB 2019 GA (ref 1).
UI themes has extended in other directions since dockable windows are obsolete as of PB 2019 R2 (ref 2).
Snippets from documentation:

. . .
What cannot be set by the theme
*  The theme is not effective to the dockable window.
. . .

Ref 1: PowerBuilder Help > Users Guide > Working with Targets > Working with Targets > Specifying application properties > Specifying a theme for the application UI > Understanding what can be set by the theme > Windows and User Objects

 

Dockable windows are obsolete

Dockable windows become obsolete at the release of PowerBuilder 2019 R2. Obsolete features are no longer eligible for technical support and will no longer be enhanced. Customers who use dockable windows in their applications can choose to continue using the feature without support or migrate to normal floating windows.

Ref 2: PowerBuilder Help > Objects and Controls > System Object Properties, Events, and Functions > Window control

HTH / Michael

Comment
  1. Yiannis Papadomichelakis
  2. Tuesday, 14 January 2020 14:25 PM UTC
So, I will try to avoid using dockable windows, although I really like dockable interface over the normal floating windows. I wish I had this knowledge earlier because we recently finished migration TO dockable windows!

We considered dockable interface, in addition to themes, as an easy and cheap way to upgrade the look and feel of our applications...!
  1. Helpful
  1. Michael Kramer
  2. Tuesday, 14 January 2020 14:37 PM UTC
Yiannis, I'm sorry. I know that feeling. Back in 1994 I was offered "full suite of training and certifications" to be first rank SAP consultant. I declined because I wasn't sure of product's future - and instead joined the PowerBuilder distributor in Denmark ;-)

Depending on how you structured your code around dockable windows you may still deliver such UI though more coding required when faced with just MDI vs. SDI in the system classes.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 14 January 2020 13:17 PM UTC
  2. PowerBuilder
  3. # 1

Themes is not supported for dockable windows.  Dockable is discontinued.  Sybase never built the feature completely.  Please use regular MDI or SDI.

Comment
  1. Yiannis Papadomichelakis
  2. Tuesday, 14 January 2020 13:24 PM UTC
wow!

I had no idea about that! Is there a document that clearly declares that the dockable is discontinued?
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 14 January 2020 14:07 PM UTC
Please look at what Michael Kramer posted in this thread.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.