Mac OSX.4

REALBasic 2007r1


I have a listbox. I also have an edit field.

What I want to happen is that the edit field takes on a particular value in its text property when the user clicks on a line in the listbox.


1. User clicks on listbox1

2. The cell click event occurs

3. the EditField1.Text is assigned a string value in the code of the listbox1.CellClick

4. Nothing shows up in the EditField.

5. User clicks AGAIN in the listbox1 (different row)

6. NOW the EditField1.Text shows up in the EditField but it is the text that was SUPPOSED to show up after the click on the original row, not the row that was most recently clicked.

_________________

The question is, how do I get the EditField1 to respond to the event in the ListBox1 immediately. Get it to "refresh" so to speak.

Thanks


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to