Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show + or - with numeric textbox?
Message
From
23/02/2000 15:41:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00336230
Message ID:
00336286
Views:
22
>>A numeric textbox will always show a - (minus sign) before a negative number. However, I would like to explicitly show a + (plus sign) when the number is positive, and neither when it is zero.
>>
>>I couldn't find an InputMask or Format property that would do this. Am I missing something? BTW VFP 5.0a.
>>
>>TIA.
>
>Hi Al,
>
>Don't think you can do it with InputMask or Format, but would displaying positive and negative numbers in different color help you?
>
>Nick

Hi Nick,

That's an excellent idea, which I already use for several numeric controls. However, in this particular instance I'm already using both colour and FontBold/FontItalic for other purposes on this control.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform