关于在什么事件中向checkListBox中加入items?(50分)

C

chenfsb

Unregistered / Unconfirmed
GUEST, unregistred user!
向form1的checklistBox中加入items,数据集控件在dataModule中,我是在
ADOQuery的afteropen事件中向form1.checkListBox中加入items,程序运行后在
checklistBox中并没有加入items。我就改在Form1.show事件中向checkListBox中加入
items,但是每次窗口重新show之后,checkListBox中的items又没有了,我该在什么事
件中向checkListBox中加入items?
 
首先,要保证Query.Active := True.
在AfterOpen事件里。显示的内容和数据库同步。
 
接受答案了.
 

Similar threads

顶部