Normal Topic Money element left aligning when Read Only (Read 1127 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Money element left aligning when Read Only
Oct 30th, 2007 at 12:32pm
Print Post Print Post  
I have a money element on my Invoice form, Breakout_Total, which is read only-not grayed out.  It is populated when money amounts are entered in any of 6 other money elements.  The value totals and reads correctly except that the amount, unlike the other 6, displays on the left side of the element.

The property editor shows that it is set to right align, but the only way I can get the value to align at the right is to make the element writable, then enter into it and exit again.  Then the value right aligns.  However, once I change it back to read only, all the stored values align at the left again.
  

**
Captain Infinity
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Money element left aligning when Read Only
Reply #1 - Oct 31st, 2007 at 1:51pm
Print Post Print Post  
FYI, I have Money elements set up the same way (read only - not grayed out). Mine stay right aligned.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Money element left aligning when Read Only
Reply #2 - Oct 31st, 2007 at 3:24pm
Print Post Print Post  
Carl, does your element populate with programming?
  

**
Captain Infinity
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Money element left aligning when Read Only
Reply #3 - Oct 31st, 2007 at 4:38pm
Print Post Print Post  
Infinity wrote on Oct 31st, 2007 at 3:24pm:
Carl, does your element populate with programming?

Yes.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Money element left aligning when Read Only
Reply #4 - Oct 31st, 2007 at 4:42pm
Print Post Print Post  
Any chance you'll be at Saturday's SANE meeting?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2492
Joined: Aug 20th, 2003
Re: Money element left aligning when Read Only
Reply #5 - Oct 31st, 2007 at 8:10pm
Print Post Print Post  
Is Breakout_Total perhaps the first element that focus would appear in when the form is opened?
Are you calling ThrowFocus and specifying the Breakout_Total element?

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Money element left aligning when Read Only
Reply #6 - Oct 31st, 2007 at 11:44pm
Print Post Print Post  
Infinity wrote on Oct 31st, 2007 at 4:42pm:
Any chance you'll be at Saturday's SANE meeting?

Yes.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Money element left aligning when Read Only
Reply #7 - Nov 1st, 2007 at 1:29pm
Print Post Print Post  
Thanks Ray, I do think it is a focus issue, although nothing throws focus to that tab or that element.  Sometimes it's right aligned, sometimes left.  Here's a situation:  If I do a search for records which have a value greater than 0 in that field, the results display left aligned.  However, if I search for those records using other criteria, the display is right aligned.  Gremlins?  In any case, it's not really important, as long as the number is correct.  I'm sure my users will never even notice the alignment either way.  Thanks for your help.

Update: It's definitely focus related to my retrieve spec.  Here's what's happening:  when I enter the field to put my retrieve spec into it, it automatically left-aligns my entry.  If I then Hit F10 without exiting the element the results are left aligned.  However, if I exit the element, the spec switches to right-aligned, and the results display that way as well.

So, case closed, I'm doing it to myself.  Thanks again.
  

**
Captain Infinity
Back to top
IP Logged