Which is the correct statement to set the position of a widget 'dispWin' to position x and y?

15. Which is the correct statement to set the position of a widget 'dispWin' to position x and y?

  1. dispWin.move(x, y)
  2. dispWin.windowMove(x, y)
  3. dispWin.setPosition(x, y)
  4. dispWin.position(x, y)

Answer: A) dispWin.move(x, y)

Explanation:

The correct code statement to set the position of a widget 'dispWin' to position x and y is:

dispWin.move(x, y)

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.