Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-13-2005, 07:18 PM   #1
Member (1 bit)
 
Join Date: Jan 2005
Posts: 1
new to visual basic

at the moment i'm kicking myself in the behind, wondering why i took a class on VB. anways i'm starting a project but i'm having some issues. i have two listbox, in one you can buy certain items and in the other it keeps track of what items you've bought. the layout is exactly the same as "dope wars", for those that are familiar with the game. i want to be able to highlight an item, then with a command button be able to buy it and send it over to the other list box.
hi2u is offline   Reply With Quote
Old 01-13-2005, 09:55 PM   #2
Member (9 bit)
 
Join Date: Nov 2004
Location: Flint, MI
Posts: 256
Get the text of the stored listindex in the buy box (a list box automatically creates an array of strings for your entries) and just put [boughtlistname].additem "[buylistname].text]"

I think I should be in the general visicinity (sp.) Will try to work it out and post tomorrow morning.

^fo
foolishone is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:16 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2