How can i clear value from edt dialogfield in class

Hello, i have some issue with clearing the values from field.

In my dialog i have some dialogField with EDT. And under that field i created a button with overwrited method. If someone will write something in this filed and click this button i want to clear values from there.

Can u help me? Thanks allot

for string value: fieldname.text(’ ');
for real value: fieldnam.realValue(0);
is that what you are looking for ?

I did this like this: dialogP.value(’ ');