trichview.com

trichview.support




Re: ItemNo of inserted control


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/03/2003 12:53:57


If controls are NOT in table cells, you can use FindControlItemNo method.

Otherwise you need to iterate through all items (including table cells) to

find the control.




>

> Hi,

>

> I have several Comboboxes in a RichView document, each combobox has an

OnChange

> event, one event for all comboboxes. In the event, I need to know where

the

> combobox firing the event is located.

>

> The good solution would be use tags of controls (impossible as they are

uses

> by RichView) or tags of items, retrieved by GetControlInfo. But the

problem

> is that I don't know the ItemNo to pass to GetControlInfo.

>

> Moreover, I didn't find any way to get ItemNo of the inserted control

after

> the control is inserted.

>

> Any workarounds?





Powered by ABC Amber Outlook Express Converter