Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [native-UI] What's native?

From: didec:tiscali at: 29-Jun-2004 21:04

> There are a number of ways that you can avoid the pop-up inside window > issue. [...]
The easier is to use the 'confine func :
>> help confine
USAGE: CONFINE offset size origin margin DESCRIPTION: Return the correct offset to keep rectangular area in-bounds. CONFINE is a function value. ARGUMENTS: offset -- Initial offset (Type: pair) size -- Size of area (Type: pair) origin -- Lower bound (upper left) (Type: pair) margin -- Upper bound (lower right) (Type: pair)
> HTH! > ~~Ammon :~>