::GetSelPos( @nLo, @nHi )
// Delete selection
if nHi != nLo
// ::GetDelSel( nLo, nHi )
::EditUpdate()
endif
METHOD KeyChar( nKey, nFlags ) CLASS TGet
...
case nKey >= 32 .and. nKey < 256
...
::GetSelPos( @nLo, @nHi )
// Delete selection
if nHi != nLo
if ::oGet:Type != "D" // new
::GetDelSel( nLo, nHi )
::EditUpdate()
else
::SetPos( nLo + 1 ) // new
endif
endif
...
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 51 guests