1. Julián Tagarro
  2. PowerBuilder
  3. Saturday, 2 May 2020 20:36 PM UTC

Hi All,

I'm experimenting very unusual behaviours when working with buttons and picturebuttons. 

a) Sometimes (pretty often) shortcuts aren't shown

b) Initial window state. Edit mask + 2 cb_ + 2 pb_

(In this example, shortcuts aren't shown, as told on previous items)

- Type something in the EditMask. All buttons change their colors to white (command buttons all white and picture buttons with a white rectangle). Now, shortcuts are allways shown.

- Tab among controls. All buttons are reseted to the original back color and all behaviour restart to "normal" (delete the number typed in the em_ and type other and the buttons never change again and shortcuts are shown).

Attached is the app to reproduce this case. PB 2019 R2 2328.

What am I missing ? 

Regards,

_______________

Julián Tagarro

NeoSistemas SRL

Attachments (1)
Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 4 May 2020 13:26 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Julián ;

  This certainly looks like a bug but only when using the "Flat Style" property of the CommandButton control. If you remove that setting, the CB behaviour works as expected. I tested this on PB2019 build 2170 and also on PB 2017 R3 build 1915 and its the same story.

  Please open a support ticket for this issue.

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Sunday, 3 May 2020 13:08 PM UTC
  2. PowerBuilder
  3. # 1

By default Windows 10 doesn't show the shortcut underline. Picture buttons are likely a custom control under the covers so it doesn't depend on Windows to show or not show.

https://www.tenforums.com/tutorials/97413-turn-off-underline-access-key-shortcuts-menus-windows-10-a.html

 

Comment
  1. Julián Tagarro
  2. Sunday, 3 May 2020 15:30 PM UTC
Hi Roland,

Thanks for your answer.

Honestly I didn't know about this behaviour of Windows 10.

Still I have two questions (a) What about the white color ? (b) Shouldn't this behaviour discrepancy between command buttons and picture buttons be fixed ?

Regards,

_______________

Julián Tagarro

NeoSistemas SRL
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Saturday, 2 May 2020 23:58 PM UTC
  2. PowerBuilder
  3. # 2

Are you seeing this problem with UI Themes turned on or off?  If it is turned on, which theme template are you using?

Comment
  1. Julián Tagarro
  2. Sunday, 3 May 2020 15:12 PM UTC
Hi Armeen,

UI Themes turned off. See the attached example app on the original post.

Regards,

_______________

Julián Tagarro

NeoSistemas SRL
  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.