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-
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Tracy
Pearson
Sent: Wednesday, February 03, 2016 12:40 PM
To: [email protected]
Subject: RE: Multi-Select Grid & Foxite Code Issue (Was...RE: A Question of
ListBoxes)
Kurt Wendt wrote on 2016-02-03:
> Tracy - I agree - it DOES look like code is running in an Infinite loop.
But, that really shouldn't be happening.
>
> When I test - I run the APP - not the EXE - and in another session of
> VFP
where I am doing Editing of the Forms. And, I simply run the main system - then
click a button that launches another form that has the custom subclassed Grid
on it. At that point - I'm just running the system, and I'm not looking at code
via the Debugger.
>
> Thanks,
> Kurt
>
Kurt,
Check out the SET ESCAPE Command. When you are running the APP, you may be in a
VFP session that allows the debug window. Pressing the escape key, may allow
you to stop the loop and see what might be the root cause.
You may need to SET ESCAPE ON when the form initializes for testing.
Tracy Pearson
PowerChurch Software
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/80838f1ca795b14ea1af48659f35166f272...@drexch02.corp.globetax.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.