MsgGet() function

Post Reply
FiveWiDi
Posts: 910
Joined: Mon Oct 10, 2005 2:38 pm

MsgGet() function

Post by FiveWiDi »

MsgGet() function for a number with decimals?
How?

Thanks
Un Saludo
Carlos G.

FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: MsgGet() function

Post by ukoenig »

Did You try with sample :
testmsg.prg :?:

test-section ( add any value : text, numeric ...)
change the textvar to numeric

local cName := "Easily editing a string"
..
..
if MsgGet( "Please type your name",; // Title
"Your Name:",; // Label
@cName ) // A variable by reference
..
..
Image

best regards
Uwe :D
Last edited by ukoenig on Mon Apr 27, 2020 6:22 pm, edited 11 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: MsgGet() function

Post by nageswaragunupudi »

Assuming we want 4 decimal places

Code: Select all

n := 0.0000
msgGet( "title", "message", @n )
? n
 
Regards

G. N. Rao.
Hyderabad, India
FiveWiDi
Posts: 910
Joined: Mon Oct 10, 2005 2:38 pm

Re: MsgGet() function

Post by FiveWiDi »

nageswaragunupudi wrote:Assuming we want 4 decimal places

Code: Select all

n := 0.0000
msgGet( "title", "message", @n )
? n
 
Fantastic!!!!
Thank you!!!
Un Saludo
Carlos G.

FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10
Post Reply