Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and setfocus
Message
From
27/09/1999 12:37:50
James Boden
Software Solutions For Business
Cumberland, Maryland, United States
 
 
To
24/09/1999 07:47:19
James Boden
Software Solutions For Business
Cumberland, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00268409
Message ID:
00269450
Views:
15
I figured it out. I placed it back onto the first column by setting a couple of variables and it works now.

>I have a grid with 8 columns. 3 out of the 8 are enabled when the add button is selected. The person is then allowed to get to the column in fact they are placed there with a setfocus. The first column that they are placed in is a combo box so they can type in the an item number. It then brings in the price, description, and any discount and delivery charges. The enter or tab in the grid will place them in the quanity field and they key in the qty. the enter or tab key will then place them in the discount field. At that point it will check the price to see if it is blank. If it is not it will take them to the save button using the setfocus. From the save button it will place them on the add button and the cycle start over. The problem is after the first item is place in the grid and they place a second item in the grid. It will select the first column, which is a combo, but it is bouncing back to the save button. It acts like it is still on the grid column that it left. So
>when the grid is reenabled it hits that field and goes back to the save button. If I do a cancel it them functions correctly. If any help please email me.
Previous
Reply
Map
View

Click here to load this message in the networking platform