Advertisement
2002VB OLE/ COM/ DCOM/ Active-X #17721

OCXButton

An ActiveX control (OCX) for creating Buttons with attributes unavailable in intrinsic CommandButton control of VB. This UserControl allows (1) label or picture alone on the Button, or both; (2) colored captions; (3) colored backgrounds; (4) positioning picture at top or left of caption, and distance adjustment between them; (5) choices for button appearance (flat, half-raised and raised); (6) option for varying button contents at different states of Button (down, up and over); (7) option to have a staying sunken effect hence you can have both Click and ClickSunken events); and (8) tooltiptext of backcolor and forecolor of your choice. With Property Bag, very simple and flexible to use. Code is also generously commented for those relatively new to ActiveX programming. To test the code, run vbg file.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Upload
원본 댓글 (3)
Wayback Machine에서 복구됨