Validating content of a ListView item

rzamith

Member
Joined
May 22, 2006
Messages
5
Programming Experience
3-5
Hi everyone,

I'm implementing a kind of "project manager" software, and I chose to use the listview as the tool to list all the tasks of the project.
I'm having problems to validate the items that the user inputs. For instance, one of the columns is a "datetime" type (example: 11-07-2006), and if the user inputs a wrong text there has to be a validation.
I tried to use the "Private Sub ListView4_AfterLabelEdit" method, but it doesn't work..

For example, i have a textbox that receives the input of the user on the listview item:

input: "test" (ENTER)
input: "test2" (ENTER) -> textbox1 prints the text "test"

(has you can see, the second input is "test2" but after you press enter the textbox1 prints the FIRST input.. anybody knows why this delay? It's ruining my work..

Rui Zamith
 
Back
Top