Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Important Update: Community Platform Migration​. Learn more​>
29648 Discussions

How to read real type data from edit box?

yysome
Beginner
1,525 Views
I am trying to read some user input real type data from edit box in Quickwin. But it looks to me VF only have the "dlgget" and "dlggetint" function to get integer orcharacter data. How can I read real type data? Really Appreciate!
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
1,525 Views

Character(20):: Text
Real:: f

ret = DlgGet(Dlg, IDC_EDITBOX, Text)
read(Text, *, iostat=iErr) f
if (iErr.ne.0) then
MessageBox(..."Invalid value!")
end if

Jugoslav

0 Kudos
yysome
Beginner
1,525 Views
Thanks!!
0 Kudos
Reply