Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container visibility
Message
 
 
To
18/10/2006 08:59:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01162756
Message ID:
01162893
Views:
18
Does it give you an error? Did the object instantiate?

>Nope.
>>>>>Of course. But like I said, it's fine in Debugger, but not at the run-time.
>>>>
>>>>Post your code. I have a guess what's wrong but prefer to see the code to tell for sure.
>>>Here:
>>>with this
>>>    .NewObject(lcAddMachineName, lcClassName, lcClassPath, '', machinetag,   machineid)
>>>	WITH .Objects(.Objects.Count)
>>>		.Visible = .T.
>>>        endwith
>>>endwith
>>
>>Try
>>
>>   this.NewObject(lcAddMachineName, lcClassName, lcClassPath, '', machinetag,   machineid)
>>    IF PEMSTATUS(THIS, m.lcAddMachineName,5)
>>        with evaluate('this.' + m.lcAddMachineName)
>>		.Visible = .T.
>>                  .left = 1
>>                  .top = 1
>>        endwith
>>   endif
>>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform