Highlight in Text Area's

Blitz3D Forums/Blitz3D Beginners Area/Highlight in Text Area's

Large(Posted 2003) [#1]
How can I read highlighted text in a text area ?

I'm building an HTML editor and I want to append tags to some highlighted text.

Example :

Bold would become <b>Bold</b>

I am bew to Blitz Plus and any help would be greatly appreciated.

Kind regards

Andy ( aka Large )


Large(Posted 2003) [#2]
Can no one help me ???

There must be way of reading highlighted text or how can you do edit, copy and paste functions.

Kind regards

Andy ( aka large )


Sir Gak(Posted 2003) [#3]
Assuming you are working with the Windows environment, try using the standard Windows copy-and-paste keyboard commands. Highlight text, then press Ctrl-C (to copy the highlighted text), then place the cursor to where you want the text to appear, and press the keys Ctrl-V, which will paste it there. The Copy and Paste commands are usually also available through the standard Windows menu, under "Edit".

I hope this helps.


Large(Posted 2003) [#4]
I think you misunderstood what I am trying to do, I want program a notepad style application, so basically make my own edit menu with the copy and paste functions in.

Kind regards

Andy ( aka large )


Sir Gak(Posted 2003) [#5]
I think someone else more familiar with the Windows API should address this. I could be mistaken, but I don't think it CAN be done in Blitz directly, using just its commands, without stepping out into the Windows command set..