Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
Im trying to catch a selection change event from interop.word object model but it seems to have some strange delay when im getting into a table the first time such that for: selection.get_Information(Word.WdInformation.wdEnd OfRangeColumnNumber) the first time im getting (-1) which means im not in the table at all for d.click it works fine (returns the currect data) any idea why is this strange delay happened? I tried to use OnXmlChange but there is even worse... thanks Edi |
#2
![]() |
|||
|
|||
![]()
Hi again,
I think I found the bug.. When ever I insert a table into an xml tag The select event for the table cells is delayed for the first selection of the table The result of this behavior is that im getting the wrong data from my table for the selected cells (i.e. (-1,-1) instead of the correct cells (1,1)) Is there any workaround for this bug? Or should i put xml tags in each and every cell with the cell data (row coldata/row col) And by doing that to avoid using the Selection.Information option Thanks again Edi "Edi" wrote: Hi, Im trying to catch a selection change event from interop.word object model but it seems to have some strange delay when im getting into a table the first time such that for: selection.get_Information(Word.WdInformation.wdEnd OfRangeColumnNumber) the first time im getting (-1) which means im not in the table at all for d.click it works fine (returns the currect data) any idea why is this strange delay happened? I tried to use OnXmlChange but there is even worse... thanks Edi |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loss of Bookmark After Re-opening File | Microsoft Word Help | |||
replacing data in a word file? It doesn't replace my selection. | Microsoft Word Help | |||
Apply a style through the context menu of a selection, so the use. | Page Layout |