by
Frank Pitt >> Mon, 6 Mar 2000 20:55:51 GMT
Is there any way to make the textbox in Jade have different colours shown at once. Like the code editor does.
I have tried creating a custom control to do this using drawText, but this is very slow. I have also tried using labels created dynamically, but this is no good either. There must be a better way.
Don't know if you've solved this yet David, but have you tried actually using the code editor from the Jade IDE ?
There is an example in the Advanced Developers Course schema which uses this if you need a guide as to how to do it. If you haven't got that I'm sure Arjan or Geoff can give you a copy, it was on the Discovery CD.
Other than this, owner-draw is the only solution, and as Craig said, unless you're keen on writing an Active-X control equivalent yourself, getting a third party one would be the way to go.
Frank Pitt
Mentor / Consultant
Software Education Associates Ltd
Web
http://www.softed.com