Visual Basic 6 Black Book phần 5

ình chữ nhật được làm tròn "VbShapeRoundedSquare5; làm tròn vuông Một sử dụng quan trọng của điều khiển hình dạng là để kiểm soát các nhóm khác nhau (Lưu ý, tuy nhiên, hình dạng đó điều khiển không thể hoạt động như container kiểm soát đúng trong hộp hình ảnh hoặc khung hình có thể. | Visual Basic 6 Black Book The Frame Label Shape And Line Controls VbShapeOval 2 oval Simpo PDF Merge and Split Unregistered Version - http VbShapeCircle 3 circle VbShapeRoundedRectangle 4 rounded rectangle VbShapeRoundedSquare 5 rounded square One important use of shape controls is to group other controls together. Note however that shape controls can t act as true control containers in the way picture boxes or frames can. For example you can t group option buttons together with shapes. In Figure we re using shape controls to group the buttons visually into two groups. Figure Using the shape control to group other controls. You can also set the width of the shape s drawing line with the BorderWidth property and fill the shape using the FillColor and FillStyle properties. The BorderStyle property lets you select the style of the shape s drawing line including using dots and dashes. For more on this control see the other topics in this chapter. http 8080 temp ch14 3 of 3 3 14 2001 1 48 23 AM Visual Basic 6 Black Book The Frame Label Shape And Line Controls Simpo PDF Merge and Split Unregistered Version - http To access the contents click the chapter and section titles. Visual Basic 6 Black Book Publisher The Coriolis Group Author s Steven Holzner ISBN 1576102831 Publication Date 08 01 98 Bookmark It Search this book ÍGỠ PreviousTable of ContentsNext Drawing Rectangles How do you draw rectangles with the shape control You start by clicking the Shape Control tool in the Visual Basic toolbox and drawing that control to match the size and location you want your new figure to have. To draw a rectangle you simply set the control s Shape property to VbShapeRectangle that s the default anyway . That s all you have to do the shape control is very easy to work with. Using the shape control you can draw in both forms and picture boxes. You can also set the width of the shape s drawing line with the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
2    771    2    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.