Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First or last record - is there a way to determine?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
First or last record - is there a way to determine?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01021609
Message ID:
01021609
Vues:
68
Hi everybody,

I have a navigation toolbar and I also have a grid.

In grid's AfterRowColChange I have:
LPARAMETERS nColIndex
DODEFAULT(m.nColIndex)
IF VARTYPE(thisform.oToolbar) = "O"
	thisform.lBOF = BOF("v_investigatorqueue")
	thisform.lEOF = EOF("v_investigatorqueue")
	thisform.oToolbar.cntNavButtons.Refresh("","v_investigatorqueue")
endif	
Now, the problem is with when I go to the first or last record using keyboard. If I'm using navigation buttons, the buttons on the toolbar are disabled properly. But in case of the keyboard I have a problem. In the button's click there is a call to a method which basically does additional skip back and forth to determine the status correctly. I'm wondering, is there a way to achive similar functionality without using this technique?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform