Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with Grid..again
!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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement