Iamnotmad thanks for your suggestion, but in fact, as I replied to aqualung,
this got sorted out a while back in the thread.
Since some of you haven't read that far, I should reiterate that I eventually discovered that my problem was that I had an alias to the apps folder in the dock, not the folder itself. That prevented this workaround from functioning.
Re the comments on Fruitmenu, it is just one of many ways around the app switching problem. The solutions are all from third party developers. It is just a pity Apple didn't give this any thought. I suspect that's because they were blinded by the supposed functionality of the dock.
Anyway, each to his/her own taste. That's one of the main advantages we have over the Wintel people - customisation.