Jump to content

Multicolumn Listbox element behavior


Recommended Posts

Hi,

I am working with Multicolumn Listbox, and I want to change the display method of one column of the Listbox to those like password display (i.e ***), but I do not know how to achive this.

Besides, I want to insert a combo box in one colomn for each element so that customer can input easily, can any body help on these 2 issue?

Link to comment

Hi,

I am working with Multicolumn Listbox, and I want to change the display method of one column of the Listbox to those like password display (i.e ***), but I do not know how to achive this.

Besides, I want to insert a combo box in one colomn for each element so that customer can input easily, can any body help on these 2 issue?

The short answer is you cannot. You cannot change the text attributes of a single column/row and you cannot embedd child controls into the cells.

What you can do is make it look like that is what it is doing.

For thee password display, you can replace the text after the cell is edited using the event structure. You will have to keep another copy of this column since you will be overwriting the cell contents.

For the combo-box, you can overlay an array of menu-rings or enums. You will have to manage resizing if that is required.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.