Hi
is possible in :
redefine get oGet var num PICTURE '9999.999'
instead of numbers being writen from left to Right , being writen from right to left like calculators do . The number can have decimals.
Best regards
Pedro Faro
Numeric get from right to left
- Pedro Faro
- Posts: 31
- Joined: Sun Jan 29, 2006 6:34 pm
- Location: Lisboa-Portugal
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Pedro,
This is from an old forum messge:
------------------------------
> Like many on this NG, I've been using FW for so long that I've forgotten WHY
> I do certain things a certain way.
>
> On the basis of recommendations in the early years, I've ALWAYS been in the
> habit of setting a numeric GET control in BRW as "Text" (not "Number"),
> "Right", "Multiple line" (not "Single line"). Can anyone remind me why we
> were advised to create numerics as "Multiple line" and if the reasoning
> behind it is still relevant. i.e Is there any down side to reverting to
> "Single line"? What do you guys specify for your numeric GETs?
>
This is the only way to make get objects handling numeric vars to align them to the right properly. What I do remember is that the height of the get has to be at lease 13 pixels or it will show nothing under Win 3.x.-----------------------
James
This is from an old forum messge:
------------------------------
> Like many on this NG, I've been using FW for so long that I've forgotten WHY
> I do certain things a certain way.
>
> On the basis of recommendations in the early years, I've ALWAYS been in the
> habit of setting a numeric GET control in BRW as "Text" (not "Number"),
> "Right", "Multiple line" (not "Single line"). Can anyone remind me why we
> were advised to create numerics as "Multiple line" and if the reasoning
> behind it is still relevant. i.e Is there any down side to reverting to
> "Single line"? What do you guys specify for your numeric GETs?
>
This is the only way to make get objects handling numeric vars to align them to the right properly. What I do remember is that the height of the get has to be at lease 13 pixels or it will show nothing under Win 3.x.-----------------------
James
Numbers
The edit control in the resource should be set as shown in this one:
CONTROL "", 403, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 104, 52, 56, 10
Of course the ID number would be different, as would the last 4 digits identifying the control position and size.
CONTROL "", 403, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 104, 52, 56, 10
Of course the ID number would be different, as would the last 4 digits identifying the control position and size.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Pedro Faro
- Posts: 31
- Joined: Sun Jan 29, 2006 6:34 pm
- Location: Lisboa-Portugal
- Contact: