485
edits
(New page: How to add icons with subset of images to CodeJock CommandBars. If you add an icon with a subset of images to the CodeJock Commandbars, it will use the first icon in the set and in most ...) |
m (Fix category Visual Dataflex into DataFlex) |
||
(4 intermediate revisions by 2 users not shown) | |||
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="dataflex"> | |||
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: DataFlex]][[Category:Codejock]] |