[Tutor] Text editor

Matthias Hager martok@mattsmail.com
Sat, 20 Jan 2001 09:25:15 -0800


I'm trying to create a simple text editor. From my knowledge, I have a save as command on the file menu. But I need a save command, that will save without having to open the dialog box, and make them confirm it and everything. I have an idea, that I could just use the open() command, and write it to the file that they have open. But how do I get the name of the file they have open for this function? And what code do I use to write what they have typed in the text bok to that file?

One more thing, how could I check to see if they have made any changes to an open file in that editor?

Thanks in advance

Matthias





--
Programming isn't cool, it's awesome.

%%%################?????????###################^^^
                                          
          martok@mattsmail.com              
      http://mymymatthias.tripod.com/       
                                            
%%%################????????####################^^^         


--



Like my email address? Get your own for FREE at http://firstname.com 
Get you@JohnsMail.com or you@AlexsMail.com or pick from 500 more!