Nick,
thanks for your reply, the reason why I create the grid programmatically because I define one of the table after entering the first textbox (read my reply to drury) so I can not define tables with database designer.
I've been trying to use your Click-Transparent controls, but I still have difficulties. In your samples you put your container class in the grid, in my case where I must put it ? And you said that 'the container methode will work with any grid I programmatically place under it', where should I put programmatically grid since the grid is pop up after I enter the first textbox (I put the grid code in the textbox->lostfocus event).
Here's is my code of grid in textbox->lostfocus event :
sele pr
set orde to pr_nopr
cno_pr=thisform.text1.value
seek cno_pr
if cno_pr#spac(18)
if found()
thisform.text2.value=tgl_pr
thisform.text3.value=order
thisform.text4.value=style
corder=order
sele pr
set orde to pr_nobrg
set rela to nobrg into master
sele 6
use c:\learn\&corder\order9 &&this is the file that I define later
.....
grid code here
endi
endi
thanks in advance.
Budianto_M
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement