I believe this works this way because the fillInData message gets sent to the 
row group that is currently getting updated. Because of this, "me" refers to 
the current row group, nd btn "sendmail" of me refers to the specific instance 
of button "sendmail" in that group. Otherwise btn "sendmail" would simply refer 
to the first (of many) buttons named "sendmail". 

HTH

Bob S


> On Feb 20, 2019, at 10:06 , Ludovic via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I was not far away !
> 
> Thank you.
> 
>> Le 20 févr. 2019 à 17:58, zryip theSlug via use-livecode 
>> <use-livecode@lists.runrev.com> a écrit :
>> 
>> Ludovic,
>> 
>> Try:
>> 
>> on FillInData pData
>> 
>>       if pData["email"] <> "" then show btn  "sendmail" of me
>> 
>>       else hide btn  "sendmail" of me
>> 
>> end FillInData

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to