Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click event image object
Message
From
19/08/2002 09:43:49
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
To
18/08/2002 16:00:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00689928
Message ID:
00691009
Views:
17
Sounds interesting...I have VFP 7 at home I'll try this later today...

-Irv

>Irv - show window property was set to In screen(default).The form I used had probably 80 objects or more, so I copied the image objects over to a new form with nothing on it. The first image object worked, the second image object I added caused the same problem of dropping behind the modeless form.
>As indicated I put the images on a command button and copied the code the the click event of the command button and had no problem. Not sure why I got the strange results with the image object click event, but I did. I used VFP7 with SP1.
>
>Thanks
>Gaylen
>
>
>>The Image-click() should work just fine for multiple Forms, etc. You can also include it in a Container for a nice Command button simulation...
>>
>>Check the ShowWindow property of the Form(s)...?
>>
>>-Irv.
>>
>>>I tried to put a call to a lookup form in the click event of an image object and got the following error:
>>>
>>>If I had one image object on the form - no problem. If I had more than one image object each calling different lookup forms, the form would disappear under the calling form. Calling form is set modeless, lookup screen set to modal.
>>>
>>>After playing around with the form for a while, I decided to put the same calling code in click events of command buttons instead of the image objects on the form. Everything worked fine.
>>>
>>>Anyone encounter this before and is there any limitations on what you can do from the click event of the image object?
>>>
>>>Thanks
>>>Gaylen
Previous
Reply
Map
View

Click here to load this message in the networking platform