Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hellooooooooo I STILL need help with this!!!!
Message
 
À
30/11/2000 09:47:24
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00447316
Message ID:
00447328
Vues:
10
Being more polite about your request would make people a LOT more willing to help you. Considering the people who frequent this board are not paid to do it, a little shmoozing would go a long way, bud.

It seems like you're asking us to finish your homework for you. DOH!!!

GWW

>(Form Refresh method)
>WITH ThisForm.CommandGroup1
> .Command1.ENABLED = .NOT. BOF('Person')
> .Command2.ENABLED = .NOT. BOF('Person')
> .Command3.ENABLED = .NOT. Thisform.lEOF
> .Command4.ENABLED = .NOT. ThisForm.lEOF
>ENDWITH
>
> ( |< )
>GO TOP IN person
>ThisForm.REFRESH()
>
> ( < )
>IF NOT BOF('person')
> SKIP -1 IN person
>ENDIF
>ThisForm.REFRESH()
>
> ( > )
>IF NOT EOF('person')
> SKIP 1 IN person
>ENDIF
>Thisform.leof= EOF('Person')
>IF EOF('person')
> GO BOTTOM IN Person
>ENDIF
>ThisForm.REFRESH()
>
> ( >| )
>GO BOTTOM IN person
>ThisForm.REFRESH()
>
>This is for VFP 6.0 and what I want to do is disable the buttons when it reach the top or bottom. The |< and >| aren't doing it, but the < and > disables the two buttons, however, it does not enable it back when going the other way. If this coding is bad, please fix this or create a new set of coding (and make it a complete, since I would be coping/pasting the codes). The 'person' is the parent table and the 'auth' is the child table (grid). Thank you.
>
>Chuck
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
** http://GerrysPlace.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform