1. Dawn Browneyes
  2. PowerBuilder
  3. Thursday, 12 January 2023 17:31 PM UTC

 

I have a MDI application and I want to change the Frame's Title  (window type is mdihelp) when they click on a button. 

I change it using: w_frame.title = xxxx   and I can see it change in the debugger but the MDI_1 title remains unchanged.

mdi_1  doesn't have a title attribute.  How would I change the FRAME's (MDI_1)  title while the application is running?

 

Thank you

Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 12 January 2023 20:47 PM UTC
  2. PowerBuilder
  3. # 1

Just grab the initial WINDOW of the application, which is almost always the FRAME.

   w_frame.title = "New Title For Aplication"

 

If you are using the PFC, its:
   w_frame = gnv_app.of_getFrame()

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 12 January 2023 17:44 PM UTC
  2. PowerBuilder
  3. # 2

Hi Dawn;

  MDI_1 is not a visible control, it's a work area within the MDI frame that manages your open Sheets.

Regards ... Chris 

Comment
  1. Roland Smith
  2. Thursday, 12 January 2023 17:55 PM UTC
MDI_1 is the Workspace where the sheets are displayed.
  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.