Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error event does no return to master
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01561811
Message ID:
01561913
Views:
41
[...]
>And your code to call it:
>
>
>loWindow = newobject( 'viafrm_viajob', 'viajob.vcx' )
>if vartype(loWindow) = 'O'
>	loWindow.refresh()
>	loWindow.show()
>	loWindow.refresh()
>	read events
>endif
>
>
>
[...] not sure why you call refresh() twice

Here's the comment I made in the code.
*	25/may/2012	pdv	Why use the scx? All stuff is in the vcx!
*	26/may/2012	pdv	Because the refresh as the final stage of the init did no longer fire?
*				See also UT: http://www.levelextreme.com/DataEntryThreadView.aspx?ID=1544463 
Doing the REFRESH() also after the SHOW() should not be required and isn't in case it is an SCX, but it 'helped' here where I use the VCX.

http://www.levelextreme.com/DataEntryThreadView.aspx?ID=1544463

[...]
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform