I have my code in the forms destroy method. As I said, I have one object that handles all grids. That way I don't have to do any special coding for the grid.
>Hi James
>
>>I also save all the grid setttings when the form is closed.
>
>Thanks for your response. But the thing that really bugged me is that I could not find a place in the Grid's method that fires when the form class closes. Like I mentione I tried release and destroy but they never fired, why?
>
>>>Hi all
>>>
>>>I have tried to restore and save grid column widths in one of my form. The only problem is that I can restore the positions in grid.init() but I cannot seem to save the position in grid.destroy() or grid.release()
>>>
>>>I had finally to put the code in form.release(). I was hoping to successfully do the same in grid.release() or grid.destroy() so that once tested I can move the code into the i-layer of codebook for future use.
>>>
>>>Please advise.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only