PFC Resize without PFC

Kevin Ridley
CODE AUTHOR
Posts: 6
 3 years 10 months ago #310 by Kevin Ridley
Kevin Ridley created the code: PFC Resize without PFC
Code for my 2020 Elevate Session Using the PFC Resize service without the PFC. I have broken out 2 objects from the PFC that can now be used without any other PFC objects. I've also supplied a base window to use as a guide for your ancestor window and a descendant window that shows some different resize options. Also included are 2 objects for the datawindow resize service also broken out of the pfc that you can use. Note - this target is PB2019 R2. Happy resizing!

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

Ramón San Félix Ramón
 2 years 6 months ago -  2 years 6 months ago #412 by Ramón San Félix Ramón
Ramón San Félix Ramón replied the code: PFC Resize without PFC
I have the answer to resize datawindows....

I leave the result here, where you can see how the desc column is resized in the lower datawindows.

(Example build in PowerBuilder 2019 R3 2728)

This message has an attachment file.
Please log in or register to see it.

Last Edit: 2 years 6 months ago by  Ramón San Félix Ramón

Please Log in or Create an account to join the conversation.

Ramón San Félix Ramón
 2 years 6 months ago #410 by Ramón San Félix Ramón
Ramón San Félix Ramón replied the code: PFC Resize without PFC
Ok thanks Kevin for your example, I'll turn it into a question for the community, to see if someone can help me solve it....

Greetings

community.appeon.com/index.php/qna/q-a/p...w-resize-without-pfc

Please Log in or Create an account to join the conversation.

Kevin Ridley
CODE AUTHOR
Posts: 6
 2 years 6 months ago #409 by Kevin Ridley
Kevin Ridley replied the code: PFC Resize without PFC
I guess I should've been more specific in the description of what I posted. The Elevate session and code were for the windows resize service for windows controls. The dw resize objects were included as a bonus to allow you to code your own for resizing datawindow columns etc. That's why there's no code in the u_dw. All I did was break the objects out of the pfc, the rest is up to you. Sorry but I just don't have time to look at this right now. I'd suggest trying to find some pfc documentation and examples on using it in the pfc and figure out what needs to go in your code.

Kevin

Please Log in or Create an account to join the conversation.