Help Center
Help Center›AfxNova

CXpButton.SetImagePosmethod

UncategorisedmethodCXpButton.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE SUB CXpButton.SetImagePos (BYVAL nPos AS LONG, BYVAL fRedraw AS LONG = FALSE)

Parameters

NameDescription
nPos= Position. %XPBI_NONE = &H0 ' // No image %XPBI_LEFT = &H1 ' // Left (default) %XPBI_RIGHT = &H2 ' // Right %XPBI_CENTER = &H4 ' // Center %XPBI_VCENTER = &H8 ' // Vertically centered %XPBI_TOP = &H10 ' // Top %XPBI_BOTTOM = &H20 ' // Bottom %XPBI_ABOVE = %XPBI_TOP OR %XPBI_CENTER ' // Above the text %XPBI_BELOW = %XPBI_BOTTOM OR %XPBI_CENTER ' // Below the text %XPBI_CENTERCENTER = %XPBI_CENTER OR %XPBI_VCENTER ' // Center-center (no text)
fRedraw= TRUE or FALSE (redraws the button to reflect the changes)

Reference

  • Include file CXpButton.inc
  • Defined in AfxNova/CXpButton.inc:848