home *** CD-ROM | disk | FTP | other *** search
- /*
- * Clear_Buffer.ifx.pre
- * Saves the settings into the
- * ImpClearBufferParameters clip variable.
- *
- * by Steve Tibbett
- */
-
- Options Results
-
- Defaults=GetClip("ImpClearBufferParameters"arg(1));
- if (Defaults="") then Defaults="0 0 0"
-
- Parse Var Defaults r g bl
-
- Gadget.1 = 'I/125/17/Red:/'r
- Gadget.2 = 'I/125/31/Green:/'g
- Gadget.3 = 'I/125/45/Blue:/'bl
-
- ComplexRequest '"Clear Buffer To..."' 3 Gadget 300 83
- IF rc ~= 0 THEN return 10
-
- Defaults=Result.1 Result.2 Result.3
- call SetClip("ImpClearBufferParameters"arg(1), Defaults);
-
-