Making a dropdown DisplayOnly
Posted: Wed Nov 11, 2020 6:10 am
Hi All,
Trying to make my dropdown display only. Looking at other posts, I think I have to make the class prim_evef, but I get an error whenever I try to change #DropDown1.ReadOnly to DisplayOnly. Here's what I have:
Thanks, any help is much appreciated!
Trying to make my dropdown display only. Looking at other posts, I think I have to make the class prim_evef, but I get an error whenever I try to change #DropDown1.ReadOnly to DisplayOnly. Here's what I have:
Code: Select all
Define_Com Class(#PRIM_LIST.Dropdown) Name(#DropDown1) Columnheaderheight(0) Columnlines(False) Displayposition(1) Left(0) Parent(#COM_OWNER) Rowlines(False) Showselection(False) Tabposition(1) Height(19) Top(0) Width(225)
If (#Context *Is #prim_evef)
#DropDown1.ReadOnly := (#Context *As #prim_evef).DisplayOnly
Endif