M
mio
Guest
That's easy; Our preferred way as follow: 1. When loading your selection list (ADD-LAST method), for the entry item you want to protect, but still show to the user, place a character, an "X" at column 100. To position an "X" at column 100, simply do something like this: ASSIGN wp-method-return = wp-combo-actif:ADD-LAST({"PROTECTED ITEM" + FILL(" ", 100 - LENGTH ("PROTECTED ITEM")) + "X") IN FRAME main-fr. 2. Make sure you selection list does not show this special character by setting the size of the selection list less than 100 char wide, may be 50 or so. 3. Then when the user select that special protected entry, you validate position 100 ; if it contains an "X", then you do something, else you do something else. Example: IF SUBSTRING(wp-combo-actif:SCREEN-VALUE IN FRAME main-fr, 101) = "1" THEN DO:
Continue reading...
Continue reading...