Gambas/controls/Form: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
brief About section
some answers
Line 6: Line 6:
===Properties===
===Properties===
====dimensions====
====dimensions====
* X
* '''X''' - left edge of form relative to left of screen, in pixels
* Y
* '''Y''' - top edge of form relative to top of screen, in pixels
* W
** When window is at top of screen, this will show the width of the window's titlebar
* H
* '''W''' - width in pixels
* Width
* '''H''' - height in pixels
* Height
* '''Width''' - alias for W?
* ClientX - always 0?
* '''Height''' - alias for H?
* ClientY - always 0?
* '''ClientX''' - always 0?
* ClientW
* '''ClientY''' - always 0?
* ClientH
* '''ClientW''' - alias for W?
* ClientWidth
* '''ClientH''' - alias for H?
* ClientHeight
* '''ClientWidth''' - alias for W?
* '''ClientHeight''' - alias for H?
| valign=top |
| valign=top |
===Methods===
===Methods===

Revision as of 17:12, 25 April 2015

About

Form is a control defined in the gb.gui library.

Properties

dimensions

  • X - left edge of form relative to left of screen, in pixels
  • Y - top edge of form relative to top of screen, in pixels
    • When window is at top of screen, this will show the width of the window's titlebar
  • W - width in pixels
  • H - height in pixels
  • Width - alias for W?
  • Height - alias for H?
  • ClientX - always 0?
  • ClientY - always 0?
  • ClientW - alias for W?
  • ClientH - alias for H?
  • ClientWidth - alias for W?
  • ClientHeight - alias for H?

Methods

  • Center
  • Close
  • Delete
  • Drag
  • FindChild
  • Grab
  • Hide
  • Lower
  • Move
  • MoveScaled
  • Raise
  • Refresh
  • Reparent
  • Resize
  • ResizeScaled
  • SetFocus
  • Show
  • ShowDialog
  • ShowModal
  • ShowPopup