![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: how to insert data into Listbox1 ? Topic Summary: Created On: 31-Jul-2008 07:45 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
hi,all.
In SA , I use VBA editor , I pull a Listbox1 on the panel, but can not insert data to the Listbox1? How should I do? First , I choose the "Tools" -> "References" , then include "Microsoft Windows Common Controls 6.0(SP6)". Second , Dim item as MSComctlLib.ListItem Set item = Listbox1.listitems.add ---- error But , it is error , "listitems " not find . In the Object Brower , in the "MSComctlLib" ,I can find the class "listitems" ,and its method "add", why? How should I do if I want to add data into listbox1, thanks. |
|
![]() |
|
![]() |
|
hi,all. In SA , I use VBA editor , I pull a Listbox1 on the panel, but can not insert data to the Listbox1? How should I do? First , I choose the "Tools" -> "References" , then include "Microsoft Windows Common Controls 6.0(SP6)". Second , Dim item as MSComctlLib.ListItem Set item = Listbox1.listitems.add ---- error But , it is error , "listitems " not find . In the Object Brower , in the "MSComctlLib" ,I can find the class "listitems" ,and its method "add", why? How should I do if I want to add data into listbox1, thanks. I think all you have to do is code Listbox1.AddItem "New Item" Edited: 31-Jul-2008 at 16:31 by Elvin Stern |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.