Kbase P104326: How to use PicClips in a SmartToolbar action
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/05/2005 |
|
Status: Unverified
GOAL:
How to use PicClips in a SmartToolbar action
FACT(s) (Environment):
OpenEdge 10.x
FIX:
Using the defineAction function, specify an image file together with the X and Y offset, the width, and the height (in pixels) in the following comma-delimited format:
image-file,X-offset,Y-offset,width,height
Example:
DYNAMIC-FUNCTION('defineAction':U IN TARGET-PROCEDURE,
"Add":U,
"Caption,Accelerator,Image":U,
"New":U {&dlmt}
"CTRL-N":U {&dlmt}
"custom_buttons.gif,0,0,16,16":U).