skip to main content

Library Routines : W$PALETTE : WPALETTE-CHOOSE-COLOR

WPALETTE-CHOOSE-COLOR
The WPALETTE-CHOOSE-COLOR function opens a dialog box that allows the user to pick a color.
Syntax:
 CALL "W$PALETTE" USING WPALETTE-CHOOSE-COLOR 
Parameters:
01  wpalette-data.
    03 wpal-color-id            pic x comp-x.
    03 wpal-flags
       redefines wpal-color-id  pic x comp-x.
    03 wpal-red                 pic x comp-x.
    03 wpal-user-color-id
       redefines wpal-red       pic x comp-x.
    03 wpal-green               pic x comp-x.
    03 wpal-blue                pic x comp-x.
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left