Propagating event to txt ctrl window

Hello

I want to clear the text in a txt ctrl on pressing a button in my application. I am using txt ctrl Clear() but window is not cleared. What am I doing wrong ?

Please see attached sample files for details.

Regards

main.py (3.01 KB)

outputwin.py (4.92 KB)

sample_test.py (464 Bytes)

Never Mind I solved it.

I should use ClearAll() instead of Clear()

Thanks

ยทยทยท

On Mon, Nov 14, 2011 at 10:42 AM, michelle yaobao michelle.yaobao@gmail.com wrote:

Hello

I want to clear the text in a txt ctrl on pressing a button in my application. I am using txt ctrl Clear() but window is not cleared. What am I doing wrong ?

Please see attached sample files for details.

Regards