Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How create a textbox with a real right-alignment
Message
From
27/02/1998 13:36:41
 
 
To
27/02/1998 13:31:01
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00081733
Message ID:
00081744
Views:
20
>>>I want to create a textbox (numeric type) with right-alignment and I can't.
>>>
>>>InputMask = 999,999,999
>>>
>>>Ex.:
>>>I input 4 digits (1234) and display value = 123.4 before I press enter or this object lost a focus.
>>>
>>>The format I prefer is 1.234 (before this object lost a focus)
>>>
>>>Thanks in advice,
>>>
>>>Razan
>>
>>If you use InputMask='999.999' then VFP expect to have three digits before dot, so you should type e.g. 001234 to get Value=1.234
>
>Sorry,
>
>New ex.:
>I input 4 digits (1234) and display value = 123,4 before I press enter or this object lost a focus.
>
>The format I prefer is 1,234 (before this object lost a focus)
>
>Thanks in advice,
>
>Razan

Are you sure that this is new ex :)? Take it easy, it's Friday.
P.S.: the first step to get right-alignment is to tell VFP that this is numeric value.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform