Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One form application
Message
De
13/06/2006 12:32:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01128732
Message ID:
01128757
Vues:
18
With just one form you don't need the main.prg either - as well as set sysmenu off,_screen.caption... and neither "quit" after clear events:) You can directly code in form.init ie:
this.show
read events
Instead of _screen.visible = .f. in code put it in config.fpw as Cindy pointed out.
Cetin

>Thanks a lot..
>Just for the records..
>My main program is this:
>
>
>set sysmenu off
>_screen.visible=.f.
>_screen.caption="Consulta de precios"
>do form consulta
>read events
>
>
>
>And set the form's showwindow=2
>And placed a commandbutton in the form with this in the click event:
>
>
>
>clear events
>sqldisc(0)
>thisform.release
>quit
>
>
>
>
>>Hello Jonathan
>>
>>Make the form a top level form by setting the show window property, you can turn off the VFP main screen with _screen.visible=.f.
>>
>>Bob
>>
>>
>>>Hi.
>>>My application will consist just of a small form (400 x 500 pixels) is there any way to overide the Visual Foxpro screen and just show the form?
>>>Thanks in advance.
Ç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