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.