Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shifting out of calling code
Message
From
08/08/2002 02:44:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/08/2002 20:19:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00687314
Message ID:
00687397
Views:
16
>Here is the problem:
>
>Double-click on a grid cell which calls an edit method.
>The edit method calls a maintenance form, then when returned updates the grid.
>At this point it attempts to remove and add the grid columns back, all of which works fine except for the original cell that was double clicked on as there is still code executing from this control( the edit method)
>
>How do I get around this?
>
>I have tried a setfocus to separate control, that calls the edit routine from it's gotfocus but still have the same problem
>
>Can I get this to work without using a timer?

Craig,
I think you don't need to remove then add columns back. However if that's working for you try nodefault in gotfocus.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform