Form Button

HI Friends,

I want a button on a form , which when i click saves the data and removes all filled values , so that user can fil the form again.

How to do this ?


In your form > Button, overrirde the click method and write the following after super :



HI vishal ,

it is not working .

Hi Manish,


The Form Contain one StringEdit Control Name as DetailTextBox

Make Sure the AutoDeclaration Yes for DetailTextBox Property,

And there is a one Table name as Detailtable whihc contail one Field name as Detail

Now the Form having one Button , in that Button Clicked Override method you have to write like this


void clicked()


Detailtable detailTable;



detailTable.Detail = DetailTextBox.valuStr();


DetailTextBox.text(’ ');



Hope this will work