Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No any improve?! urgent!
Message
De
14/01/2000 13:15:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/01/2000 12:43:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00316739
Message ID:
00318225
Vues:
16
>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!


Wai,
From files\classes download "Two grid classes" and check init code of "multiselectgrid" class.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform