Posted by: Michael Hummel
i have a table with 5 columns, 2 columns should be editable.
The Problem: Column C (see jpg) should always!! get the focus when pressing
the TAB or ENTER Key (SalMapTab....)
Column D should only be "accessible" by mouseclick
The problem is, when both columns are editable the focus is C, D, C, D, ...
I tried to set column D to "not editable" and do this code
ON MTM_AreaLBtnUp
If wParam = SalWindowHandleToNumber( colD )
call SalEnableWindow( colD )
call SalSetFocus ( colD ) ! does not work
and ON SAM_KillFocus -> Call SalDisableWindow(colD)
but the focus is not set. you have to click twice.
does anyone know a better solution
thank you
michael