Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Help with weird popup problem FPD 2.6
Hi all,
I am having a weird problem with a popup in FPD 2.6.
*---------------
Code in When of popup:
IF glReadOnly
RETURN .F.
ENDIF
luOldValue = loIndGru && loIndGru is index variable to popup
*----------------
Code in valid of same popup:
* First it sets some variables that depend on loIndGru
ccodgru = laplgru[loIndGru,1]
nRegHours = laplgru[loIndGru,2]
* If there has been a change and it is the first time this
* record has changed, Refesh navigation buttons
IF luOldValue # loIndGru AND !glRecordChanged
glRecordChanged = .T.
DO DimNavigat && This routine dims or highlights buttons in && navigation screen
ENDIF
*----------------
The problem is that _sometimes_ (not all the time) I make a change and by the time it gets to the valid both luOldValue and loIndGru have the new value of the index. It seems to happen more often after I do a relocation in table via a Function key.
I read in UT that somtimes Fox seems to get ahead of itself in fast machines. Could this be one of those cases? It is alo possible that somehow I am going twice through the when without going through Valid. Could this be the problem???
TIA,
Alex
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