my2alee โพสต์ 2019-8-21 12:22:52

MSFlexGrid VB6 - สามารถใส่รูปภาพได้ไหมครับ ขอเป็นแนวทางครับ

ตามรูป ตัวอย่างที่แนบมาครับ

thongkorn โพสต์ 2019-8-21 14:10:22

สามารถใส่ได้ครับ ...
Private Sub Form_Load()
    With Me.MSFlexGrid1
      .ColWidth(1) = 2000
      .RowHeight(1) = 800
      .Row = 1
      .Col = 1
      .CellAlignment = flexAlignLeftCenter'// Align Text
      .Text = "Hello World"
      '//
      Set .CellPicture = LoadPicture(App.Path & "\images.jpg")
      .CellPictureAlignment = flexAlignRightCenter    '// Align Picture
    End With
End Sub

my2alee โพสต์ 2019-8-21 16:13:30

thongkorn ตอบกลับเมื่อ 2019-8-21 14:10
สามารถใส่ได้ครับ ...

ขอบคุณมากครับ อ.
หน้า: [1]
ดูในรูปแบบกติ: MSFlexGrid VB6 - สามารถใส่รูปภาพได้ไหมครับ ขอเป็นแนวทางครับ