Add icons with subset of images to CodeJock CommandBars: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 10: Line 10:
Just add the function below to your project (below "Use cCJCommandBarSystem.pkg" or such).
Just add the function below to your project (below "Use cCJCommandBarSystem.pkg" or such).


 
<source lang="vdf">
     Function AddImageType for cCJCommandBarSystem Boolean bIsIcon String sImage Integer iId Integer eImageType Returns Integer
     Function AddImageType for cCJCommandBarSystem Boolean bIsIcon String sImage Integer iId Integer eImageType Returns Integer
         Handle hBitmap
         Handle hBitmap
Line 67: Line 67:
         Function_Return (If(hBitmap<>0,iId,0))
         Function_Return (If(hBitmap<>0,iId,0))
     End_Function
     End_Function
</source>


[[Category:Visual Dataflex]][[Category:CodeJock]]
[[Category:Visual Dataflex]][[Category:CodeJock]]
1,134

edits