Hey Mike,
You didn't waste anybody's time. I think we all may have learned a lesson
here. It's just that everyone didn't necessarily learn the same lesson.
This am it was obvious... I was returning from the routines prior to
setting the colour! DUH... insert expletives here (@#$$##@#@)
I'm sorry if I wasted anybodies time on this one. Next time I'll sleep
on it first!
Thanks to all who responded.
Mike
On 11/04/2012 1:28 AM, Jean MAURICE wrote:
> Le 11/04/2012 05:04, Tracy Pearson a écrit :
>> The method lActive_Assign is fired in VFP when the lActive is assigned a
new value.
> Just a detail : I would have write (writen ?) : "is assigned a value". The
'new'
> value can be the same as the 'old' one and _assign is fired.
>
> In the _assign method, VFP only deals with the property value; so no
refresh, no ...
>
> Here are an example showing a 'feature' in VFP. Both properties
annee_scolaire
> and lettre_anne contains the current year. One in numeric format, the
other in
> caracter mode ("A"=2000, "B"=2001, ....). I f the value of annee_scolaire
is
> changed, the value of lettre_anne is changed too but there is NO infernal
loop ...
>
> PROTECTED PROCEDURE annee_scolaire_ASSIGN
> LPARAMETERS pnannee
> LOCAL lnannee
> This.annee_scolaire = m.pnannee
> lnannee = MOD(m.pnannee - m.go_param.annee_de_base, 36)
> This.lettre_annee = CHR(IIF(BETWEEN(m.lnannee, 0, 26), 65, 22) +
m.lnannee)
> && 22=48-26
> ENDPROC
>
> PROTECTED PROCEDURE lettre_annee_ASSIGN
> LPARAMETERS pclettre
> This.lettre_annee = m.pclettre
> This.annee_scolaire = m.go_param.annee_de_base - ;
> IIF(BETWEEN(m.pclettre, "A", "Z"), 65, 22) + ASC(m.pclettre)&&
22=48-26
> ENDPROC
>
> best regards
> The Foxil
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/066301cd17e3$40d75000$c285f000$@com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.