FrmDirection class enhancement