Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desactivar barra de herramientas
Message
From
28/04/2005 23:41:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/04/2005 23:20:29
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009537
Message ID:
01009546
Views:
13
>consulta a la comunidad
>
>Al ejecutar un formulario, pese a tener la propiedad windowtype = 1 modal, la barra de herramientas esta activa. Como podria deshabilitar el toobar?
>gracias.
>
>dayana herbas

¿Cuál barra de tareas? ¿Una integrada de VFP, o una que tú creaste?

Con una prueba rápida, los botones de la barra estándar están visibles, pero deshabilitados.

Si eso te molesta, podrías ocultar la barra de herramientas.
* Form.Init()
hide window standard

* Form.Destroy()
show window standard
(Probando con VFP 6, Inglés.)

Por otro lado, para un trabajo profesional, de todos modos deberías ocultar todas las barras de herramientas al iniciar la aplicación.

También puedes ocultar este tipo de toolbar, de hecho, no vas a tener los problemas con diferentes títulos para diferentes ventanas. Por ejemplo, si lo abriste como el objeto oToolBar:
* Form.Init()
oToolBar.Hide()

* Form.Destroy()
oToolBar.Show()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform