>>-aButtonControl~DisplaceBitmap(--x--,--y--)------------------><
The DisplaceBitmap method sets the position of a bitmap within a bitmap button.
The arguments are:
The horizontal displacement, in screen pixels. A negative value can also be used.
The vertical displacement, in screen pixels. A negative value can also be used.
The following example moves the bitmap within the associated bitmap button 4 screen pixels to the right and 3 pixels upward:
button = MyDialog~GetButtonControl("IDOK") if button == .Nil then return parse value button~GetBmpDisplacement with dx dy button~DisplacementBitmap(244, dx+4, dy-3)