You would have to extend the DialogField class. I once did this. Two methods to add/change
new:
void cbsReplaceOnlookup(NoYes replaceOnLookup)
{
// cbs/mf 2004/04/30 begin
if (properties)
dialog::setProp(properties, #PropertyReplaceonlookup, replaceOnLookup);
else
this.fieldControl().replaceOnLookup(replaceOnLookup);
// cbs/mf 2004/04/30 end
}
changed: in unpack add the following to the switch
// cbs/mf 2004/04/30 begin
case #PropertyReplaceonlookup:
this.cbsReplaceOnlookup(unpackedProperties.valueIndex(i));
break;
// cbs/mf 2004/04/30 end
Mike
|