07-11-2006 06:29 AM
07-11-2006 06:54 AM
Hello,
you could use a canvas, draw a line in it and make the background transparent.
07-11-2006 10:03 AM
You can also use a "splitter" from the create menu.
They are a little more artistic looking than just a line. Your choice.
07-11-2006 11:04 AM
You can also use text messages filled with the corresponding character from NISYSTEM font: all the lines on this panel are "drawn" this way
07-12-2006 04:27 AM
07-12-2006 07:41 AM
Roberto,
I'm curious as to what you were saying. Can you give a little more detail? All those lines are really text strings?
What do you mean by "corresponding characters"? Is the text background just set to black? Is width of the line adjusted by font size?
Thanks. Just trying to learn more tricks.......
07-12-2006 08:14 AM
07-12-2006 08:28 AM
07-12-2006 09:35 AM
07-12-2006 10:24 AM
Roberto,
After much experimentation I have found that the only way to insert the correct characters is via the charmap application, using its copy function and then pasting into a CVI text message. No success at all with the Alt+0179 type approach, no matter how many different ways I tried it. Perhaps it is a problem with my laptop setup somewhere?
Are the fonts reliably available on other, non-CVI devlopment machines? Do the lines/boxes keep their appearance if the uir is used on another PC with different resolutions, for example when the Resolution Adjustment feature is used? Or do you not allow such an automatic resize in your programs? (I don't.)
An interesting approach, but my personal favourite is to use Paint (or similar) to draw a bitmap of any unusual or complex uir features and simply place it on a canvas. I needed to do that once for a line at 45 degrees - that might be a bit of a challenge for the text message approach!
JR