- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Seems simple, but I can't find the right control to allow a user to type in a real number. Edit boxes are used to enter character strings and the spin controls are for integers. Will I have to convert the string into a Real?
Thanks
Thanks
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
you're right, I think, and use DlgGet function.
(in fact I'm not 100% sure but suppose it should work similarly to other languages. (in Delphi you read data as text and then use StrToFloat to convert it to real, for example).
I think that very instructive will be just to take a look at Examples with Temperature Dialog (DoDialog, actaully) (in Micheal Etzel's book - page 357) or Whizzy in Code Samples.
Artur
(in fact I'm not 100% sure but suppose it should work similarly to other languages. (in Delphi you read data as text and then use StrToFloat to convert it to real, for example).
I think that very instructive will be just to take a look at Examples with Temperature Dialog (DoDialog, actaully) (in Micheal Etzel's book - page 357) or Whizzy in Code Samples.
Artur
