Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click event not firing
Message
De
03/09/2009 20:46:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01422519
Message ID:
01422551
Vues:
39
>>>>>
>>>>>Are you sure it's not the grid reconstruction problem?
>>>>
>>>>I'm not sure of anything at this point. Unfortunately, what I'm most not sure of is what to look for!
>>>
>>>Do you re-assign RecourdSource of the grid at some point? This causes the grid reconstruction problem.
>>
>>Yes, I do.
>>
>>Each time I refresh the grid I set the recordsource and then assign columnCount, columnN.controlSource, and columnN.Header1.Caption.
>>
>>Safe Select techniques (at least the one's I'm aware of) won't work because the structure of the data changes each time.
>>
>>If there are no properties I could control, I could probably remove and add the grid. I'll try that and see it it works. If you can think of something better!!!!!!!!!!
>
>Can you bind header's click after each re-assign? Unbind before re-assign and then bind.

Same problem. First time it runs properly (bound code runs). After that the code doesn't fire.

I tried RemoveObject and NewObject and it worked just fine.

I still don't know why the original version wouldn't function "properly" but I've got something that works without a visible slowdown in the program so it's on to the next task on the list.

Thanks for your help...........Rich
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform