1. Tracy Lamb
  2. PowerBuilder
  3. Saturday, 11 February 2023 17:29 PM UTC

Hi all,

I've got a child window that does a lot calculations depending on what's entered. All sle's have tab orders and code for the GetFocus and Modified events. I can't click in a sle to edit the value, the only way to move to another sle is by tabbing to it... sometimes, I only have to enter values for 2 of the sle's, so tabbing back and forth is a pain.

 

 

Accepted Answer
Tracy Lamb Accepted Answer Pending Moderation
  1. Saturday, 18 February 2023 16:51 PM UTC
  2. PowerBuilder
  3. # Permalink

Ok, so I couldn't get the child window to click from one sle to another... I changed the window type to PopUp! and it works fine now.

~~~Tracy

 

Comment
There are no comments made yet.
Tracy Lamb Accepted Answer Pending Moderation
  1. Tuesday, 14 February 2023 17:07 PM UTC
  2. PowerBuilder
  3. # 1

Attached is a zip file with the window code (exported as .srw file) and a text file with the command I use to open the window.  

~~~Tracy

Attachments (1)
Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 14 February 2023 16:45 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Tracy - 

It's best to zip any file(s) first. Then you can attach them in a new reply (not in a comment).

I found this in the PB Help topic about child windows:

I've never used a window of type Child! before, so I was surprised to learn this. I think you're best served by using a Pop-Up window instead.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 11 February 2023 17:41 PM UTC
  2. PowerBuilder
  3. # 3

Hi Tracy;

  To that most likely sounds like an App code related issue.

Regards ... Chris 

Comment
  1. Tracy Lamb
  2. Tuesday, 14 February 2023 16:27 PM UTC
Miguel,

How do I post my sample window? As an exported srw file?

  1. Helpful
  1. Miguel Leeuwe
  2. Tuesday, 14 February 2023 17:21 PM UTC
Hi Tracy, I think that question has been answered already. It's crazy that we cannot simply add exported powerbuilder files. We always have to zip them.

Also, in my opinion, the behaviour of child windows almost seems like a bug to me. Can never be active, but still allows you to tab through the fields? Sounds like a (probably very old) bug to me. If you can tab through fields/objects, then you should at least be able to click on them and let them get focus.

regards.
  1. Helpful 1
  1. Tracy Lamb
  2. Saturday, 18 February 2023 16:50 PM UTC
Miguel, I agree!

  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.