Thank you all for your feedback!
Well - my Test proved right - and I found what's causing the problem.
Since this is an Inquire screen - the screen was designed to Turn Off access
to modifying data on the screen. As such, this command was being run:
THISFORM.SetAll('ENABLED',.F.,'TEXTBOX')
Well - its obvious that this command was ALSO applying this Disabling effect
not only to normal Textboxes on the Form - but, ALSO the Text Boxes WITHIN
the Grid. I disabled the running of this command - and then things worked!
Of course, now I need to do another method of turning off the field - maybe
doing it one-by-one, instead of using this command - since its OBVIOUSLY
where the problem lies...
-K-
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Kurt
Wendt
Sent: Wednesday, April 17, 2013 10:31 AM
To: [email protected]
Subject: RE: A CRAZY Grid Interaction...
I thought that was to only Display info about Active Cell - and not Change
the Active Cell. I tried using it incorrectly quickly today - and got an
error.
I found something that MAY Be causing the problem - am going to run a test
now - and see what happens...
-K-
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Tracy
Pearson
Sent: Wednesday, April 17, 2013 10:14 AM
To: [email protected]
Subject: RE: A CRAZY Grid Interaction...
Kurt Wendt wrote on 2013-04-17:
> I'm having a problem on this Order Add/Change/Inquire screen. Strangely -
> the problem only happens in Inquire Mode - and Does NOT happen during ADD
or
> Change Mode! And, I'm at a loss to explain it or resolve it.
>
>
> During Inquire mode only - when the data is finished loading and being
> displayed - the Grid that contains the Order Line records - it is stuck
on
> the LAST Column in the Grid. Now, I didn't make this screen - I'm just
> making changes. But, the Grid has like 43 columns - which makes the
problem
> worse - and, the way it is now - the user MUST Scroll ALL the way back
> across to see the 1st column!
>
>
> I've tried forcing a Click and a Setfocus on the 1st Column - but, no
good.
> I've gone into the Debugger after pausing the program - to look at all
the
> settings for the Grid - and, again - I don't find anything strange! So -
I'm
> at a loss to resolve this problem - and, of course - am already wasting a
> lot of time trying to figure it out.
>
>
> TIA,
>
> -K-
>
Kurt,
Is there a Grid.ActiveCell() call in the code?
It is strange, however I have seen similar troubles with changing the
Grid.RecordSource property.
If there isn't a Grid.ActiveCell, at the end of the procedure that loads the
data, right before the final Grid.Refresh() add one.
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/61ADB3F881984F9EBDD3E1724D3F8D97@Programming2
** 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.