1. Géza Bartha
  2. PowerBuilder
  3. Friday, 14 May 2021 13:54 PM UTC

Hi!

 

I have a datawindow. There is a field with child datawindow with show all option. When I click this field the dropdown will be opened, but when I click another part of datawindow, the child datawindow stay opened. I have no another tabbed object in the datawindow. How to close child datawindow, without any other object get focused. I don't want to use TAB key, only mouse moving, and click unused area ot datawindow.

I like restore the datawindow's opening state, when there is no selected object of datawindow, and child datawindow is closed.

 

Regards, 

Géza

 

 

 

 

 

Géza Bartha Accepted Answer Pending Moderation
  1. Friday, 14 May 2021 14:38 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

 

"The  DW should automatically collapse the DDDW when you get focus on another column"

But the another columns are not editable. I have a button outside of datawindow, but the user wants to read another datawindow column's content depending dropdown. But when the dropdown is open, it covers another fields.

 

  1. What O/S version & build are you using?    win10 64 bit 
  2. What PB version & build are you using?      pb 19 R2
  3. Is your App 32 or 64 bit?                           32 bit
  4. Is your App P-Code or M-Code compiled?     p-code
  5. Do you access the App via RDP, Citrix, etc?   it is impossible, I have to an axample application.

is there any method to close the dropdown when I mouse click empty part of datawindow?

There is no another "tab-able" datawindowobject.

Regards,

Géza

 

 

 

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 14 May 2021 17:53 PM UTC
Hi Chris, I think the real question is what doesn't STD framework handle????
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 14 May 2021 18:20 PM UTC
Not much .. .LOL! ;-)



By the end of this weekend, I hope to have an R3 version working. I already updated the framework last night to introspect whether the App is running as either a PB Native, PowerClient or PowerServer 2021 App. I just need to fully check the code wherever the framework looks for "Native PB" to also consider the PC & PS as "kissing cousins".

I also had the OrderEntry Demo App working last night as a PC App and it displays the PC client type now on both the Splash and About dialogues - as well as logging this client type found in the App's log. :-)
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 14 May 2021 18:23 PM UTC
// "PB"(Native),"WEB"(PowerServer),"MOBILE"(PowerServer),"PC"(PowerClient), or "PS"(PowerServer 2021+)

String is_client_type = "PB" // Client (environment) type
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 14 May 2021 14:19 PM UTC
  2. PowerBuilder
  3. # 2

Hi Géza;

  The  DW should automatically collapse the DDDW when you get focus on another column.

Can you tell us ...

  1. What O/S version & build are you using?
  2. What PB version & build are you using?
  3. Is your App 32 or 64 bit?
  4. Is your App P-Code or M-Code compiled?
  5. Do you access the App via RDP, Citrix, etc?

Regards ... Chris

  

Comment
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.