RE: How do you populate a ListView?
- Posted by ronaustin at alltel.net Oct 17, 2003
- 435 views
--------------Boundary-00=_S0RWENY1VA4000000000 charset="iso-8859-1" =0D =0D -------Original Message-------=0D =0D From: EUforum at topica.com=0D Subject: RE: How do you populate a ListView?=0D =0D =0D =0D should be =0D count =3D addLVItem(myLV, 0, {db_key,db_data})=0D You can replace the 0 with the id for an icon returned whith addIcon =0D command=0D =0D I got the ListView displaying my data, thanks to Tony, but how do I get r= id of the thing?=0D =0D I set up a procedure so that when I click on the "Print to Screen" menu i= tem it pops up the ListView showing the contents of the database, but how do = I get rid of the thing and make it go away? I originally hid it with SetVisible. There is no close button to click to make it invisible again= =2E=0D =0D Also, if I click on one of the items in the ListView I'd like to be able = to retrieve the whole record and display it. Is this doable?=0D =0D ronaustin at alltel.net wrote:=0D > I am trying to display the contents of a database using listview. --------------Boundary-00=_S0RWENY1VA4000000000 Content-Type: Text/HTML; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-= 1"> <META content=3D"IncrediMail 1.0" name=3DGENERATOR> <!--IncrdiXMLRemarkStart> <IncrdiX-Info> <X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID> <X-FVER></X-FVER> <X-CNT>;</X-CNT> </IncrdiX-Info> <IncrdiXMLRemarkEnd--> </HEAD> <BODY style=3D"BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px= 10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D= yes ORGYPOS=3D"0" X-FVER=3D"3.0"> <TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100= %" border=3D0> <TBODY> <TR> <TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F= AMILY: Arial" width=3D"100%"> <DIV><BR> </DIV> <DIV id=3DIncrediOriginalMessage><I>-------Original Message-------</I></D= IV> <DIV> </DIV> <DIV id=3Dreceivestrings> <DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m= ailto:EUforum at topica.com">EUforum at topica.com</A></DIV> <DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> Friday, Octo= ber 17, 2003 4:30:21 AM</DIV> <DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai= lto:EUforum at topica.com">EUforum</A></DIV> <DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> RE: How d= o you populate a ListView?</DIV></DIV> <DIV> </DIV> <DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The Euphoria Mailing List =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D <BR><BR><BR>should be <BR>count =3D addLVI= tem(myLV, 0, {db_key,db_data})<BR>You can replace the 0 with the id for a= n icon returned whith addIcon <BR>command</DIV> <DIV> </DIV> <DIV>I got the ListView displaying my data, thanks to Tony, but how do I = get rid of the thing?</DIV> <DIV> </DIV> <DIV>I set up a procedure so that when I click on the "Print to Screen" m= enu item it pops up the ListView showing the contents of the database, bu= t how do I get rid of the thing and make it go away? I originally h= id it with SetVisible. There is no close button to click to make it= invisible again.</DIV> <DIV> </DIV> <DIV>Also, if I click on one of the items in the ListView I'd like to be = able to retrieve the whole record and display it. Is this doable?<B= R><BR><A href=3D"mailto:ronaustin at alltel.net">ronaustin at alltel.net</A> wr= ote:<BR>> I am trying to display the contents of a database using list= view.</DIV></TD></TR> <TR> <TD id=3DINCREDIFOOTER width=3D"100%"> <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%"> <TBODY> <TR> <TD width=3D"100%"></TD> <TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD> <TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T= --------------Boundary-00=_S0RWENY1VA4000000000--