Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another oddity, this time grid
Message
From
18/02/2020 05:58:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/02/2020 14:02:02
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01673086
Message ID:
01673094
Views:
111
>>>Well it did, the row still got selected, BUT the ARCC wasn't firing. Put grid.AllowCellSelection back to .t. and set it .readonly=.t. instead. And it just started working, magically.
>
>I use grid.AllowCellSelection=.f. quite a lot for lookups - highlights the whole row and simplifies event handling. Maybe twitching the value caused a resave that undid some sort of snafu.

It was exactly the grid.AllowCellSelection=.f. that caused the snafu - because the call to parent.refresh() refresh was in the AfterRowColChange, and it wasn't firing. Confused me endlessly. I probably doubleclicked it in the PEM window while thinking the mouse pointer was elsewhere, so no amount of backtracking over what I did would fix this, because I absolutely don't remember doing it.

Also the behavior, where the controls wouldn't refresh until I clicked them, was so familiar and none of the deja vus were helping, as the only conclusion was "it didn't refresh" - but then why didn't it? Aaah... so glad I found it. I can now go back to being normal nuts, not this extreme degree.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform