I have a field "ffield" and a button and I am trying to make content of field "link"
Here is my code
In Button code, I have added this :
on mouseUp
set the textStyle of fld "ffield" to "link"
put url "some web address" into ur
set the linkText of fld "ffield" to ur
end mouseUp
This gives me error : Object: can't set this property
Anyone know why?
Setting text to link
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Setting text to link
Hi,pravgcet wrote: I have a field "ffield" and a button and I am trying to make content of field "link"
You were almost there!
Try this:
Code: Select all
set the linkText of char 1 to -1 of fld "ffield" to ur
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!