|
From: Alexander S.K. <al...@be...> - 2016-08-03 09:43:17
|
Alain Aupeix пишет:
> Hi, here is my code:
>
> if chaine="changer"
> @ 30,60 GET CHECKBOX oDefaut VAR lDefaut CAPTION "Département
> par défaut" ;
> SIZE 250, 25 STYLE WS_TABSTOP ON CLICK
> {||qout(lDefaut),lDefaut=noChange(cDepart,lDefaut),qout(lDefaut),oDefaut:Refresh}
> endif
> ...
> But my problem here is concerning noChange.
>
> I want if aDepartements[x,5] is .T., that the value can't be changed.
>
I don't understand. What value shouldn't be changed ? Where is the
combobox, which is mentioned in a subject ?
BTW, as far as I remember, there must be ':=' in a codeblock:
{||qout(lDefaut),lDefaut:=noChange(cDepart,lDefaut),qout(lDefaut),oDefaut:Refresh}
Regards, Alexander.
|