473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Listview: 3 columns to be linked with combobox, others with textbox

228 100+
Hi,

i just have the picture of how i want it to look like and behave in my head but no idea how to implement it.

I have a listview control that have 6 columns. i want the first 3 columns to be edited for separate combobox. the combos are populated and user just have to select. while the others from individual/3 textboxes.

so far, i can edit each row with a single textbox or combobox.

what i am thinking is...when a row is clicked [where fullrowselect=true], the comboboxes be placed on the rows of each column they belong.

i hope i am clear. poor english again...


any idea?
Dec 4 '10 #1
2 3663
Guido Geurs
767 Expert 512MB
Place the lists and textboxes in a frame and use the Mouse-Up or Mouse-Down to get the X and Y coordinates for placing the frame like:
(See also attachment)

Expand|Select|Wrap|Line Numbers
  1. Private Sub ComClose_Click()
  2.    Frame1.Visible = False
  3. End Sub
  4.  
  5. Private Sub MSFlexGrid1_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
  6.    With Frame1
  7.       .Top = MSFlexGrid1.Top + y + 120
  8.       .Visible = True
  9.    End With
  10. End Sub
Dec 4 '10 #2
samvb
228 100+
brilliant! Thank you so much!
Dec 9 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Steve | last post by:
I have an unbound combobox in the form header of a continuous form. The selection in the combobox sets the where clause in a querydef which determines QryPFrmInventoryManagement. The following code...
3
by: Robert Misiak | last post by:
Is it possible to have a different font in individual listView columns? When I do something like: ListViewItem lsi; .... lsi.SubItems.Font = new Font (lsi.SubItems.Font,...
0
by: Samuel R. Neff | last post by:
I'm having a index problem with ListView SubItems. If I add multiple columns to the listview and then add items with associated subitems, the ListView displays fine. Then if I delete a column via...
0
by: Ken Arway | last post by:
Using .Net framework 1.1 I've got a Windows Forms application with a tab control having four tab pages. TabPage4 contains a Combobox and a TextBox, which are bound to the same XML file as a...
12
by: AnAnimal | last post by:
Is it possible to make the text box portion of a ComboBox (in DropDown style) behave like a TextBox? By that I mean can it allow the user to select a portion of text by hilighting it with the...
0
by: --== Alain ==-- | last post by:
Hi, i would like to custom my ListView control by making a particular property editor for ListView.Columns property. Basically, i want to allow use to choose among several types of columns...
1
by: Ivan Jericevich | last post by:
I want to join the text from a combobox and a textbox preferably with a space between, as string
1
by: kishh | last post by:
hi i want to display multiple columns in combobox , i want in c# coding can any one help me as soon as possible with regards kishore
1
by: ajith3000 | last post by:
hi everyone,please help me .i'm a newbie see i have a form in that i have following controls .combobox .textbox .listview the combobox contains all the column names of listview like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.