Grid Batas Grid pada ruang lingkup di dalam PictureBox Property Get GridLeft() As Integer GridLeft ‘GrBatasKiri GridLeft = GridLeftX End Property Property Let GridLeft(ByVal NewValue As Integer) Hsc.Value = NewValue End Property Property Get GridRight() As Integer GridRight ‘GrBatasKanan GridRight = GridRightX End Property Property Get GridUp() As Integer GridUp ‘GrBatasAtas GridUp = GridUpY End Property Property Let GridUp(ByVal NewValue As Integer) Vsc.Value = NewValue 'No clear End Property Property Get GridDown() As Integer GridDown ‘GrBatasBawah GridDown = GridDownY End Property Sell Fixed Fixed Move Property Get RangeX() As Integer FixedWidth ‘Fixed_Kolom_Lebar RangeX = SetNewGrid.GridSize.GDRangeX End Property Property Let RangeX(ByVal NewValue As Integer) SetNewGrid.GridSize.GDRangeX = NewValue End Property Property Get RangeY() As Integer FixedHeight ‘Fixed_Baris_Panjang RangeY = SetNewGrid.GridSize.GDRangeY End Property Property Let RangeY(ByVal NewValue As Integer) SetNewGrid.GridSize.GDRangeY = NewValue End Property Fixed Colom (X) Fixed Colom Text Property Get SellTextX(ByVal Index As Long) As String FixedColsText ‘Fixed_Kolom_Text SellTextX = GridX(Index).GridValue End Property Property Let SellTextX(ByVal Index As Long, ByVal NewValue As String) GridX(Index).GridValue = NewValue End Property Fixed Colom Color Fixed Colom Def Back Color Property Get DefSellStyleX() As Integer FixdColnDefColStyl ‘Fixed_Kolom_NilaiAwalTypeWarnaBelakang DefSellStyleX = SetNewGrid.GridStyleX End Property Property Let DefSellStyleX(ByVal NewValue As Integer) SetNewGrid.GridStyleX = NewValue End Property Property Get OutXSellBackColor0() As OLE_COLOR FixdColnDefColBck0 ‘Fixed_Kolom_WarnaBelakang_0 OutXSellBackColor0 = SetNewGrid.GridLenkapX.GridBackColGra(0) End Property Property Let OutXSellBackColor0(ByVal NewValue As OLE_COLOR) SetNewGrid.GridLenkapX.GridBackColGra(0) = NewValue End Property Property Get OutXSellBackColor1() As OLE_COLOR FixdColnDefColBck1 ‘Fixed_Kolom_WarnaBelakang_1 OutXSellBackColor1 = SetNewGrid.GridLenkapX.GridBackColGra(1) End Property Property Let OutXSellBackColor1(ByVal NewValue As OLE_COLOR) SetNewGrid.GridLenkapX.GridBackColGra(1) = NewValue End Property Alat pelengkap; Sub OutXSellBackColor(Color1 As OLE_COLOR, Color2 As OLE_COLOR) FixdColnDefColGradn ‘Fixed_Kolom_CampurWarna SetNewGrid.GridLenkapX.GridBackColGra(0) = Color1 SetNewGrid.GridLenkapX.GridBackColGra(1) = Color2 End Sub Fixed Colom Color Property Get SellStyleX(ByVal Index As Long) As Integer FixdColnColStyl SellStyleX = GridX(Index).GridStyle End Property Property Let SellStyleX(ByVal Index As Long, ByVal NewValue As Integer) GridX(Index).GridStyle = NewValue End Property Property Get SellColor0X(ByVal Index As Long) SellColor0X = GridX(Index).GridColGra(0) End Property Property Let SellColor0X(ByVal Index As Long, GridX(Index).GridColGra(0) = NewValue End Property Property Get SellColor1X(ByVal Index As Long) SellColor1X = GridX(Index).GridColGra(1) End Property Property Let SellColor1X(ByVal Index As Long, GridX(Index).GridColGra(1) = NewValue End Property As OLE_COLOR FixdColnColBck0 ByVal NewValue As OLE_COLOR) As OLE_COLOR FixdColnColBck1 ByVal NewValue As OLE_COLOR) Alat pelengkap; Sub SellGradienX(Index As Long, Color1 As OLE_COLOR, Color2 As OLE_COLOR) FixdColnColGradn GridX(Index).GridColGra(0) = Color1 GridX(Index).GridColGra(1) = Color2 End Sub Warna Text Baris Property Get OutXSellForeColor() As Long FixdColnForeColor OutXSellForeColor = SetNewGrid.GridLenkapX.GridForeColor End Property Property Let OutXSellForeColor(ByVal NewValue As Long) SetNewGrid.GridLenkapX.GridForeColor = NewValue End Property Kolom (Y) Text Kolom Property Get SellTextY(ByVal Index As Long) As String FixedRowsText SellTextY = GridY(Index).GridValue End Property Property Let SellTextY(ByVal Index As Long, ByVal NewValue As String) GridY(Index).GridValue = NewValue End Property Warna Back Kolom Nilai Awal Warna Back Kolom Property Get DefSellStyleY() As Integer FixdRowsDefColStyl DefSellStyleY = SetNewGrid.GridStyleY End Property Property Let DefSellStyleY(ByVal NewValue As Integer) SetNewGrid.GridStyleY = NewValue End Property Property Get OutYSellBackColor0() As OLE_COLOR FixdRowsDefColBck0 OutYSellBackColor0 = SetNewGrid.GridLenkapY.GridBackColGra(0) End Property Property Let OutYSellBackColor0(ByVal NewValue As OLE_COLOR) SetNewGrid.GridLenkapY.GridBackColGra(0) = NewValue End Property Property Get OutYSellBackColor1() As OLE_COLOR FixdRowsDefColBck1 OutYSellBackColor1 = SetNewGrid.GridLenkapY.GridBackColGra(1) End Property Property Let OutYSellBackColor1(ByVal NewValue As OLE_COLOR) SetNewGrid.GridLenkapY.GridBackColGra(1) = NewValue End Property Alat pelengkap; Sub OutYSellBackColor(Color1 As OLE_COLOR, Color2 As OLE_COLOR) FixdRowsDefColGradn SetNewGrid.GridLenkapY.GridBackColGra(0) = Color1 SetNewGrid.GridLenkapY.GridBackColGra(1) = Color2 End Sub Nilai Warna Back Kolom Property Get SellStyleY(ByVal Index As Long) As Integer FixdRowsColStyl SellStyleY = GridY(Index).GridStyle End Property Property Let SellStyleY(ByVal Index As Long, ByVal NewValue As Integer) GridY(Index).GridStyle = NewValue End Property Property Get SellColor0Y(ByVal Index As Long) SellColor0Y = GridY(Index).GridColGra(0) End Property Property Let SellColor0Y(ByVal Index As Long, GridX(Index).GridColGra(0) = NewValue End Property Property Get SellColor1Y(ByVal Index As Long) SellColor1Y = GridY(Index).GridColGra(1) End Property Property Let SellColor1Y(ByVal Index As Long, GridY(Index).GridColGra(1) = NewValue End Property As OLE_COLOR FixdRowsColBck0 ByVal NewValue As OLE_COLOR) As OLE_COLOR FixdRowsColBck1 ByVal NewValue As OLE_COLOR) Alat pelengkap; Sub SellGradienY(Index As Long, Color1 As OLE_COLOR, Color2 As OLE_COLOR) FixdRowsColGradn GridY(Index).GridColGra(0) = Color1 GridY(Index).GridColGra(1) = Color2 End Sub Warna Text Kolom Property Get OutYSellForeColor() As Long FixdRowsForeColor OutYSellForeColor = SetNewGrid.GridLenkapY.GridForeColor End Property Property Let OutYSellForeColor(ByVal NewValue As Long) SetNewGrid.GridLenkapY.GridForeColor = NewValue End Property Sell & Sell Sub Jumlah Sell Property Get CountX() As Long SellCountColumn ‘Sell_JumlahKolom CountX = SetNewGrid.GridXCount End Property Property Get CountY() As Long SellCountRow ‘Sell_JumlahBaris CountY = SetNewGrid.GridYCount End Property Luas Sell Lebar Sell Property Get DefSellWidth() As Integer SellWidth_Def ‘Sell_NialaiAwalLebar ‘Sell_NALebar DefSellWidth = SetNewGrid.GridSize.DefSellWidth End Property Property Let DefSellWidth(ByVal NewValue As Integer) SetNewGrid.GridSize.DefSellWidth = NewValue End Property Property Get SelXDefault(ByVal Index As Long) As Boolean SellOpenWidth ‘Sell_NilaiAwalBukaLebar ‘Sell_NABukaLebar SelXDefault = GridX(Index).GWidthDefault End Property Property Let SelXDefault(ByVal Index As Long, ByVal MAValue As Boolean) GridX(Index).GWidthDefault = MAValue End Property Property Get SellLeft(ByVal Index As Long, Optional ByVal WDefault As Boolean) As Single ‘Sell_Kiri (X1) SellLeft = GridX(Index).GridLeft End Property Property Get SellWidth(ByVal Index As Long, Optional ByVal WDefault As Boolean) As Single ‘Sell_Lebar (X2) SellWidth = GridX(Index).GridWidth 'GridX(Index).GWidthDefault = WDefault End Property Property Let SellWidth(ByVal Index As Long, Optional ByVal WDefault As Boolean, ByVal NewValue As Single) GridX(Index).GridWidth = NewValue GridX(Index).GWidthDefault = WDefault End Property Panjang Sell Property Get DefSellHeight() As Integer SellHeight_Def ‘Sell_NilaiAwalPanjang DefSellHeight = SetNewGrid.GridSize.DefSellHeight End Property Property Let DefSellHeight(ByVal NewValue As Integer) SetNewGrid.GridSize.DefSellHeight = NewValue End Property Property Get SelYDefault(ByVal Index As Long) As Boolean SellOpenHeight ‘Sell_NialaiAwalBukaPanjang SelYDefault = GridY(Index).GHeightDefault End Property Property Let SelYDefault(ByVal Index As Long, ByVal MAValue As Boolean) GridY(Index).GHeightDefault = MAValue End Property Property Get SellTop(ByVal Index As Long, Optional ByVal HDefault As Boolean) As Single ‘Sell_Atas (Y1) SellTop = GridY(Index).GridTop End Property Property Get SellHeight(ByVal Index, Optional ByVal HDefault As Boolean) As Single ‘Sell_Panjang (Y2) SellHeight = GridY(Index).GridHeight End Property Property Let SellHeight(ByVal Index, Optional ByVal HDefault As Boolean, ByVal NewValue As Single) GridY(Index).GridHeight = SetNewGrid.GridSize.DefSellHeight + NewValue GridY(Index).GHSave = NewValue If GridY(Index).GridHeight = SetNewGrid.GridSize.DefSellHeight Then GridY(Index).GHeightDefault = False Else GridY(Index).GHeightDefault = True End Property Sell Sell Text Property Get Text(ByVal IndexX As Long, ByVal IndexY As Long) As String SellText Text = GridXYData(IndexX, IndexY).GridXYValue End Property Property Let Text(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As String) GridXYData(IndexX, IndexY).GridXYValue = NewValue End Property Sell Font Property Get SellAlignment(ByVal IndexX As Long, ByVal IndexY As Long) As Integer SellAlignment = GridXYData(IndexX, IndexY).Grid.Alignment End Property Property Let SellAlignment(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Integer) If NewValue > 2 Then NewValue = 0 GridXYData(IndexX, IndexY).Grid.Alignment = NewValue End Property Property Get SellBold(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellBold = GridXYData(IndexX, IndexY).Grid.Bold End Property Property Let SellBold(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).Grid.Bold = NewValue End Property Property Get SellItalic(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellItalic = GridXYData(IndexX, IndexY).Grid.Italic End Property Property Let SellItalic(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).Grid.Italic = NewValue End Property Property Get SellUnderline(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellUnderline = GridXYData(IndexX, IndexY).Grid.Underline End Property Property Let SellUnderline(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).Grid.Underline = NewValue End Property Sell Color Sell Back Color Property Get DefSellBackColor() As Long SellBackColor_Def DefSellBackColor = SetNewGrid.GridXYBackColor End Property Property Let DefSellBackColor(ByVal NewValue As Long) SetNewGrid.GridXYBackColor = NewValue End Property Property Get SellBackColor(ByVal IndexX As Long, ByVal IndexY As Long) As OLE_COLOR SellBackColor = GridXYData(IndexX, IndexY).Grid.BackColor End Property Property Let SellBackColor(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As OLE_COLOR) GridXYData(IndexX, IndexY).Grid.BackColor = NewValue End Property Sell Text Color Property Get DefSellForeColor() As Long SellForeColor_Def DefSellForeColor = SetNewGrid.GridXYForeColor End Property Property Let DefSellForeColor(ByVal NewValue As Long) SetNewGrid.GridXYForeColor = NewValue End Property Property Get SellForeColor(ByVal IndexX As Long, ByVal IndexY As Long) As OLE_COLOR SellForeColor = GridXYData(IndexX, IndexY).Grid.ForeColor End Property Property Let SellForeColor(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As OLE_COLOR) GridXYData(IndexX, IndexY).Grid.ForeColor = NewValue End Property Unknown Property Get SellNoFill(ByVal IndexX As Long, ByVal IndexY As Long, ByVal Nomber As Integer) As Boolean SellNoFill = GridXYData(IndexX, IndexY).Grid.GColorDefault(Nomber) End Property Property Let SellNoFill(ByVal IndexX As Long, ByVal IndexY As Long, ByVal Nomber As Integer, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).Grid.GColorDefault(Nomber) = NewValue End Property Sell Sub Sell Sub Text Property Get TextSub(ByVal IndexX As Long, ByVal IndexY As Long) As String SellSubText TextSub = GridXYData(IndexX, IndexY).GridXYValueSub End Property Property Let TextSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As String) GridXYData(IndexX, IndexY).GridXYValueSub = NewValue End Property Sell Sub Font Property Get SellAlignmentSub(ByVal IndexX As Long, ByVal IndexY As Long) As Integer SellSubAlignment belom SellAlignmentSub = GridXYData(IndexX, IndexY).GridSub.Alignment End Property Property Let SellAlignmentSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Integer) If NewValue > 2 Then NewValue = 0 GridXYData(IndexX, IndexY).GridSub.Alignment = NewValue End Property Property Get SellBoldSub(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellSubBold SellBoldSub = GridXYData(IndexX, IndexY).GridSub.Bold End Property Property Let SellBoldSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).GridSub.Bold = NewValue End Property Property Get SellItalicSub(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellSubItalic SellItalicSub = GridXYData(IndexX, IndexY).GridSub.Italic End Property Property Let SellItalicSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).GridSub.Italic = NewValue End Property Property Get SellUnderlineSub(ByVal IndexX As Long, ByVal IndexY As Long) As Boolean SellSubUnderline SellUnderlineSub = GridXYData(IndexX, IndexY).GridSub.Underline End Property Property Let SellUnderlineSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).GridSub.Underline = NewValue End Property Sell Sub Color Sell Sub Back Color Property Get DefSellBackColorSub() As Long SellSubBackColor_Def DefSellBackColorSub = SetNewGrid.GridXYBackColorSub End Property Property Let DefSellBackColorSub(ByVal NewValue As Long) SetNewGrid.GridXYBackColorSub = NewValue End Property Property Get SellBackColorSub(ByVal IndexX As Long, ByVal IndexY As Long) As OLE_COLOR SellSubBackColor SellBackColorSub = GridXYData(IndexX, IndexY).GridSub.BackColor End Property Property Let SellBackColorSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As OLE_COLOR) GridXYData(IndexX, IndexY).GridSub.BackColor = NewValue End Property Sell Sub Text Color Property Get DefSellForeColorSub() As Long SellSubForeColor_Def DefSellForeColorSub = SetNewGrid.GridXYForeColorSub End Property Property Let DefSellForeColorSub(ByVal NewValue As Long) SetNewGrid.GridXYForeColorSub = NewValue End Property Property Get SellForeColorSub(ByVal IndexX As Long, ByVal IndexY As Long) As OLE_COLOR SellSubForeColor SellForeColorSub = GridXYData(IndexX, IndexY).GridSub.ForeColor End Property Property Let SellForeColorSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As OLE_COLOR) GridXYData(IndexX, IndexY).GridSub.ForeColor = NewValue End Property Unknown Property Get SellNoFillSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal Nomber As Integer) As Boolean SellNoFillSub = GridXYData(IndexX, IndexY).GridSub.GColorDefault(Nomber) End Property Property Let SellNoFillSub(ByVal IndexX As Long, ByVal IndexY As Long, ByVal Nomber As Integer, ByVal NewValue As Boolean) GridXYData(IndexX, IndexY).GridSub.GColorDefault(Nomber) = NewValue End Property 'bx91 Gambar Icon Pada Grid Jarak atau Ukuran pada gambar(icon) di dalam Grid Property Get RangePicGridX1() As Integer SellIconX1 RangePicGridX1 = SetNewGrid.GridSizePic.RangePicGridX1 End Property Property Let RangePicGridX1(ByVal NewValue As Integer) SetNewGrid.GridSizePic.RangePicGridX1 = NewValue End Property Property Get RangePicGridY1() As Integer SellIconY1 RangePicGridY1 = SetNewGrid.GridSizePic.RangePicGridY1 End Property Property Let RangePicGridY1(ByVal NewValue As Integer) SetNewGrid.GridSizePic.RangePicGridY1 = NewValue End Property Property Get RangePicGridX2() As Integer SellIconX2 RangePicGridX2 = SetNewGrid.GridSizePic.RangePicGridX2 End Property Property Let RangePicGridX2(ByVal NewValue As Integer) SetNewGrid.GridSizePic.RangePicGridX2 = NewValue End Property Property Get RangePicGridY2() As Integer SellIconY2 RangePicGridY2 = SetNewGrid.GridSizePic.RangePicGridY2 End Property Property Let RangePicGridY2(ByVal NewValue As Integer) SetNewGrid.GridSizePic.RangePicGridY2 = NewValue End Property Index Picture Property Get PicIndex(ByVal IndexX As Long, ByVal IndexY As Long) As Integer PicIndex = GridXYData(IndexX, IndexY).GridXYPicIndex End Property Property Let PicIndex(ByVal IndexX As Long, ByVal IndexY As Long, ByVal NewValue As Integer) GridXYData(IndexX, IndexY).GridXYPicIndex = NewValue End Property 'Sub SizeLeftRight(Index As Long, NewValue As Boolean) 'End Sub Property Get SellXPicture(ByVal Index As Long) As Boolean SellXPicture = GridX(Index).GPicturePut End Property Property Let SellXPicture(ByVal Index As Long, ByVal NewValue As Boolean) GridX(Index).GPicturePut = NewValue End Property
© Copyright 2026 Paperzz