General information
Category:
Coding, syntax & commands
>>>Is there a way to execute some code after the re-size of the form is complete. i.e. I want to run some code only when the user has finished resizing the form, not during the resizing process.
>>
>>establish a template pattern
>>
>>_before()
>>_doit()
>>_finished()
>>
>>in a subclass and add to the _finished method...
>>as well as a logic not to _doit unless a certain amount of time has passed without calling
>>_doit in a subclass overwritten at a more "outer" level
>>
>>< update>or an if surrounding the template.< /update>
>I will look into this but I am not sure what you mean exactly. Ideally what I want is to not use the Windows feature "draw window contents while re-sizing". That actually achieves the correct result as the window is only redrawn once the resizing operation is completed and the user lets go of the mouse.
See Fabio & Sergey for the "logic" I mean and play a bit with NoDefault and eval(this.baseclass + "::resize()) in the _Doit
HTH
thomas
Previous
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