Alaska Software Inc. - How to click a cell in XbpBrowse object?
Username: Password:
AuthorTopic: How to click a cell in XbpBrowse object?
Itai Ben-ArtziHow to click a cell in XbpBrowse object?
on Mon, 29 Jun 2020 23:32:06 -0700
What is the correct syntax for PostAppEvent() to programmatically
click row 1, column 5?

Many thanks,
-Itai
Jim LeeRe: How to click a cell in XbpBrowse object?
on Wed, 01 Jul 2020 02:56:58 +0200
hi,

> What is the correct syntax for PostAppEvent() to programmatically
> click row 1, column 5?

try

   PostAppEvent( xbeBRW_ItemSelected , {1,5}, , oBrowse )
Itai Ben-ArtziRe: How to click a cell in XbpBrowse object?
on Tue, 30 Jun 2020 21:55:30 -0700
Thank you, Jim.
I've tried it but it does not work.
Jose Antonio Diego KerejeRe: How to click a cell in XbpBrowse object?
on Wed, 01 Jul 2020 13:06:38 +0200
Itai,

There are different ways to do it, this may be one of them:

nMyRowPos:= 5
nMyColPos:= 3

PostAppEvent( xbeBRW_Navigate, XBPBRW_Navigate_Skip, nMyRowPos - 
oBrowse:rowPos, oBrowse )
PostAppEvent( xbeBRW_Navigate, XBPBRW_Navigate_SkipCols, nMyColPos - 
oBrowse:colPos, oBrowse )
PostAppEvent( xbeBRW_ItemSelected, { nMyRowPos, nMyColPos },, oBrowse )

Regards. Diego