- Aart Onkenhout
- PowerBuilder
- Tuesday, 23 June 2020 09:23 AM UTC
Hi,
I noticed there is an option within the theme.json file to set the "default-state" behaviour for a button within a datawindow:
"datawindow":
{
"drawing":true,
"background-color-enabled":true,
"background-color":"#262626",
"normal-state":
{
"border-color":"#404040"
},
"disabled-state":
{
"border-color":"#333333"
},
"dwo-button":
{
"drawing":true,
"normal-state":
{
"border-color":"#4D4D4D",
"background-color":"#4D4D4D",
"text-font":{"color":"#CCCCCC"}
},
"hover-state":
{
"border-color":"#666666",
"background-color":"#666666",
"text-font":{"color":"#CCCCCC"}
},
"pressed-state":
{
"border-color":"#404040",
"background-color":"#404040",
"text-font":{"color":"#CCCCCC"}
},
"default-state":
{
"border-color":"#1E6EE1",
"background-color":"#1E6EE1",
"text-font":{"color":"#FFFFFF"}
},
However, as far as I know, there is no way to set a default button within a datawindow. Is there a way to set a default button within a datawindow?
Regards,
Aart Onkenhout
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.