Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/usr handle2btn

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Syntax USR HANDLE2BTN Description If ctrlRecHandle& is the handle to the Control Record of a FutureBasic-created button or scrollbar, USR HANDLE2BTN returns the ID number of the button or scrollbar (this is the number that your program assigned to the button or scrollbar in the BUTTON statement or SCROLL BUTTON statement). USR HANDLE2BTN returns the ID number regardless of whether the control is in the current output window or in a different window; if the control is in the current output window, then USR HANDLE2BTN is the inverse of the BUTTON& function. If ctrlRecHandle& is not a valid handle to a Control Record, or it's the handle to a control that was created by other means than a BUTTON statement or a SCROLL BUTTON statement, then the value returned by USR HANDLE2BTN is undefined. See Also BUTTON&; USR WPTR2WNUM