Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check box/list box

Status
Not open for further replies.

GOOGE

Technical User
Jun 20, 2001
36
NZ
hi there,
i have created a program for ctaloging dvd movies, the program alows you to put movies on loan to people, the movies are listed in a list box, what i want to do is have it so i can type in a freinds name and then have all of the dvds listed with checkboxes next to them then you can select what dvds are loaned to that person, can this be done, keep in mind somebody like me may have 200 dvds or more so if i have to create a new object(check box) for every dvd in the list it may limit me as to how many object you can have per form. im i going about this the righjt way or is there a better way of doing this, if so what is it .

all you help is appreciated

thanks in advance

james cuttance
 
im sort of busy righ this second.. so i cant check it out but i will when im not... here and idea.... when you enter what movies are rented by person x .... those movies index numbers are remebered... so when you click it.. it removes all index#'s exept the ones of the person you rented it to... or have it so it saves log files... ill work on it for you lemme kill these 10 ims :/ in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Sounds like you are going about it the wrong way.
I would either use a ListView control with check boxes next to each item in the list,
or,
use 2 ListBox controls where all items are in one box and selected items are in the other. The user can then move the items to and from the 2nd list.

The ListView control may be your better choice.....
 
Just another idea. Maybe use a combobox to list the friends names and a listbox with its style set to checkbox. This way you can select a friend from the combo box and show all the movies in the listbox with the current friends rented DVDs checked. [flip] If you choose to battle wits with the witless be prepared to lose.
[machinegun][hammer]
 
i was thinking a combo box.. for the friends... and 2 list boxes.. on perhaps to the right with ALL the dvds... and then one under neither the combo box to show the dvds the friend has.... and when you chose the friend.. it would load the list into the list box below.. and i was thinkign you could store the friends in text files.. eh here let me explain better..

ok there is a hidden file box... everytime you add a friend... it creates a text file.. with that text file the ending would be stripped and loaded into the combo box... as it would do with the file box on load.. this way all the friends get in there.. and when you chose the friend it would fire up there load text command into the list box below... showing all the dvd's they used... and you could have arrows < and > to move the dvd's back and forth.. and you could have the main list box saved in a text also to save the data.. well iguess you would have to huh... i dunno hopes this helps if yeah want/need help or better explanation let me know.. later in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top