|
-
Aug 18th, 2012, 07:54 AM
#12
Thread Starter
Lively Member
Re: 2 Form controls reading from the same file
 Originally Posted by jmcilhinney
If you have a TextChanged event handler that loads the Text of the RTB as the DocumentText of the WB then what do you need the second line of your original code for at all? All you need to do is set the Text of the RTB and the TextChanged event will be raised. The code already in the event handler will take care of the rest.
The thing is that the other function enables the user to open a project, the script looks for an existing index.html page
and then loads them automaticaly in the RTB and the WBrowser.
But I found a way around. I created a boolean var and set it to false. then added a btn to enable the textChanged event which sets the var to true.
The user now has to enable the the Textchange, it's not exactly what I wanted but should suffice for now.
Thanks,
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|