Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically Code Events
Message
From
06/09/2000 21:47:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00413272
Message ID:
00413283
Views:
19
>I have created a grid on a form using the following code:
>
> This.Addobject([grdGrid], [Grid])
> with This.grdGrid
> .Left = 4
> .Top = 36
> .Width = This.Width - 8
> .Height = This.Height - 40
> .FontBold = .T.
> .FontSize = 8
> .RowHeight = 15
> .Visible = .T.
> endwith
>
>Grids have an event AfterRowColChange. I would like to write some code for this event. How can I do this programmatically?
>
>TIA
>
>DJ

You can't. Create a grid class that has the AfterRowColChange programmed how you want it, and then add it instead of an instance of a base class.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform