Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Ctrlmap entry for tab (OpenInsight 32-Bit)

At 25 MAR 2008 05:53:58AM Martin Drenovac wrote:

I am looking at @window's CTRLMAP, which has a couple of tabs.

Which property per control tells me which tab (page) the control resides?

TIA


At 25 MAR 2008 08:55AM Sean FitzSimons wrote:

Martin,

If you use the ORIG_STRUCT property Position 1,6 contains the Y coordinate of the control. On the first page of a form the position is an integer. On subsequent pages it is an integer followed by a colon and another integer, e.g. 100:1. The value following the colon is based on 0 for the first page.

yPos=Get_Property(Ctrl, "ORIG_STRUCT")

I hope this helps and is what you are looking for.

Sean


At 25 MAR 2008 09:25AM Martin Drenovac wrote:

Looks good Sean - thanks.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/f5369a8c92ffb7dc8525741700366161.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1