Help - Search - Members - Calendar
Full Version: RSView32 Embedding variables into text
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
finfin
I have a problem that if I type in text and align it to a numeric display on a screen that is to be resized at runtime; The text and numeric input are miss-aligned left to right when I run the app.

Can anyone help me with this?
Been Around
QUOTE(finfin @ Jan 18 2007, 01:03 PM) [snapback]48077[/snapback]
I have a problem that if I type in text and align it to a numeric display on a screen that is to be resized at runtime; The text and numeric input are miss-aligned left to right when I run the app.

Can anyone help me with this?









You need to select Center justification. It is located on Tag assignment screen when ever you select a new numeric display or edit a previous



Example:



QUOTE(finfin @ Jan 18 2007, 01:03 PM) [snapback]48077[/snapback]
I have a problem that if I type in text and align it to a numeric display on a screen that is to be resized at runtime; The text and numeric input are miss-aligned left to right when I run the app.

Can anyone help me with this?







You need to select Center justification for each numeric display.. It is located on Tag assignment screen when ever you select a new numeric display or edit a previous display. The default is right justification. You will see this alot. Get used to it. Numeric Entry, Label, String input, and so on.



[attachmentid=4027]

finfin
Thanks, but that doesn't help. It has to do with resizing the screen during runtime. It moves the object location based on the horizontal stretch but mayIncrease the font size based on the vertical stretch. If the vertical stretch is greater the fonts from the text can overlap the numeric.

There also seams to be a tendancy for it to round the font size up to the next larger font size in almost every case.
OkiePC
I don't think there is a fix for that but some fonts may perform better than others...
Been Around
Have you tried grouping these objects together?
finfin
Grouping doesn't help.
Been Around
Could you post a screenshot of the display settings on that screen



BobLfoot
Vb6 suffered from the same problem and there was an application which would resize VB forms without messing up the text and numeric orientations. DOn't recall it's name but a google search mght yield some results.

Why not design in the target resolution would be my question?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.