Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for header click in a grid
Message
From
29/07/2003 10:04:16
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00814471
Message ID:
00814507
Views:
11
>Your original message had:
 Procedure grdTestGrid.Column19.Header.Click
*          ----------- -------- ------ -----
           MessageBox ("grdTestGrid.Column19.Header1.Click")
 EndProc
>All you should have to do is edit the Click of the grid header and put in the MessageBox code.

In the complete code I sent you, you can see that all is done in a single prg file and there I put:
 Procedure grdTestGrid.Column1.Header.Click
*          ----------- ------- ------ -----
           MessageBox ("grdTestGrid.Column1.Header1.Click")
 EndProc
where I changed "Column19" to "Column1" in order to work properly with the "Home () + "Samples\Data\employee.dbf", that has no 19 fields.

>In your code above, it looks like you have a space between MessageBox and the (. There should be no space.

Think that's not the problem, if you copy that line to the command window it will work ok, regardless of the extra space.

Could you test the complete prg I sent you?

Regards,

Fernando
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform