when the user change the second combobox , the procedure must change the value of the tget
- Code: Select all Expand view
@ 480,630 COMBOBOX oCbx3 Var cFormazione ITEMS aFormazione ;
SIZE 120,70 PIXEL OF oDlg HEIGHTGET 18
@ 510,630 COMBOBOX oCbx4 Var cCalcolo ITEMS aCalcolo ;
SIZE 120,70 PIXEL OF oDlg HEIGHTGET 18 ;
ON CHANGE ( [b]ResetValore[/b](oCbx3:nAt,oCbx4:nAt, @nValore,aGet) )
@ 540,630 GET aGet[8] var nValore SIZE 100,20 PIXEL RIGHT OF oDlg SPINNER MIN 1 MAX 90
Function ResetValore(nForma,nMetodo, nValore,oControls)
IF nForma= 1 .and. nMetodo= 3
nValore:= 3
* oControls[8]:bMin := 3
elseif nForma= 2 .and. nMetodo= 3
nValore:= 6
* oControls[8]:bMin := 6
Endif
oControls[8]:refresh()
return nil
How I can to set MIN and MAX ? ( I must change only the value of MIN
I tried with oControls[8]:bMin := 3 and make error