Sometimes hash symbols?

Kowalski

Registered User.
Local time
Today, 13:06
Joined
Jul 5, 2007
Messages
121
Hi
Have something interesting. I have a control that displays a Short Time in Access 2010. However, depending on the position of the control, it sometimes displays the value, and sometimes the hash symbols (as if the control is too narrow).
In the attached screenshot all the controls are exactly the same (copy and paste). Same width, same format, same control source. But if it's below the top control it shows the value, if it's a little to the left or right it shows hash values. Why, oh why?
Capture.PNG
 

Attachments

  • Capture.PNG
    Capture.PNG
    1.5 KB · Views: 133
The hashes are indicating the width of the control is to small to fit the data.
 
Hi
Yes, I agree that is what the hashes are for, but why then do 4 different controls, with exactly the same width and same format display differently?
Only thing that's different is the left property.
 
With variable width fonts the total length changes with the particular characters so possibly some values will fit while others won't.
 
I could imagine that the position affects the system's ability to display the content, since we are talking at the level of single pixels. AS an experiment, you could try to move those controls a little bit more left or right, and see if they redisplay the values. And then try the same with some fixed-width font, or add one or more pixels' width to the controls.
 

Users who are viewing this thread

Back
Top Bottom