2014년 12월 5일 금요일

How can I create the event Textbox1.Textchanged ?


Why can't I find the option for Textbox's Textchanged event? That means the event triggers when the text in the textbox changes.

--

There isn't one.  You can compare text when the box either gains or loses focus.


--
Some people use a fast clock and a global variable to compare

past and present contents on the fly.

--
Actually I tried "While 0 = 0" but it hangs,i can see the clock(=timer in .net) now, but do a fast clock make the memory become higher?

--
There isn't one.  You can compare text when the box either gains or loses focus.

Actually the textbox.losefocus is good but if there is a option can instantly give the result when the textbox's text changed? 
Actually timer(clock) can give the result well in this session.

--
I just remembered I had an example of this, for autocomplete ...

Pay particular attention to the Clock1 block action in the attached example.

The example uses words from the US Declaration of Independence  
as a source of auto-completion words as you type.



























--

댓글 없음:

댓글 쓰기