John Baird
Coatesville, Pennsylvania, United States
General information
Category:
Coding, syntax & commands
> I have a customer screen. there is a grid on the bottom of customers.
When I double click anywhere on the grid I want the customer duble clicked
to update the screen.
> 22 Fields
> all the display objects are disabled and must be enabled (fields and
lables)
> 22 fields 22 lables
> 66 lines of code
> plus comments
> copied over 17 "double click events" on the grid
>
> What happens when I have to change 17 events
> the potential for disaster it to high
> Plus I hate re writing code thats why I program in Foxpro
>
> Thanx
Why not place the code in the method for the 1st column, then in the
dblclick event of the other 65 place :
_screen.activeform.activecontrol.column1.dblclick()
.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only