Troubleshooting self-clearing form fields
Posted: Mon Apr 23, 2012 11:33 pm
So I've been playing with livecode, and am very impressed, I have found a mystery, or made a mistake though that I can't seem to solve.
I have a group of fields (text input and one scrolling text box). The fields get populated when selecting a listing from a Datagrid and all is well. The weirdness is that upon selecting a listing in the Datagrid and having it populate the form fields, I can select any *blank* fields just fine (nothing happens to the other fields which is correct), however if I select a field that has some text in it, every field in the group gets cleared... and I'm not specifying anywhere or clearing it. I've tried using the message watcher, as well as tried trapping mouseUps (which appears to be when the fields all get reset) both at the field and group levels, but I don't know why this would be happening. Could anyone lend some insight or troublshooting tips (the message watcher really just got me confused so it didn't help much)
Thanks in advance, any direction would be helpful.
Jim
I have a group of fields (text input and one scrolling text box). The fields get populated when selecting a listing from a Datagrid and all is well. The weirdness is that upon selecting a listing in the Datagrid and having it populate the form fields, I can select any *blank* fields just fine (nothing happens to the other fields which is correct), however if I select a field that has some text in it, every field in the group gets cleared... and I'm not specifying anywhere or clearing it. I've tried using the message watcher, as well as tried trapping mouseUps (which appears to be when the fields all get reset) both at the field and group levels, but I don't know why this would be happening. Could anyone lend some insight or troublshooting tips (the message watcher really just got me confused so it didn't help much)
Thanks in advance, any direction would be helpful.
Jim