General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
>>Don't know how much of this is relevant but:
>>
>>I have a class derived from 'Form' - very simple modal dialog, no datasession, just one property bound to a two option radio button.
>>I have a Form based on this class with no overrides.
>>I instantiate the Form from a 'main' form with 'DO FORM xxx TO rdiChoice'
>>The xxx form never appears and I get a error 12 (variable is not found)
>>I've add code that verifies that the Form.Load() and Form.Init() both execute without error.
>>I've put a Try/Catch around 'DO FORM xxx TO rdiChoice' but no exception is thrown.
>>
>>Now the odd bit:
>>
>>When running the EXE on my machine everything works as expected.
>>On a testers machine I get the above behaviour.
>>
>>Seems as if my EXE is successfully accessing something that's no available on the production version.
>>Only thing I can think of is that the form icon isn't being found - but it looks OK and the same thing works on other forms.
>>
>>What should I be looking at ?
>
>
>Maybe the error happens in the code before Do form xxx
>
>As to the icon, I believe there are no runtime errors when is is not found
Think I solved it - usual idiocy : The 'ShowWindow' property was 'In Screen' rather than 'In Top Level Form'. On my machine with VFP installed it was visible in the VFP window - that should have immediately told me what was wrong - just wasn't thinking straight.
Thanks to all for suggestions ; apologies for wasting time :-{
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only