and I can find if it is selected using
int state=a.State
out state&STATE_SYSTEM_SELECTED
My intention is to locate the selected tab. What I do at present is to navigate through them and check each one's state. I stop when found. I wonder whether there exists a simpler way to do it. Many thanks in advance.
As a matter of fact, I have used :
Acc a.Find(w "PAGETAB" "" "class=TTabControl[]state=0x300002 0" 0x1004)
but it failed to locate the tab selected. It locates just the first tan in the series. That is why I used navigate. I would appreciate it if you could kindly advice.
I am sorry, but I cannot understand what you mean by " temporary blank button. ". I have included a snapshot, could you please advise on the basis of this snapshot? I would also appreciate it if you could advice me on the "a.Find" statement that I should use. I am again sorry for disturbing, nevertheless I cannot understand what I am doing wrong. Best regards.
Thank you very much. Now it works perfectly. I am sorry but I was not able to see this temporary blank button. The snapshot you posted helped me to find out. Best personal regards.