Jump to content

Search the Community

Showing results for tags 'setfocus delphi vcl activex'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Found 1 result

  1. Bernard

    SetFocus issue

    Hello All, I have had an annoying issue in Delphi 10.3.2 setting focus back to a TFileListBox component after loading a file into an ActiveX control. Here is the code for the Click on the FileListBox procedure TfrmCAD.flbCadClick(Sender: TObject); begin LoadFile; flbCAD.SetFocus; end; On execution I would expect the focus to return to the flbCAD TFileListBox control. This does not happen. If I do the following code it does... procedure TfrmCAD.flbCadClick(Sender: TObject); begin LoadFile; btnDetect.SetFocus; flbCAD.SetFocus; end; Is this a bug in the VCL or am I doing something wrong? Thanks