Hi Ian,
If you have a MIDI keyboard that has a pitch bend wheel on it, you can use pitch bend to bend the note. If you are working with a virtual instrument that has patches for guitar slides or slurs, you can use a keyswitch to trigger such patches.