try this.
dim a as integer
a=instr(display.text,".")
if a = 0 then
display.text = display.text + dot.text
else
display.text = display.text
end if
display.text it is textbox name
dot.text it is dot button name
Quote:
quote:Originally posted by bcmaverik
well i have no clue about the code for , button
and i have some problems with the code for txtbox and don't know what function and syntax to use, i did make it to prevent somebody to enter text but i don't know how to make it prevent text pasting.(i need a function that looks at txtbox when somebody pastes into it, it starts and checks the entry and if non numerical string was entered it deletes txtbox)
|