Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid does not refresh when after adding row from menu
Message
De
03/03/2003 11:52:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00760102
Message ID:
00760400
Vues:
17
>>I encountered a serious grid refreshing problem which
>>I have'nt found any solution.
>>
>> To reproduce:
>> Run the program at the end of this message
>>
>>Result observed:
>> Empty grid
>>
>>Result Expected: Word Hello must appear. Press Ctrl+Tab to see the
>> expected result.
>>
>>Note: I cannot use grid recordsource re-assignment to force
>>grid refresh since this loses grid column settings in my
>>real application.
>>
>>Platforms: I need this to be fixed in VFP 7.
>>Same problem exists in VFP 8 .
>>
><snip>
>
>Hi Andrus,
>
>There's a simple workaround.
>	PROCEDURE addrow
>      thisform.SaveChanges()
>		sele mitteakt
>		append blank
>		REPLACE klient WITH 'hello'
>		KEYBOARD  "{TAB}{BACKTAB}"        && Workaround
>	ENDPROC
>
Sergay, thank you. Excellent.

However, do you think that using keybord command is the best way to force
grid refresh ?
I'm there more native solution ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform