Конференция "KOL" » kol 3.15 TControl.SetFocused
 
  • dotnet20 (26.10.11 06:53) [0]
    procedure TControl.SetFocused(const Value: Boolean);
    asm
             PUSH  ESI
             MOV   ESI, EAX
             TEST  DL, DL
             JZ    @@1
             {$IFDEF USE_FLAGS}
             //TEST  [ESI].fStyle.f2_Style, 1 shl F2_Tabstop
             {$ELSE}
             //CMP   [ESI].fTabstop, 0
             {$ENDIF}
             //JZ    @@exit

    tabstop is false not means can't get focus, need to comment it.
  • dotnet20 (03.11.11 11:11) [1]
    no answer?
  • Vladimir Kladov © (18.11.11 19:20) [2]
    It was working for yers this way. If you still want to focus the control programmatically, just use API function SetFocus(C.Handle). I think it is sufficient. Otherwise some functions can become not working.
  • dotnet20 (23.11.11 15:36) [3]
    i see it, thank your reply
 
Конференция "KOL" » kol 3.15 TControl.SetFocused
Есть новые Нет новых   [119246   +9][b:0][p:0]