Refresh quesion
Posted: Mon Apr 17, 2017 12:18 pm
Roger,
You may have shown me this before, but a user has requested to have the screen refresh just by changing selection on a pulldown. Right now he has to hit enter. The entire screen descriptions change based on selection and displays initially the default items.
DCCOMBOBOX TYPE XBPCOMBO_DROPDOWNLIST cStyp31 LIST aLIST31 SIZE 40,pc2+1 ;
ITEMSELECTED {||cpayor:=cList31[ASCAN(aList31,cStyp31)],dc_getrefresh(getlist) } ;
VALID {||ValidatePAYR(cPAYOR,getlist)} ;
F
irstItem as an example
@ 05,01 dcsay alltrim(cert1) saysize 30 sayrighbottom
@ 05,32 dccheckbox certok1
@ 05,40 dcsay "Date" get certdate1 saysize 6 sayrightbottom
Not sure how to do the validate/refresh without input of some sort, if that is even possible.
Normally the list is only 1-3 items. In this case its 3.
Fred
Omni
You may have shown me this before, but a user has requested to have the screen refresh just by changing selection on a pulldown. Right now he has to hit enter. The entire screen descriptions change based on selection and displays initially the default items.
DCCOMBOBOX TYPE XBPCOMBO_DROPDOWNLIST cStyp31 LIST aLIST31 SIZE 40,pc2+1 ;
ITEMSELECTED {||cpayor:=cList31[ASCAN(aList31,cStyp31)],dc_getrefresh(getlist) } ;
VALID {||ValidatePAYR(cPAYOR,getlist)} ;
F
irstItem as an example
@ 05,01 dcsay alltrim(cert1) saysize 30 sayrighbottom
@ 05,32 dccheckbox certok1
@ 05,40 dcsay "Date" get certdate1 saysize 6 sayrightbottom
Not sure how to do the validate/refresh without input of some sort, if that is even possible.
Normally the list is only 1-3 items. In this case its 3.
Fred
Omni