PFC Resize without PFC

Ramón San Félix Ramón
Posts: 31
 2 years 9 months ago #408 by Ramón San Félix Ramón
Ramón San Félix Ramón replied the code: PFC Resize without PFC
I've tried the example and it works fine for window controls, but I've tried to get resizing to work on datawindows and I can't get it to work.

It seems that when activating the service the call to the of_setrequestor() function to reference the datawindow in the instance variable is missing.

There is also nothing in the resize event of u_dw, the service should be called there...

With this I have activated the service in the open event of w_test.
I have tested it on dw_lower in the desc column.
I have tried to scale to the right without success. You have to enlarge the window a lot for the column to start scaling.
I don't know if I called the service wrong or if it works well.

I upload the example with what I have modified.

Can someone help me?

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

Kevin Ridley
CODE AUTHOR
Posts: 6
 3 years 1 week ago #394 by Kevin Ridley
Kevin Ridley replied the code: PFC Resize without PFC
Great to hear! Enjoy!

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

Andrew Davis
Posts: 4
 3 years 1 week ago #393 by Andrew Davis
Andrew Davis replied the code: PFC Resize without PFC
Kevin

Thanks for this info, I combined the code you put in the RFC resize without the PFC and the Roland Smith / Chris Pollach code you mention to set the response resizable and it all now works.

thanks all

regards

Andrew

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

Kevin Ridley
CODE AUTHOR
Posts: 6
 3 years 1 week ago #392 by Kevin Ridley
Kevin Ridley replied the code: PFC Resize without PFC
Response windows are not resizable by default. Roland Smith and Chris Pollach both have code that can be used to make response windows resize. Here's a link to Roland's code:
www.topwizprogramming.com/freecode_resize_response.html

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