- Ronald Hitzler
- PowerBuilder
- Monday, 10 January 2022 02:15 PM UTC
Hi community,
please apologize this simple question but I'm fairly new to PB (I've some experience with C#) and I want to know what the best option is to do the following:
I've datawindow containing several columns and I changed the presentation style from 0 (Form) to 1 (Grid) so that the columns can be resized by the user. The datawindows also contains a line control in its detail pane which is used for optical separation.
The problem is that if a user resizes the columns the line control doesn't get resized automatically. What is the best option to adjust the width of the line object after resizing the columns?
One option I see is using a MouseUp Event after resizing and calculate the new width. I thought also about using an expression for the width of the line control but I have no idea if this possible at all and how such an expression looks like?
Can you give me some insight please? Many thanks
B. rgds,
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.