Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
>>Cetin
>>
>>Thankyou for doing some tests for me! I now know what the problem is, a good nights sleep always works.
>>
>>My main form is Top Level and Modeless. The form has a pageframe1 with a button. When I click the button My search form is In Top Level and Modal. Problem: The form doesn't appear!!
>>
>>I said to you yesterday that I think the problem is to do with having autocenter property on child form set to T. If I remove it then in works!
>>
>>Wrong: The problem is that I have scroll bars on my main Parent Form. The form did appear only that because its large I would have to scroll down to see the search form.
>>
>>What a plonker!!!!
>>
>>Thankyou for your help
>
>Believe it or not yesterday I wrote a message similar to the one below and didn't send thinking still there would be some clue it was showing:)
>
>"Maybe form is appearing and centering right but mainform's size is small and search form is showing with its left,top negative values. Tempoarily add a messagebox to its activate that shows top, left."
>
>I didn't think it was large - and actually centering calculated using viewport is news to me, I don't use forms with scrollbars:) If you included the property that Fabio said it wouldn't happen in the first place:
>
>SearchForm.Desktop = .t.
>
>PS: I didn't know Desktop=.t. behavior. Thanks Fabio.
>Cetin
Hi Cetin,
VFP has a bug that makes problematic the use of a form child (In TOP)
in a form father (AS TOP or In TOP) when ParentForm.ScrollBars is active.
If I find some time the I publish a repro.
Fabio
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement