I have a general question.
Would it be possible to program a "simple" text-editor using oorexx/oodialog?
I would need a textbox and be able to change text size, text color, and text
It depends on how "simple" you mean. In general I would say ooDialog is not
suitable for a text editor, but you can certainly use an Edit control to edit
You would have Cut / Copy / Paste functionality. As for text size, color, and
background color, you can change all those attributes, but only for all the
text in the Edit control. You can not make some text, or words one color and
other text a different color.
Thank you Mark,
your reply was very helpful.
The reason why I was asking is the following.
I have developed a REXX program which reads and analyses text and makes string
manipulations based on the analysis. In order to improve the program I would
need to give the output some color, i.e. text strings would be visible in
different colors based on the analysis. The color should also change
interactively when you modify the text in the edit box. Consequeently, it
should not be a "static" output like a html page.
Is there a way to use my code in combination with a different programming
language (maybe Jave, I have no idea) or would I have to learn a new
programming language and rewrite everything?
1.) You could do this with ooDialog, if ooDialog had support for a RichEdit
control. I plan on adding that, but who knows when I will get to it. Not in
the immediate future though.
2.) You could try BSF4ooRexx, which would allow you to use your Rexx code and
Java code together. Rony, the author of BSF4ooRexx has a SourceForge project
for BSF4ooRexx now and he is very helpful. It seems to me you would need to
know some Java to be able to do this, but, I have never used BSF4ooRexx for
anything so I'm not sure how much Java you need.
Here is where the BSF4ooRexx project is: