Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid With a Container in the column..
Message
De
08/04/2003 11:29:13
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
08/04/2003 08:54:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00775047
Message ID:
00775113
Vues:
21
Tim

Change sparce=.f.

>Hi,
>
>I setup a grid that adds a container object to one of the columns.
>In the init event I have:
>
>WITH thisform.browselist
> FOR i=1 TO .ColumnCount
> IF SUBSTR(UPPER(.Columns(i).controlsource),1,4)="PICT"
> lcName=.Columns(i).controlsource
> .columns(i).AddObject(lcName,"Img")
> lcObj=".columns(i)."+lcName
> &lcObj..fieldname=thisform.cdatabase+"."+lcName
> &lcObj..visible=.T.
> .columns(i).currentcontrol=lcname
> .columns(i).sparse=.T.
> ENDIF
> ENDFOR
>ENDWITH
>
>This works almost as expected. The container shows but
>but the problem is this container contains 3 objects inside it and these objects are not shown until I actually click in the grid field if I click in abother field they are gone again. How can I make them always show up...
>
>The container will have one of three objects lead,gif,svg. I tried
>to play with dynamiccurrent control but dont know what I should set it to
>
>BR
>Tim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform