Previously, Ed Clark wrote in qdn.public.qnxrtp.newuser:
Hello. I am migrating from DOS environment to QNX. I am a bit intimidated by
the intricacies of Photon. I want to put up a screen with 20 labels, each
followed with a text field that is dynamically updated with changing
parameter data. Any hints or clues on how to approach this? I am used to a
‘gotoxy’ type call to position and then a call to throw some text down. How
do I do the equivalent under qnx? Do I need to use photon for this?
There are a number of approaches to this depending on your needs.
One way to set this up would be to compose the look of the window
in PhAB. This is probably the easiest. Do you have to move
the widgets around? If so, instead of using gotoxy and putting
text down, you move the text widget around by changing its position
Note, from your description it isn’t clear that you really need
text widgets at all. If you just want text on the screen, but
the user will not update it, label widgets will work just as
I should note that it is possible to treat a Photon Window as a
graphics canvas that you will just dump text on. While this is
a lower level of access, it will probably be more complicated.
Mitchell Schoenbrun --------- email@example.com