Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Como desactivar mi Clase
Message
From
07/07/2009 10:41:39
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Venezuela
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Como desactivar mi Clase
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01410551
Message ID:
01410551
Views:
122
Muy Buenos Dias.
De Antemano Muchas Gracias

Cree una clase tipo Toolbar.
la llamo desde el formulario de esta forma:

SET CLASSLIB TO prueba\_clasprueba.vcx additive
PUBLIC forma1
forma1=thisform
IF TYPE ("_Screen.oTbr") = "O" AND NOT ISNULL (_Screen.oTbr)
*_----
ELSE
_Screen.AddProperty('oTbr', .Null.)
_Screen.oTbr = CreateObject("toolbar_pru")
_Screen.oTbr.enabled=.t.
_Screen.oTbr.visible=.t.
_Screen.oTbr.dock(0)
ENDIF

La Barra de Herramienta se ancla muy bien y los botones funcionan perfecto. La pregunta es la siguiente:
Como hago para cerrar dicha clase y que la barra de herramienta desaparezca.
Next
Reply
Map
View

Click here to load this message in the networking platform