Alex,
I don't know if this is what you are looking for, but here is an old message on numeric GETs. I haven't tried it.
James
From: "Luis Krause Mantilla" <lkrausem@home.com>
Subject: Re: Multiple line numeric gets
Date: Thursday, November 08, 2001 7:16 AM
Colin Wisbey wrote:
> 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.
>
> I've just got rid of CTL3D but my main dialog has a lot of numeric GETs,
> each set up as "Multiple line", and their values no longer display. Their
> height has always been 10 and has always been fine when using CTL3D.
> Without CTL3D, they display OK if I either increase the height of each GET
> control from 10 to 11, or if I change them to "Single line", but not if I
> leave them as "Multiple line" and 10 height.
As said above, I always create my gets with a size of 13, regardless if they are numerics or not so I don't have to wory on which OS the app may run.
--
Luis Krause Mantilla
lkrausem at home dot com
luis_krause at hotmail dot com