> 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
> 


As i use Table datagrid, pData is just the value of the cell, so with this 
script it’s work.

if GetDataOfIndex(the dgIndex of me, "email") <> "" then
         show btn  "sendmail" of me
 else hide btn  "sendmail" of me

Ludovic
_______________________________________________
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