Hi Naomi,
I could probably help with a clearer and more concise explanation, perhaps additional code excerpts could help understanding.
>Hi everybody,
>
>I have a complex form and in the Init of this form I bind InteractiveChange event of many objects to a new InfoChanged method of the form. This works great.
>
>Now, I have an Edit Box for entering HTML and I have a Preview button on the form to show that HTML in the Browser. I want this prevew button to be enabled when something is entered in the HTML.
>
>So, I have the following code in the refresh method of the button
>
>
>this.Enabled = not eof() and not empty(HTML)
>
>
>And in the InteractiveChange of the HTML editbox I try
>
>
>this.parent.cmdPreview.Refresh()
>
>
>However, nothing seems to happen, the code in InfoChanged method works, but my button remains disabled even after I typed a few keystrokes.
>
>So, I am wondering what is the source of the problem - is it because the "binding" of the value in edtHTML to the table.HTML happens in the Valid event and therefore checking Alias.HTML doesn't help?
>
>What do you think?
>
>Thanks in advance.
>
>UPDATE. Never mind this question, please. My suspicion was correct.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)