Running into a meeting so apologies for the brevity. Check out BINDEVENTS.
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Kurt Wendt Sent: Wednesday, February 03, 2016 12:59 PM To: profoxtech@leafe.com Subject: RE: Multi-Select Grid & Foxite Code Issue (Was...RE: A Question of ListBoxes)
Thanks Tracy - that's a good idea about the Escape key. I will Definitely try this out if I notice this crashing issue happening again - and may just Set Escape on in advance - just in case...
Another issue related to this SubClassed Grid. IN the Init of the Form in which the Grid exists - I'm updating things for this grid - like the column header names & formatting of the headers. This is also where I set the RecordSource. So - while I'm updating the Headers - I want to then update the Click or DoubleClick method to contain the code that will allow resorting of the data based upon that column/field. But, at runtime - can I push code into something like the Click Method of the Grid Column? I'm getting errors in VFP when trying to do so. I'm not sure if it's possible to do - or I'm just doing it wrong?
At this moment - as snippet of the code is as such: WITH Thisform.Cash_Grid .Column4.Header1.DblClick = .Data_resort(.Column4.ControlSource)
Thanks! -K-