Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox in container in grid
Message
 
 
À
15/06/2002 08:26:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00668867
Message ID:
00669114
Vues:
15
Hi!

Container is not native control for grid cells, thus controls in container are not refreshed properly before container is displayed for each row. You require to have some way to force refresh of container for each grid row when rows are drawn by grid. This could be accomplished by using Dynamic* property of column. I expressions for any Dynamic* property put a function or method call. Call there Refresh method of text box or container, then return the value that appropriate and required for selected Dynamic* property.

Let me know if you need more details.

Hope this helps.

>In one column of a grid, I'd like to put a container as the control. The container contains a textbox.
>
>My problem is that the textbox is not picking up the value assigned to the column's recrodsource. It seems to only pick up the value of the first row, and then in every subsequent row, if I click on the textbox, it changes the value to that of the first row.
>
>Any thoughts?
>
>Thanks,
>
>David
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform