Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program when executing wont show my form
Message
De
18/08/2005 04:50:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01041570
Message ID:
01041856
Vues:
19
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform