Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6694

Re: transfer focus to Office

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: transfer focus to Office
Date 2014-03-21 09:05 -0500
Organization Aioe.org NNTP Server
Message-ID <lghgve$dm$1@speranza.aioe.org> (permalink)
References <72116452-155a-45d1-867f-c8d9b09e8e80@googlegroups.com>

Show all headers | View raw


Henry,

If you get the handle to the window you can just do a setfocus() function to 
set the focus to that window.

Regards,
Willie
Vulcan VIP

wrote in message 
news:72116452-155a-45d1-867f-c8d9b09e8e80@googlegroups.com...

I open an Excel file with:
   self:oExcel := OLEAutoObject{"Excel.Application"}

I search a string in the file, and when I find it, I would like to pass the 
focus to the Excel file.
How to pass the focus?

Thanks
Henry 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

transfer focus to Office H_Fidler@yahoo.com - 2014-03-20 05:03 -0700
  Re: transfer focus to Office "Willie Moore" <williem@wmconsulting.com> - 2014-03-21 09:05 -0500
  Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-21 14:53 -0700
    Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-21 15:59 -0700
    Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-21 16:03 -0700
  Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-28 03:14 -0700
    Re: transfer focus to Office Camille Kater <katercam@pt.lu> - 2014-03-28 14:03 +0100
      Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-31 04:58 -0700
  Re: transfer focus to Office Frans Wauters <info@wautersit.com> - 2014-03-31 06:29 -0700
  Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-31 13:36 -0700
    Re: transfer focus to Office H_Fidler@yahoo.com - 2014-04-04 12:54 -0700

csiph-web