PROCEDURE GASYTBL PUBLIC oGasyTBL AUSED(OLDTABEL) IF !GASYKLAS() RETURN ENDIF oGasyTBL=CREATEOBJECT("GasyTbl1") oGasyTBL.Show ENDPROC DEFINE CLASS GasyTbl1 AS form Caption="Setup File Interface" AutoCenter = .T. MinHeight = 200 MinWidth = 408 MaxButton= .F. Icon = "bmps\arw03up.ico" BackColor = RGB(144,176,168) ADD OBJECT label1 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode Klasifikasi: ", ; Height = 18, ; Left = 19, ; Top = 14, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192), ; Name = "Label1" ADD OBJECT label2 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 41, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192), ; Name = "Label2" ADD OBJECT label3 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode : ", ; Height = 18, ; Left = 90, ; Top = 95, ; Width = 51, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192), ; Name = "Label3" ADD OBJECT label4 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 122, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192), ; Name = "Label4" ADD OBJECT label5 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Jumlah Karakter: ", ; Height = 18, ; Left = 19, ; Top = 68, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192), ; Name = "Label5" ADD OBJECT text1 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 3, ; Top = 12, ; Width = 45, ; Name = "Text1" ADD OBJECT text2 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 39, ; Width = 239, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255), ; Name = "Text2" ADD OBJECT text3 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 3, ; Value = 1, ; Format = "999", ; Height = 28, ; InputMask = "999", ; Left = 145, ; MaxLength = 3, ; Top = 66, ; Width = 45, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255), ; Name = "Text3" ADD OBJECT text4 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 10, ; Top = 93, ; Width = 100, ; Name = "Text4" ADD OBJECT text5 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 120, ; Width = 239, ; Name = "Text5" ADD OBJECT command1 AS commandbutton WITH ; AutoSize = .T., ; Top = 159, ; Left = 145, ; Height = 23, ; Width = 70, ; FontBold = .T., ; FontName = "MS Sans Serif", ; Caption = " \ Submission Date: 2025-01-01 04:59:25 Update: 2025-01-01 16:13:03Kelompok: FORMGASYTBL - 71PROCEDURE GASYTBL(IKLP,INAMAKLP) PUBLIC oGasyTBL IF !GASYKLAS() RETURN ENDIF oGasyTBL=CREATEOBJECT("GasyTbl1",IKLP,INAMAKLP) oGasyTBL.Show(1) ENDPROC DEFINE CLASS GasyTbl1 AS form Autocenter=.T. Caption="Setup File Interface" Height = 248-50 Width = 408 MinHeight = 248-50 MinWidth = 408 DoCreate = .T. MaxButton= .F. MINButton= .F. BORDERSTYLE=1 Icon = _screen.icon WindowType = 1 BackColor = RGB(144,176,168) ADD OBJECT label1 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode Klasifikasi: ", ; Height = 18, ; Left = 19, ; Top = 14, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label2 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 41, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label3 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode : ", ; Height = 18, ; Left = 90, ; Top = 95, ; Width = 51, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label4 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 122, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label5 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Jumlah Karakter: ", ; Height = 18, ; Left = 19, ; Top = 68, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT text1 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 3, ; Top = 12, ; Width = 45 ADD OBJECT text2 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 39, ; Width = 239, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255) ADD OBJECT text3 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 3, ; Value = 1, ; Format = "999", ; Height = 28, ; InputMask = "999", ; Left = 145, ; MaxLength = 3, ; Top = 66, ; Width = 45, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255) ADD OBJECT text4 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 10, ; Top = 93, ; Width = 100,; INPUTMASK=REPLICATE('!',10) ADD OBJECT text41 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 245, ; MaxLength = 10, ; Top = 93, ; Width = 100,; INPUTMASK=REPLICATE('!',10) ADD OBJECT text5 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 120, ; Width = 239 ADD OBJECT command1 AS commandbutton WITH ; AutoSize = .T., ; Top = 159, ; Left = 145, ; Height = 23, ; Width = 70, ; FontBold = .T., ; FontName = "MS Sans Serif", ; Caption = " \0 THIS.PARENT.TEXT4.VALUE=KODE THIS.PARENT.TEXT4.SETFOCUS ENDIF DEACTIVATE POPUP SANDI RELEASE POPUPS SANDI EXTENDED TUTUP("KlasNsb") ENDIF ENDIF ENDPROC PROCEDURE CETAK.CLICK ALAMATDL=ALAMATNYA("ADI") IF !GASYKLAS() RETURN ENDIF SELECT GASYKLAS PROCETAK(Alamatdl+'Laporan\Ak_DaftarInterface') ENDPROC PROCEDURE CETAK.RIGHTCLICK ALAMATDL=ALAMATNYA("ADI") IF !GASYKLAS() RETURN ENDIF SELECT * FROM GASYKLAS WHERE KLP==THISFORM.TEXT1.VALUE INTO CURSOR HASIL SELECT HASIL GO TOP IF EOF() PESAN('Data kosong') RETURN ENDIF PROCETAK(Alamatdl+'Laporan\Ak_DaftarInterface') TUTUP('HASIL') ENDPROC ENDDEFINE * *-- EndDefine: gasyklas ************************************************** Submission Date: 2025-01-01 07:15:01 Update: 2025-01-01 16:09:09Kelompok: FORMUser:
PROCEDURE GASYTBL(IKLP,INAMAKLP) PUBLIC oGasyTBL IF !GASYKLAS() RETURN ENDIF oGasyTBL=CREATEOBJECT("GasyTbl1",IKLP,INAMAKLP) oGasyTBL.Show(1) ENDPROC DEFINE CLASS GasyTbl1 AS form Autocenter=.T. Caption="Setup File Interface" Height = 248-50 Width = 408 MinHeight = 248-50 MinWidth = 408 DoCreate = .T. MaxButton= .F. MINButton= .F. BORDERSTYLE=1 Icon = _screen.icon WindowType = 1 BackColor = RGB(144,176,168) ADD OBJECT label1 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode Klasifikasi: ", ; Height = 18, ; Left = 19, ; Top = 14, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label2 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 41, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label3 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Kode : ", ; Height = 18, ; Left = 90, ; Top = 95, ; Width = 51, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label4 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Keterangan: ", ; Height = 18, ; Left = 51, ; Top = 122, ; Width = 90, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT label5 AS label WITH ; AutoSize = .T., ; FontBold = .T., ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 1, ; BackStyle = 0, ; Caption = "Jumlah Karakter: ", ; Height = 18, ; Left = 19, ; Top = 68, ; Width = 122, ; ForeColor = RGB(0,0,0), ; BackColor = RGB(192,192,192) ADD OBJECT text1 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 3, ; Top = 12, ; Width = 45 ADD OBJECT text2 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 39, ; Width = 239, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255) ADD OBJECT text3 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Alignment = 3, ; Value = 1, ; Format = "999", ; Height = 28, ; InputMask = "999", ; Left = 145, ; MaxLength = 3, ; Top = 66, ; Width = 45, ; DisabledBackColor = RGB(128,128,128), ; DisabledForeColor = RGB(255,255,255) ADD OBJECT text4 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 10, ; Top = 93, ; Width = 100,; INPUTMASK=REPLICATE('!',10) ADD OBJECT text41 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 245, ; MaxLength = 10, ; Top = 93, ; Width = 100,; INPUTMASK=REPLICATE('!',10) ADD OBJECT text5 AS textbox WITH ; FontName = "MS Sans Serif", ; FontSize = 10, ; Height = 28, ; Left = 145, ; MaxLength = 60, ; Top = 120, ; Width = 239 ADD OBJECT command1 AS commandbutton WITH ; AutoSize = .T., ; Top = 159, ; Left = 145, ; Height = 23, ; Width = 70, ; FontBold = .T., ; FontName = "MS Sans Serif", ; Caption = " \0 THIS.PARENT.TEXT4.VALUE=KODE THIS.PARENT.TEXT4.SETFOCUS ENDIF DEACTIVATE POPUP SANDI RELEASE POPUPS SANDI EXTENDED TUTUP("KlasNsb") ENDIF ENDIF ENDPROC PROCEDURE CETAK.CLICK ALAMATDL=ALAMATNYA("ADI") IF !GASYKLAS() RETURN ENDIF SELECT GASYKLAS PROCETAK(Alamatdl+'Laporan\Ak_DaftarInterface') ENDPROC PROCEDURE CETAK.RIGHTCLICK ALAMATDL=ALAMATNYA("ADI") IF !GASYKLAS() RETURN ENDIF SELECT * FROM GASYKLAS WHERE KLP==THISFORM.TEXT1.VALUE INTO CURSOR HASIL SELECT HASIL GO TOP IF EOF() PESAN('Data kosong') RETURN ENDIF PROCETAK(Alamatdl+'Laporan\Ak_DaftarInterface') TUTUP('HASIL') ENDPROC ENDDEFINE * *-- EndDefine: gasyklas **************************************************