MsgGet() function for a number with decimals?
How?
Thanks
MsgGet() function
MsgGet() function
Un Saludo
Carlos G.
FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10
Carlos G.
FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10
Re: MsgGet() function
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
..
..
best regards
Uwe
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
..
..
best regards
Uwe
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.
i work with FW.
If you have any questions about special functions, maybe i can help.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: MsgGet() function
Assuming we want 4 decimal places
Code: Select all
n := 0.0000
msgGet( "title", "message", @n )
? n
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: MsgGet() function
Fantastic!!!!nageswaragunupudi wrote:Assuming we want 4 decimal placesCode: Select all
n := 0.0000 msgGet( "title", "message", @n ) ? n
Thank you!!!
Un Saludo
Carlos G.
FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10
Carlos G.
FiveWin 19.06 + Harbour 3.2, BCC 7 Windows 10