I know there is better in/ on the forums but I didn't need a full notepad, just the basics. Here is the source project below, hope it's useful to someone.
http://members.westnet.com.au/bangfeast ... ePiddle.7z
***** Update *****
Didn't realise that it had been nearly 6 (??) years since I worked on this and needed it again so I have done a massive update to PB 5.23 compatibily, fixed things that were wrong and added things I thought that I needed.
Hope the link above is working.
Apart from the list of things above, there were lots of small improvements so go through the code with a fine toothed comb and improve it where I could not. Doubless there are a lot of things that could be better.[Top menu bar]
Load an RTF file
Save to an RTF text file
Search text
Find first on RETURN then:
Find next on button or F3
Search exact case or not
Search up or down
Toggles
Screen snap
Word wrap
Read Only
AutoSave every 15 minutes
Help file (no!)
[Effects bar]
Graphical font selector (FluidByte)
Font Size
Character Locale (Not yet)
Bold, italic, underline, colour (SROD), Para left/middle/right, bullet
[Edit form]
Apart from typing in there (Grin), you can paste RTF text from other sources.
Select all text in the gadget
Control + Up or Down changes selected font size
[Statistics bar]
Number of lines, words and characters are displayed.
[Fake status bar]
Actually a stringgadget
Tried to add shortcuts for every menu option and also to keep the code consistent. Can't spend any more time on this as there are other programs to get out the door.
InfraTec was once again an invaluable help fixing things and giving suggestions when I had no hope of doing so.