01-12-2017, 07:49 PM
Many thanks for your help. The control to be cleared is number 5 in the following dialog. The key combination to manually clear could be "Home - Shift/End - Back".
Function tempf05
Function tempf05
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 45 "Dialog"
;3 Static 0x54000000 0x0 6 3 60 12 "Θερμοκρασία (C) :"
;4 Static 0x54000000 0x0 123 3 50 12 "Υγρασία (%) :"
;5 Edit 0x540300C2 0x204 71 3 31 12 ""
;8 Edit 0x540320C2 0x204 177 3 31 12 ""
;6 Button 0x54032000 0x0 5 24 48 14 "Calculate"
;7 Edit 0x54030880 0x200 66 25 103 14 ""
;1 Button 0x54030001 0x4 172 24 48 14 "Exit"
;END DIALOG
;DIALOG EDITOR: "" 0x2040400 "*" "" "" ""
str controls = "5 7 8"
str e5 e7 e8
if(!ShowDialog(dd &sub.DlgProc &controls)) ret