Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.visible troubles
Message
From
16/06/1997 13:39:12
 
 
To
16/06/1997 12:18:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00036518
Message ID:
00036536
Views:
33
>>>When I issue screen.visible = .F. from my startup program, I get an error in a seemingly unrelated place in my main form's init event "unknown object blah blah..." On top of this, the login screen never shows up, and EVERYTHING disappears, even from the list that appears when pressing ctrl+alt+del. Restarting windows gives my "Are you sure you want to exit the program?" messagebox displayed from the application's shutdown, but this is the only hint left of my application running. MS articles say that '_screen.visible = .F.' should be issued at the very beginning of the main program.., but this has never worked for me- what I am I doing wrong?
>>
>>I saw that _SCREEN.Left=-2000 is much more reliable idea (I don't know why). Surely, after this all forms should have Desktop=.T.
>
>Looks like I overlooked the desktop property. I thought that if the main form had its desktop property set to .T., and all other forms had showwindow = 1 (in top level form) then all the forms should be visible but that isn't the case.
>As for making the form invisible as opposed to moving it off of the screen, I chose invisible because it also hides the duplicate button on the command bar. Do you know of a way around this when using '_screen.left = -2000'?

Actually, not. Moreover, I assumed, that making _SCREEN invisible still leave butoon on taskbar.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform