I am trying to delete certain tabs in a screen. This works fine except for the active tab on the screen. I have tried the statements

if Q[Page=xxx]

  Enter "=TAByyyy" // change tab



which I had previously used successfully for other transactions, but here it doesn't work, since the GuiXT InputRecorder isn't recording any function code TAByyyy when I change the tab manually. What could be the reason?

If the GuiXT InputRecorder does not record anything when you change the tab, the screen uses "local" tabs (see Q&A InputAssistant Nr. 131). As of version 2007 Q1 3 GuiXT provides a special statement to change the active tab in this case: SetActiveTab P[yyyy]. You can then also delete the tab that had originally been active.