Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click Method in a Grid
Message
From
06/08/2001 18:47:44
 
 
To
06/08/2001 18:26:06
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00540439
Message ID:
00540445
Views:
15
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()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform