Creating variables

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Aug 6 08:26:57 EDT 2008


I'm sorry, I was a bit quick: all this works when getting/setting  
properties only:

put the long ID of fld "MyField" into tObj
set the text of tObj to empty


Le 6 août 08 à 14:22, François Chaplais a écrit :

> Le 6 août 08 à 13:48, Eric Chatonet a écrit :
>
>> put the long ID of fld "MyField" into tObj
>> put empty into tObj
>> set the showBorder of tObj to true
>
> I have tried this
> ---------
> on mouseUp
>   put empty into fld 1
> put the long ID of fld 1into tObj
> put "hello" into tObj --- does not work, tObj now contains "hello"
> end mouseUp
> ----------
> and it does not work (field stays empty, script executes). However
> ---------
> on mouseUp
>   put empty into fld 1
> put the long ID of fld 1into tObj
> set the text of  tObj  to "hello"--- works
> end mouseUp
> -----------
> works.
>
> Best regards,
> François

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list