Left Justify number in the default value of a input popup

Bruce Easton bruce at stn.com
Fri Jul 25 08:46:45 PDT 2014


James, it sounds like either your edit "LJ" is defined as something 
other than expected, or that one or both of the dummy fields nq and qt 
are being overridden (for their type), perhaps in automatic processing.

Try with this change on the fifth line you show here to see if there is 
any difference:

::qt=""{qy

Bruce

On 7/25/14 11:27 AM, James Flanagan wrote:
> ::qy(2,.0):
> ::qt(2,LJ):
> ::nq(2,LJ):
> ::qy=“1”:
> ::qt=qy:
> ::msgbox qt:
> chg_qty::input popup nq "Enter the new quantity^A " default qt:
>
>
> I am trying to left justify a number in the default value of an input popup, but nothing I have tried has been successful.  in the above code, when qt is shown in the msgbox, it is left justified.  however, in the input popup, it is right justified.
>
> My motivation for this is because we have already had an instance where a user when trying to change the qty 1 to qty 2, accidentally changed the qty to 21.  it is my assumption that this would be best avoided by having the first number you type overwrite the existing default value.  Thank you very much in advance
>
>
> Filepro 5.7.0
> FreeBSD 9.2
>
> James Flanagan
> Flantec.com
>
>




More information about the Filepro-list mailing list