Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing Modal and losing Obj Ref
Message
From
27/12/2006 15:29:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180560
Message ID:
01180575
Views:
15
>>We have one client that VFP is losing the modal status of forms. We are based on AccPac and in their code they have a
>>
>>
>>DO WHILE TYPE(gc_frmname + ".BaseClass") = "C"
>>  &gc_frmname..SHOW()
>>ENDDO
>>
>>
>
>That's a strange piece of code. Why do you need to show this form in a loop?
>
>Should it be
>if type(gc_frmname + ".name") = 'C'
>   with evaluate(gc_frmName)
>        .Show()
>   endwith
>endif
>

It's AccPac Pro series code. They don't do it anymore with their Pro 7.x code base but up until then they did it. We still have clients running on the old code. What's the difference between evaluating Name vs baseclass?
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform