Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

editovanje subitem-a

[es] :: .NET :: editovanje subitem-a

[ Pregleda: 3862 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

jovica

Član broj: 6933
Poruke: 3
*.bankerinter.net



Profil

icon editovanje subitem-a 05.01.2003. u 08:08 - pre 259 meseci
Kako da u VB NET listview kontroli omogucim editovanje subitem-a ? Nasao sam neki primer u C++ ali on mi ne koristi mnogo.
 
Odgovor na temu

Nemanja Dubravac
Nemanja Dubravac
Sombor / Wien

Član broj: 4621
Poruke: 955
62.108.126.*

Sajt: https://www.shpock.com


+3 Profil

icon Re: editovanje subitem-a 18.01.2003. u 09:47 - pre 258 meseci
ako mislis da iz source-a menjas subitem onda ti ovo treba:
ListView1.Items(a).SubItems(b).Text = "novi text"
a ako hoces da korisnik moze da menja onda procitaj uputstvo iz VS help-a:
Citat:
When the LabelEdit property is set to true, the user is able to modify the text of an item by clicking the item text to select it and then clicking the item text again to put the label text into edit mode. The user can then modify or replace the item's text label. You can use the BeforeLabelEdit and AfterLabelEdit events to perform tasks before and after the user edits an item's text. The text of subitems cannot be modified if this property is set to true. To change the text of subitems, you can display a dialog box to users when they double-click a subitem in the control.

 
Odgovor na temu

jovica

Član broj: 6933
Poruke: 3
*.bankerinter.net



Profil

icon Re: editovanje subitem-a 20.01.2003. u 16:36 - pre 258 meseci
Hteo bi da omogucim korisniku da menja subitem kada klikne na njega, ali ne preko
dialogbox-a vec kao sto edituje item. To bi verovatno moglo uz pomoc obicnog textbox-a koji bi se prikazivao preko stavke koja se menja i bio istih dimenzija. Mozda postoji jednostavnije resenje?
 
Odgovor na temu

[es] :: .NET :: editovanje subitem-a

[ Pregleda: 3862 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.