Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can not read my variables
#4
These variables are populated only when the dialog is closed.

You can populate dialog variables while the dialog is open using function DT_GetControls.
Function Main_Program7_Gin
Trigger F5     Help - how to add the trigger to the macro
Code:
Copy      Help
;messages2
DT_GetControls hDlg &controls ;;populate variables of main dialog
DT_GetControls id(3 hDlg) &d ;;populate variables of first child dialog
sel wParam
,case 6
,out "d.e9=%s, d.c12Che=%s, d.o3Opt=%s, d.o4Opt=%s, d.o5Opt=%s" d.e9 d.c12Che d.o3Opt d.o4Opt d.o5Opt


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)