General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only