I made now: oBtnCon:=TBtnBmp():New( 60, 16, 45, 12,; "DLG_OK", , , ,; { ||(oDlgPsw:end( IDOK ) ) }, oDlgPsw, , , , ,; "Conferma", , , , .t.,"LEFT" , ; .t., , , , "Conferma", .t.,; bClrGrad_2010, .t., , , , , ) and it run ok Antonio there is an error ...