CMIIW
   
Mas ronald coba skrip ini, agak2 manual sich siapa tau bisa memberi inspirasi hehehehe.....
 
salam,
Jemy
 
 
 
 
Dim ctrl As Control
    For Each ctrl In Form1
 
  
    
    
    If TypeOf ctrl Is TextBox Then
        MsgBox "TextBox :" & ctrl.Name
    ElseIf TypeOf ctrl Is CommandButton Then
        MsgBox "CommandButton :" & ctrl.Name
    ElseIf TypeOf ctrl Is Label Then
        MsgBox "Label :" & ctrl.Name
    ElseIf TypeOf ctrl Is ComboBox Then
        MsgBox "Combobox :" & ctrl.Name
    End If
   
   
    Next
   
   
   
   
----- Original Message -----
Sent: Monday, April 18, 2005 4:19 PM
Subject: [Programmer-VB] Tanya Controls


Dh,
Gimana caranya saya dapetin Tipe Control yg ada di suatu form ?
jadi misalkan di form ada textbox,menu,label, dsb, akan saya tampilkan di msgbox

Salam
Ronald Irawan
Pt. Sanghiang Perkasa
Gd. Graha Kirana Lt.5
Jl Yos Sudarso Kav.88
Jakarta


Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]





Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]





Yahoo! Groups Links

Kirim email ke