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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spacing columns in listbox

Status
Not open for further replies.

room24

Programmer
Dec 28, 2003
83
JM
is the a way to equally space columns in a listbox?

take for example the 3 columns below wich is first_name, last_name and colour is there a way to set the spacing between columns in a listbox

dalton Plamer gray
henry williams black
george nash green

i wanted to put the info in a dbgrid but i need to allow user to make mutiple slections of each row of data and then read those selections into a database table is this possible?? or do i have to use a listbox
 
You can allow multiple selections in a TdbGrid by setting the Options|MultiSelect property to True. This will set up a list of TBookmarks in the SelectedRows property that you can then use to find the selected rows so that you can process the data.

-Dell
 
Yeah i thansk i figure that out its dgMultiSelect under the options property of a DBGrid. I am now trying to send these records to a stored procedure and write the data to a database
 
Yeah i thansk i figure that out its dgMultiSelect under the options property of a DBGrid. I am now trying to send these records to a stored procedure and write the selected data to a database
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top