Hi I want to resize the ultragridrowedittemplate screen while it is dispayed depending on what is the value of a field on it. It works fine while opening the screen by selecting a row in the grid, but when I update the field or want to create a new row it goes wrong and I get scroll bars
This the code I'm using until now:
Hi Ronny,
In order to size the RowEditTemplate after it has been shown, you will need to resize the actual form containing it. As a simple example, you can change the width using this simple code:
ultraGridRowEditTemplate1.FindForm().Width = 1000
In your case, you would instead want to calculate both the height and width from your controls, then set the size to your calculated values.
Please try this out and let me know whether it works.