Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No any improve?! urgent!
Message
De
14/01/2000 12:43:37
 
 
À
14/01/2000 09:16:39
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00316739
Message ID:
00318211
Vues:
21
sorry~ maybe my poor explaination~

now my situation is that:
i need to add a "table" data into the grid.recordsource, so that the grid will display the record inside the table. my grid setting is:

WITH THISFORM.DET_GRD
.COLUMNCOUNT = 6
.RECORDSOURCE = 'RESULT'
FOR I = 1 TO 6
SELECT RESULT
.COLUMNS[I].FORECOLOR = RGB(0,0,0)
.COLUMNS[I].REMOVEOBJECT("TEXT1")
.COLUMNS[I].ADDOBJECT("TEXT1","TEXTCL") && textcl is a class which is base on textbox
.COLUMNS[I].HEADER1.CAPTION = GRD_INFO[I,1]
.COLUMNS[I].HEADER1.ALIGNMENT = 0
.COLUMNS[I].CONTROLSOURCE = GRD_INFO[I,2]
.COLUMNS[I].CURRENTCONTROL = "TEXT1"
.COLUMNS[I].TEXT1.VISIBLE = .T.
.COLUMNS[I].SPARSE = .T.
ENDFOR
.READONLY = .T.
.DELETEMARK = .F.
ENDWITH

and i also want show a more detail data from the table when the user click on the grid textbox, then i create a class of object which is base on textbox
and hv a textbox.click event to startup a new window, but now when the form run, i found that the "textcl" class didn't addinto the grid. but i hv already remove all the textbox before add the class "textcl"..... is there any problem of my coding above?! pls help~! thx!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform