Advertisement
1_2002 Custom Controls/ Forms/ Menus #104923

Clear all Texbox in a Form

This Code clears all textboxes in a form.This code is useful if u use so much textbox contols in a form and have to clear all of them when the user selects (New Record) selection.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
For i = 1 To Me.Controls.Count - 1
    If TypeOf Me.Controls(i) Is TextBox Then
      Me.Controls(i).Text = ""
    End If
  Next i
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine