- Code: Select all Expand view RUN
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
DEFINE BUTTONBAR OF oWnd
@ 10, 10 SAY "This is a test"
ACTIVATE WINDOW oWnd;
ON CLICK MSGINFO( oWnd:aControls[ 1 ]:ClassName )
RETURN NIL
EMG
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
DEFINE BUTTONBAR OF oWnd
@ 10, 10 SAY "This is a test"
ACTIVATE WINDOW oWnd;
ON CLICK MSGINFO( oWnd:aControls[ 1 ]:ClassName )
RETURN NIL
if ! Empty( oWnd:hWnd )
::Create()
::GetFont()
// oWnd:AddControl( Self )
else
In the following sample, if you click on the window you will get TBAR. With the previous FWH release you got TSAY.
Return to Bugs report & fixes / Informe de errores y arreglos
Users browsing this forum: No registered users and 4 guests