yes, the grid is showing in a separate form.
textbox2 has code to calling class grid
textbox2 procedure init:
SET CLASSLIB TO "E:\pencarian\grdpncarian\grid1.vcx"
Thisform.AddObject('Grid1','barang')
With thisform.Grid1
.Top=This.Top+25
.Left=This.Left
.Visible = .F.
ENDWITH...
thanks olaf for your attention,
i am using VPF9 to this project.
textbox2 as incremental search to get value like supplier_id that user can not remember it. so textbox2 calling class grid to pick value to fill texbox2.
we cannot put Thisform.textbox3.setfocus() cause the focus is in the class...
i have project1 with form1 and class grid in the class libraries.
form1 including texbox1, textbox2 and textbox3. tab order in the form1 starting from textbox1, textbox2 and textbox3.
in the textbox2 has code which is calling class grid in the class libraries like this:
textbox2 procedure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.