You are not logged in to Prodigits. Please register or login.
Subject: Vb6 listbox
Replies: 2 Views: 334
naruto_3 26.05.10 - 09:52am
Am writing a program with vb6,and am having a problem with d listbox coding, i have added items to d listbox via d property option. D program has just a list box a comand key and a label. I want a situation when each item in d listbox equals a sentence,e.g if an item in d lisbox is s1ss2,i want when ever s1ss2 is selected frm d listbox,and d comand button is clicked d sentence for s1ss2 to b shown on d label. Nw were do i enter d sentence for each item and how do i code it? Thanks in advancd *
harixxx 27.05.10 - 01:27am
s1ss2.index((indexnum)).selected=true *
ashken 27.05.10 - 02:18am
ever heard of variables? that's where you store your strings, integers etc. a sentence is a string! *
+ refresh
+ my page
+ functions
3 search
4 submit a reply
+ bookmark
8 Tech&Computers Forum
9 Forum Index