lnBar = bar() do case ... case lnBar = 8 && Clear Option keyboard '{CTRL+Y}' endcaseBut that did not seem to work.
lnBar = bar() do case ... case lnBar = 8 && Clear Option * toControl is the control on which the right click occured lnSaveStart = toControl.SelStart toControl.Value = left(toControl.Text,toControl.SelStart) toControl.SelStart = lnSaveStart endcaseThis worked fine for text values but gave me problems for numeric or date values (which makes sense considering my code). This had the added problem of converting my date or numeric values into text.