DataMiser you are right. The basic stuff doesn't work because i have to load the text when i have text in the rtb or when there is nothing there ( when it's empty that's no problem ) , the problem comes when i have text and i have to load the file. The text from the file has to be placed exactly where the mouse cursor is in the rtb and if i have selected text in the rtb replace it.


For the saving part , the save button has to take some attributes from the two option buttons ( add / replace ) . when add is selected is should just add the content to the file and when replace is selected it should replace the entire file, which again i can't figure out how to code it .

The basic open and save and the part for editing text, font and stuff wasn't so hard, but this is beyond my knowledge , and believe me i have tried searching google and youtube for tutorials