Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click Method in a Grid
Message
De
06/08/2001 18:47:44
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
06/08/2001 18:26:06
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00540439
Message ID:
00540445
Vues:
19
Henry-

A couple of asides...
>thisform._textbox4.value = ""
>thisform._textbox5.value = ""
>thisform._textbox6.value = ""
Could you not just bind the textbox controls and avoid the refresh issue?

Also, the following is better put in a WITH/ENDWITH construct. Although it's less important since it's not in a loop.
>		thisform._grid2.visible = .T.
>		thisform._grid2.recordsource = "foundlocation"
>		thisform._grid2.column1.header1.caption = "Primary Location"
>		thisform._grid2.column2.header1.caption = "Secondary Location"
>		thisform._grid2.column3.header1.caption = "Location ID"
>		thisform._grid2.column1.width = 161
>		thisform._grid2.column2.width = 198
>		thisform._grid2.column3.width = 250
>		go top
>		thisform._label3.visible = .F.
>		thisform._label5.visible = .T.
>		thisform._commandbutton3.caption = "Find"
>		thisform._commandbutton6.enabled = .F.
>		thisform.refresh()
>	else
>		thisform._grid2.visible = .F. &&Or put a form to tell the user
>	endif
>thisform.refresh()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform