Taking into account pages holding less virtual buttons if a command button is specified.