1. Desarrollador 1
  2. PowerBuilder
  3. Monday, 12 February 2024 09:00 AM UTC

Good morning,

I want to resize my datawindows depending on the dimension of the screen.

all this in Powerbuilder 2022R2.

Regards,

Edi

 

Kevin Ridley Accepted Answer Pending Moderation
  1. Thursday, 15 February 2024 20:54 PM UTC
  2. PowerBuilder
  3. # 1

Checkout my Elevate 2020 presentation:

https://www.youtube.com/watch?v=zPAnRMC-12c&t=21s

Comment
  1. Kevin Ridley
  2. Thursday, 15 February 2024 21:00 PM UTC
Also part 2 if you want to resize columns etc inside the datawindow:

https://www.youtube.com/watch?v=0cqd4gYmRqA&t=44s
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 12 February 2024 14:56 PM UTC
  2. PowerBuilder
  3. # 2

The word "resize" can mean many things. Can you please be more specific as to the kind of functionality you are wanting?

Are you looking to only stretch the outer dimensions of the DataWindow Control within the window, but nothing inside? The length of the column DataWindow objects within the Data Object? Alter the dimensions and point size of the DataWindow objects (a "zoom in/out" effect)? 

Is your app built upon any PB framework?

Comment
  1. Roland Smith
  2. Monday, 12 February 2024 20:57 PM UTC
I've tried having the DataWindow adjust it's zoom level based on the current verses original size of the control. Personally I thought it looked like crap. You can allow the user to adjust the zoom manually but I don't think doing it automatically is a good idea. The following will set the zoom percent to 50:



dw1.Object.DataWindow.Zoom = 50
  1. Helpful
  1. Desarrollador 1
  2. Tuesday, 13 February 2024 08:44 AM UTC
And Can i run my application for the first time to install this .msi and then execute the program ? Can i do that in Powerbuilder 2022?
  1. Helpful
  1. Andreas Mykonios
  2. Tuesday, 13 February 2024 10:11 AM UTC
That comment seems to be related to the other question you posted (https://community.appeon.com/index.php/qna/q-a/how-can-i-distribute-my-powerbuilder-application).

Andreas.
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.