Bug 4064

Themes / custom / statictext / set background transparent 30 June, 2020

Gerd Scheltwort
10 February, 2020
Product: PowerBuilder Category: Controls & UI
Version: 2019 R2 Beta Build:
Classification: Enhancement Publishing: Public
Priority: P3
Status: Closed Reason: DUPLICATE
Ken Guo @Appeon 30 June, 2020
#6

*** This bug has been marked as a duplicate of bug 4066 ***
armando herrera @Appeon 29 June, 2020
#5
Reference: 4066
#4
Hi Gerd!

This issue has stopped due to a required test case. 

You can also send us one of these options: 

 1. Screenshots showing us the necessary path to get the error.
 2. Short video
#3
Hi Gerd,

It has been a while since we heard from you!. 

Are you still facing this problem?. 

Is there anything we can do to keep helping on this case? 

Regards!
#2
Hi Gerd, 

I'm checking if you were able to reproduce this case?. 
Can we help you with something else?. 

Otherwise, please let us know if can we proceed to close this ticket?.

Keep in mind, that you are always welcome to open another ticket in case you need it.

Regards!
Chris Pollach @Appeon 10 February, 2020
#1
Hi Gerd;

  Please provide a simple test case PB Application plus any custom Theme_xxxx.json files that you are using as well.

Regards ... Chris
Gerd Scheltwort 10 February, 2020
#0
*Phenomenon:
In our project exists a base class that imitates a picture button control allowing to have text beside an icon without overlapping. This control is a standard userobject with a picture control and a statictext control on it. To simulate hover-state and pressed-state effects of a button there is now an editmask control in behind which has this behavior.
Our requirement is to be able to set the statictext´s background color to transparent.
There seems to either a lack of documentation or a lack of functionality in themes. 
We don´t know how but need to set the background-color to transparent.
"background-color":"#FF0000",

*Reproduce Steps:
...
	"u_ptb.st_1":
	{
		"drawing":true,
		"border":0,
		"background-transparent":true,
		"normal-state":
		{
			"background-color":"#FF0000",
			"text-font":{"color":"#000000"}
		},
		"disabled-state":
		{
			"background-color":"#FFFFFF",
			"text-font":{"color":"#999999"}
		}
    }

Remarks:
We like the shortly introduced themes and implemented it in one of our applications.
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version:
17