Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can show a VFP window/form without deactivate the curr
Message
 
 
To
04/05/2004 14:21:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00900864
Message ID:
00901002
Views:
22
Fabio,

>I want only show a graphic ( with a BMP picture ) VFP form with the Click event:

Using the Click event of the form while some other control on that form has focus? If a textbox has focus and you click on the form, this code:
* form.Click

if ( empty( thisform.Tag ) )
   fabionodeac1.image1.picture = "C:\VFP8APP\MISC\HIKE981031-09.JPG"
   thisform.Tag = "junk"
else
   fabionodeac1.image1.picture = "C:\VFP8APP\MISC\KATIE2.JPG"
   thisform.Tag = ""
endif
the textbox.LostFocus does not occur, it's Valid will, but not Lostfocus.

If that above code is put into a cmd.Click the cmd.LostFocus doesn't fire.

It does require that you have your image form already instantiated.

>
>- DEFINE WINDOW
>or
>- a DO SCX form
>or
>- a CREATEOBJECT... VCX form
>
>
>without fire the LostFocus of the current control!
>
>If i can : -> thanks a lot
>If i cannot : -> Why ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform