Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replace item text in a button
#1
I want to change the text in a button.

This is the button wich i have found on the website :

Htm el=htm("INPUT" "Find Peter" "" win("Windows Internet Explorer" "IEFrame") 0 0 0x421)

I want to change the text "Find Peter" to "Find a" of "Find b" or so, it should be a variabel

I have tried to read this line into a string var, and then replace tekst, but it wont work because of the " "

Is this possible ? And what function should i use to get this done ?

Thx Peter
#2
Code:
Copy      Help
str s var1 f
s=el.Text
var1="a"
f.from("Find " var1)
el.SetText(f)
#3
thx, this helped me to get on


Forum Jump:


Users browsing this thread: 1 Guest(s)