I have a btnbmp with a prompt with a number
then the user press the button and the procedure must assign the new prompt with the new number
why not refresh() ?
nNumber:= 8
@ 233, 118 BTNBMP oBtnAllegati OF oDlgTest ;
SIZE 55, 14 PIXEL 2007 ;
BORDER LEFT ROUND ;
PROMPT str(nNumberi)+" files" RESOURCE "DLG_OK" ;
ACTION (nNumber=test(),oBtnAllegati:refresh() )
...
function test()
return 10