Futurebasic/Language/Reference/fbgetcontrolrect

= FBGETCONTROLRECT function =

Function
✔ Appearance ✔ Standard ✔ Console

Revised
August, 2002 (Release 7)

Description
Before OS X, we were able to extract the content rectangle of a button using the following code:

Carbon programs do not offer the ability to peek into structures like control records. FB provides this utility function for use in any program so that you may extract the rectangle regardless of the current version of system software.

or...