1. Vipin Dwivedi
  2. PowerBuilder
  3. Friday, 17 February 2023 22:05 PM UTC

Hello Appeon Folks,

I remember we used to have option to see the override event and function on top in the event and function list. I don't see that any more. What is the setting to sort these funcion and event list. I need to revisit whole list to go to particular event and/or function.

 

Kindly suggest the setting.

 

Vipin

Vipin Dwivedi Accepted Answer Pending Moderation
  1. Saturday, 18 February 2023 06:37 AM UTC
  2. PowerBuilder
  3. # 1

This is what I see in PowerBuilder 2017 R3 Build 1951.

Ideally I should see all inherited code at end and my scripted one on top of list but look at the itemchanged event list it is in between inherited list.

Comment
  1. Miguel Leeuwe
  2. Saturday, 18 February 2023 07:01 AM UTC
Just like constructor and clicked. They all ARE inherited, even if they have their own code too. Also, you are using the pfc classes. I don't think you see any 'non' inherited events in your u_dw. Therefore, even if you show "Inherited at End", they'll show at the top of the list.
  1. Helpful 1
  1. Kevin Ridley
  2. Monday, 13 March 2023 12:32 PM UTC
Agree with Miguel. u_dw is inherited from pfc_u_dw, so every event there is inherited.
  1. Helpful
There are no comments made yet.
Vipin Dwivedi Accepted Answer Pending Moderation
  1. Saturday, 18 February 2023 06:35 AM UTC
  2. PowerBuilder
  3. # 2

This is what I see in PowerBuilder 2017 R3 Build 1951.

Ideally I should see all inherited code at end and my scripted one on top of list but look at the itemchanged event list it is in between inherited list.

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 18 February 2023 00:29 AM UTC
  2. PowerBuilder
  3. # 3

Hi,

Found it!

Open any script of an event and then choose the menus "Design > Options", then go to the "Script" tabpage:

(PB 2019 R3, but I imagine that other version will be the same).

 

regards.

Comment
  1. Chris Pollach @Appeon
  2. Saturday, 18 February 2023 00:34 AM UTC
Yep... That's it. The same script sort order option since PB 5.0. ;-)
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 18 February 2023 00:04 AM UTC
  2. PowerBuilder
  3. # 4

What I remember is that there was / is? a way of specifying that you want to sort the list of functions / events showing first all of the ones that have code in them.

Not sure if this is what Vipin is looking for with his question?

regards

Comment
  1. Vipin Dwivedi
  2. Saturday, 18 February 2023 00:07 AM UTC
That is correct. I need exact the same.
  1. Helpful
There are no comments made yet.
Vipin Dwivedi Accepted Answer Pending Moderation
  1. Friday, 17 February 2023 22:59 PM UTC
  2. PowerBuilder
  3. # 5

See attachment

Attachments (1)
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.