.NET — Textbox control - wait till user is done typing

前端 未结 6 849
轻奢々
轻奢々 2020-12-03 05:29

Greetings all,

Is there a built in way to know when a user is done typing into a textbox? (Before hitting tab, Or moving the mouse) I have a database query that occ

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 06:01

    'vb.net language 'global declaration

    Public Tawal as integer 
    

    'on timer1 properties

    Timer1.enable = true
    Timer1.inverval =1000
    

    'on procedure

    Timer1.start()
    if Tawal <2 then T awal =0
    if Tawal >3 then 
       Call FillGrid
       Timer1.stop()
    end if
    

提交回复
热议问题