以为你上次已经搞定了呢:
DropDownOpened 事件:
Dim n As Integer = Forms("窗口1").Controls("TabControl1").SelectedIndex
Dim clb As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox" & n+1)
clb.value = CurrentTable.current("铺市品项")
With Forms("窗口1").DropDownBox
Dim s As String
For i As Integer = 0 To Forms("窗口1").Controls("TabControl1").TabPages.Count() -1
Forms("窗口1").Controls("TabControl1").SelectedIndex = i
clb = Forms("窗口1").Controls("CheckedListBox" & i+1)
If clb.value > ""
Exit For
Else
Forms("窗口1").Controls("TabControl1").SelectedIndex = 0
End If
Next
End With
动态增加控件、页面我还不会···· 谁能提示一下 谢谢~
[此贴子已经被作者于2010-12-1 12:38:34编辑过]