12-07-2013, 06:55 PM
DT_Page does not store page number in a variable. Just hides/shows controls. You can store it in an int- variable when switching page with DT_Page.
case 3 ;;Button
int- t_page
t_page=1
DT_Page hDlg t_page
execute code on page 1
out t_page
case 3 ;;Button
int- t_page
t_page=1
DT_Page hDlg t_page
execute code on page 1
out t_page