发新话题
打印

How this can appens?

How this can appens?

is not an error is only a strange behavior.
If somebody can explain me WHY this appens it will help me to understand better How the things going on.
1) put in a form a ChecklistBox, an Edit and a Button.
2) add some lines to the checklistbox.
3) run the exemple.
4) click on some line in the CheckListBox to check some items and write some text on the edit box
5) put a break point in the On create event of the form.
6) click on the button.
What i get is:
1) $this->Edit1->text empty : Normal
2) $_POST['Edit1'] equal to what i write in the editbox : Normal
3) $checked = $this->CheckListBox1->Checked with all the $key,$item checked. NOT NORMAL
My question is:
why $this->CheckListBox1->checked is updated and why Edit1->text NOT

Many Thank's & best regard's.



I click twice on the button that's why this appens.
Dont care about this post.
Sory for the inconvenient.
Paolo.

TOP

发新话题