Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating a form from a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01195509
Message ID:
01195519
Views:
20
>>I want to activate a form from the text2.click event of a grid without releasing the current form - the new form loads but behind the current form - both forms are modal - I have tried all the settings for the new form ie on top etc but it makes no difference
>>
>>If I put the code in the click event of a button it works fine
>>
>>What am I doing wrong?
>>
>>Colin
>
>Something is wrong here. Could you show how you call the new form? Is it plain DO FORM command?
>Anyway, it's a good practice: every time before you call something from grid you may move focus out of the grid by using AnotherObject.Setfocus

Edward

I have set focus to a command button and put the do form in the get focus event of the button - it works

Thanks a lot

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform