Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Odd text formatting problem (Read 5514 times)
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
Odd text formatting problem
Apr 20th, 2007 at 2:23pm
Print Post  
Good day,

I have a new issue with text showing up partially outside of the box that it is supposed to be inside of.

I use the following code:
       Dim x As Single = Math.Round((_bShelter.BoundingRect.Right - 24) / 2)
       Dim y As Single = Math.Round((_bShelter.BoundingRect.Bottom - 24) / 2)
       Dim bVR As Box = fc.CreateBox(x, y, 24, 24)
       bVR.FillColor = Color.Transparent
       bVR.Pen.Color = Color.FromArgb(75, Color.Blue)
       bVR.EnabledHandles = [Handles].None
       bVR.HandlesStyle = HandlesStyle.Invisible
       bVR.Font = New Font(FontFamily.GenericSansSerif, 7, FontStyle.Regular, GraphicsUnit.World)
       bVR.PolyTextLayout = True
       bVR.Text = "Virtual Rack"
       bVR.Tag = "Virtual"
       bVR.ToolTip = "Right click to access virtual racks"
       bVR.TextColor = Color.FromArgb(75, Color.Purple)
       bVR.ZTop()

This seems to work great on 3 out of 4 of our laptops.  On the 4th one, however, the words "Virtual Rack" appear on 2 lines (as expected), but offset to the left of the outline of the box such that "Vi" and "R" are outside of the outline of the box.

I can send a  screenshot if you would like.

Any ideas what could be causing this??

Jeff
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Odd text formatting problem
Reply #1 - Apr 20th, 2007 at 3:24pm
Print Post  
Good day,

Please email the screenshot, and the saved diagram if possible, to support@mindfusion.eu.

Thank you,
Stoyan
  
Back to top
 
IP Logged
 
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
Re: Odd text formatting problem
Reply #2 - Apr 20th, 2007 at 3:40pm
Print Post  
Will send later.  The laptop that is exhibiting the problem will not be available until 5:00 EST.

Jeff
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Odd text formatting problem
Reply #3 - Apr 25th, 2007 at 11:21am
Print Post  
Have you emailed us any files?
  
Back to top
 
IP Logged
 
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
Re: Odd text formatting problem
Reply #4 - Apr 25th, 2007 at 11:25am
Print Post  
Actually, no I have not.

We have basically determined that the problem is limited to the one laptop.  We're not sure what the issue with that unit is, but it can NOT be duplicated on any of our other test machines.

Jeff
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Odd text formatting problem
Reply #5 - Apr 25th, 2007 at 11:46am
Print Post  
If you look in the display properties applet in the control panel, is any of the following settings different for just that laptop?

- Settings tab \ Advanced \ DPI setting
- Appearance \ Font size
- Appearance \ Effects \ Font smoothing

Stoyan
  
Back to top
 
IP Logged
 
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
Re: Odd text formatting problem
Reply #6 - Apr 25th, 2007 at 11:56am
Print Post  
No sir, all of the settings seem to be OK.

It only happens on a rare occasion and I can not reproduce it.  Interestingly when the text problem occurs, the same laptop will also mis-render Crystal Reports.

We believe it to be something with that laptop and its display drivers.

We used 2 other laptops, changed resolutions and color depths while the application was running, and never could get the problem to occur.

We're calling this solved unless it rears its ugly head on a different machine.

Jeff
  
Back to top
 
IP Logged
 
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
Re: Odd text formatting problem
Reply #7 - May 1st, 2007 at 4:25pm
Print Post  
We have found, but do not understand, the problem.  It is NOT a problem with the FlowChart.  It is related to another component that we use.  If we call that component to display a dialog box and THEN display the flowchart we see the problem.  Otherwise it just NEVER happens.

This other component is also responsible for some strange displays in Crystal Reports.

We are in the process of replacing / recoding the problem component.

Thank you for your help!
Jeff
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Odd text formatting problem
Reply #8 - May 2nd, 2007 at 4:59am
Print Post  
We'd still like to find out why the problem happens - could you email me the component, or an evaluation download link if it's a third party control?

Thank you,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint