Formda Basılan Tuşa Görev Atama

Formda task metodu var. Burada belli tuşlara işlev atanabiliyor. Bu tuşların listesine #task makrosundan bakılabliri. Form içinde tüm objelerde geçerli oluyor.
nette bulduğum bir örnek :
 

public int task(int _taskId)

{

    int ret;

    #task

    ;

    if (_taskId == #taskesc)

    {

        Box::okCancel(‘I am not going to listen to you and u can’t close me with a silly Escape button’, DialogButton::Ok);

    }

    else

    {

        ret = super(_taskId);

    }

    return ret;

}

 
Comment are closed.