Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Grid..again
Message
De
16/12/1997 20:30:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with Grid..again
Divers
Thread ID:
00066408
Message ID:
00066408
Vues:
68
!warning: long message content!

Here's the situation:

i have a form on which i have a grid and a commandbutton.
the grid displays values from a table of mine.
the commandbutton releases(destroys) the form.

1. the first time i ran my application and clicked on a button to construct and show the form, the values were displayed properly.

2. Then, i clicked on ONE of the grid cells (nothing is supposed to happen as a result of this clicking)

3. Next, i clicked on the commandbutton to release the form so that control is returned to my main application.

4. Then, i clicked on the button on my main application to construct the same form again. Instead of displaying all the proper values, the grid displays the values of the grid cell which i clicked on previously.

1st run: results were as expected

(grid display)
column: a b c
row 1: 1 2 3
row 2: 10 22 33
row 3: 15 18 20
: ^^
: lets say i click on this cell

2nd run: results UNexpected

(grid display)
column: a b c
row 1: 15 18 20
row 2: 15 18 20
row 3: 15 18 20
:
:

where might the problem lie in?
i certainly didn't save any index/values which might be carried over. And the 1st form was destroyed after being displayed.

Any help will be appreciated!
Many thanks :)

Mazlan Bin Mohammad
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform