1. Luis Pesaressi
  2. PowerBuilder
  3. Monday, 26 February 2024 01:36 AM UTC

Hi, I have a problem in windows with TabbedView
when open a windows that have a objects ( pb, st,..... etc), I have a code in event resize of window for reposition objects in the window, ejm
(windows,resize) pb_1.y= this.height - 100
this code "this.height" return the height of window width height of Title of name of window but no is same if I full open the aplication windows

then
I have image
img 1 = when I open window of menu the Application
img 2 = when I maximise application in monitor
img 3 = when I resize app to normal size again

Attachments (3)
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 26 February 2024 06:17 AM UTC
  2. PowerBuilder
  3. # 1

PB seems to have problems with correct window size values when window open process is not finished.

I have also issues with not resizeable windows and opened a support ticket. But Appeon will not fix it.

Maybe your issue has the same reason.

You could try a workaround: In window open event POST a custom userevent (e.g. ue_postopen). In your event call the resize event with the parameters of current window size.

HTH,

René   

Comment
  1. Luis Pesaressi
  2. Tuesday, 27 February 2024 07:19 AM UTC
Hola

Lo intento pero no funciona, tengo el mismo problema.

thanks

Luis
  1. Helpful
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Monday, 26 February 2024 09:19 AM UTC
  2. PowerBuilder
  3. # 2

Hi Luis,

Thanks for reporting this problem.
From the screenshot you provided, this issue seems to be a bug in the new feature Tabbedview.
Please report this issue to our ticket system: https://www.appeon.com/standardsupport/newbug so that it can be properly received and tracked.
Please also provide a sample PB test case (with PBT / PBL) when you submit it to the ticket system.

Regards,

Comment
There are no comments made yet.
Wolfgang Moser Accepted Answer Pending Moderation
  1. Monday, 4 March 2024 07:12 AM UTC
  2. PowerBuilder
  3. # 3

Hi, I´ve made a workaround, by opening a blank window first, if there is not active sheet displayed in the mdi.

window activesheet
activesheet = w_main.GetActiveSheet()
if not IsValid(activesheet) THEN
    opensheet(lw_blank, w_main)
end if

After opening the original window the user has triggered, close this blank window.

It is not very beautiful, because the blank window flashes briefly, but it works correct.

 

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.