for now it's solved about 90% :-s , i am searching to find the way to delete the text from the rtb (if any is selected ) when opening a file, i will post the answer when i find it and mark it resolved then