ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ·Q°Ý¦p¦óIJµoTreeViewªº©R¥O?

[µo°Ý] ·Q°Ý¦p¦óIJµoTreeViewªº©R¥O?

¦U¦ì¤Ó¤Ó¦n.
¥»¤H¦bUserform «Ø¥ß¤F¤@­ÓTreeView, ¤Î¤@­Ó Textbox1.
²{¦bTreeView1ªº¥N½X¤v¸g©w¸q¦n¤F,¦ý§Ú·Q·í§ÚÂIÀ»¤l¥Ø¿ý®É, textbox1.value¥i¥H¥X²{¤l¥Ø¿ýªº¦WºÙ.
½Ð°Ý§Ú¸Ó¦p¦ó°µ©O?

§Ú¶}©l¥H¬°³o¼Ë´N¥i¥H..¦ý³ø¿ù..,½Ð«ü±Ð.
Private Sub TreeView1_Click()
TextBox1.Value = Treeview1.item.value.
End Sub


Private Sub UserForm_Initialize()
Dim nodX As Node
With Me.TreeView1
    With .Nodes
        .Add , , "L1", "Root"
            .Add "L1", tvwChild, "L11", "1"
            .Add "L1", tvwChild, "L12", "2"
                .Add "L11", tvwChild, "L111", "3"
                .Add "L12", tvwChild, "L121", "4"
                .Add "L12", tvwChild, "L122", "5"
            
       ' .Add , , "L2", "Stanley"
        
        .Item("L122").EnsureVisible
        .Item("L111").EnsureVisible
    End With
    .Style = tvwTreelinesPlusMinusText
End With
End Sub
NeverTry , NeverNo !

±NTreeview.item §ï¦¨ selectedItem ³o¼Ë´N¥i¥H¤F
  1. Private Sub TreeView1_DblClick()
  2. TextBox1.Value = TreeView1.SelectedItem.Text
  3. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# uf023630
½Ð±Ð¤@¤U¡A¦b°õ¦æ®É¥X²{«¬ºA¬°©w¸q (Node)¡A
¬O­þ¨à¶·¥[©w¸q¡H  ÁÂÁ§A¡I

TOP

¦^´_ 2# uf023630


    HOHO~ÁÂÁ§Aªº´£¿ô..¯u¬O·í§½ªÌ°g!!^^
NeverTry , NeverNo !

TOP

¦^´_ 3# c_c_lai
¤u¨ã--³]©w¤Þ¥Î¶µ¥Ø--±N " Microsoft Windows Common Controls 6.0 (SP6)" ¤Ä¿ï§Y¥i

TOP

¦^´_  c_c_lai
¤u¨ã--³]©w¤Þ¥Î¶µ¥Ø--±N " Microsoft Windows Common Controls 6.0 (SP6)" ¤Ä¿ï§Y¥i
uf023630 µoªí©ó 2013-12-2 13:03

Microsoft Windows Common Controls 6.0 (SP6) MISSING!
(§ä¤£¨ì©O¡I)

TOP

¦^´_ 5# uf023630
§@·~¨t²Î§Ú¬O¨Ï¥Î Win7, ¥H¤Î
Office 2010 ª©¥»¡C

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-12-2 16:58 ½s¿è

¦^´_ 7# c_c_lai
2003 Microsoft Windows Common Controls 6.0 (SP6) ¤]§ä¤£¨ì£«¦ý.
¦p¹Ï1



°õ¦æ¤@¦¸ªí³æ,¦b¹Ï2´N¥X²{

·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 8# GBKEE
·PÁ¡I ²×©óª¾¹D¦p¦ó«Ø¸m¤F¡A¦A¦¸¨¥Á¡I

TOP

¦^´_ 1# StanleyVic
¦p uf023630 ¤j¤j©Ò¨¥¡A±NTreeview.item §ï¦¨ selectedItem ´N¥i¥H¤F¡C
  1. Private Sub TreeView1_Click()
  2.     TextBox1.Value = TreeView1.SelectedItem.Text
  3. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD