Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help using Date Time picker
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00269496
Message ID:
00269580
Vues:
14
>Hi.
>
>I'm trying to use a Date & Time picker in a grid.
>
>When i put the control in the grid, it doesn't update data to the bound field in the database. Also I can't move to the cell with the D&T picker using TAB i have to use my mouse to access it.
>
>I have the control set to the DateTimePicker control, Sparse set to .f.
>
>Thanks


Hi Sergio,

I've never placed this control in a grid, but I have always had trouble keeping the field in my view in sync with the value of the control. Usually, I have to programmatically keep them in sync using the date/time picker's change event.

As far as tabbing to it, you might try to place the control in a container and drop that in your grid. That way you can pass control programmatically to the date/time picker when the container's GotFocus fires.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform