Edit Menu popup on a Text Area?
BlitzPlus Forums/BlitzPlus Programming/Edit Menu popup on a Text Area?
| ||
I just got Blitz+ and im playing with TextArea`s, but I noticed if you create a TextField you can press the right mouse button and it pop's up an edit menu. How can I do this with a TextArea? Thanks in advance. |
| ||
I don't think it's possible in Blitz, but you could probably write a lib to do it. |
| ||
Check this out: http://blitzbasic.com/codearcs/codearcs.php?code=697 It's easy to do. |
| ||
Thanks, iv tried ed's popmenu but you can`t detect a mouse click over a Text Area! |
| ||
oh, bugger. |
| ||
You need to write your own textarea for that. With blitzplus almost anything can be made. But one just needs to do it theirselfs, instead of asking mark to do it :) |
| ||
Im not asking Mark to do anything, but whats the point of a textarea command that has so many basic limitations, I brought Blitz+ because I wanted an easy to use windows gui, but I might aswell use Blitz3D if I have to code everything myself! I feel like I have wasted £40. |
| ||
It is not like b+ is not worth it. There are a number of limitations that do not allow the creation of modern applications. But languages with those features are very hard, or harder to get into. Not to mention the commercial limitations of for instance Delphi and Visual Basic. btw - if you need a texteditor then look at my blitzcoder showcase entry. I got a almost functional texteditor on there. Including code for a custom popup menu. It might be easily adjustable to do what you want. |