... LOCAL oBar,oBrw DEFINE WINDOW oWnd2 MDICHILD FROM 0, 0 TO oWnd1:nHeight, oWnd1:nRight-230 PIXEL TITLE "Inventario de Armas" NOSYSMENU NOICONIZE NOCAPTION OF oWnd1 SELE INV_EQ @ 0,0 BROWSE oBrw ALIAS "INV_EQ" OF oWnd2 COLOR nCOLOR2,nCOLOR1 ADD COLUMN TO oBrw DATA FieldWBlock('MODELO',SELECT()) ...
... 1. Adding a MDICHILD like : DEFINE WINDOW oWndBtn MDICHILD OF oWndMain FROM 50, 20 TO 520, 190 PIXEL ; BORDER NONE ; NOSYSMENU ; NOICONIZE ; NOCAPTION 2. capture the Brush-area from the Mainwindow. STATIC FUNCTION CHILDPAINT( hDC, oWnd ) local aPoint aPoint := ClientToScreen( ...
... DEFINE WINDOW oWndBtn MDICHILD OF oWndMain FROM 50, 20 TO 350, 190 PIXEL ; BORDER NONE ; NOSYSMENU ; NOICONIZE ; NOCAPTION ; BRUSH oBrush4 Best Regards Uwe :lol: Many thanks Uwe ! That was what I need ... Regards !
... In case You don't want a Border, it is a bit more complicated : You must define 2 Childs : a NON visible < oWndChild > with NOSYSMENU NOICONIZE BORDER NONE NOCAPTION A second < oWndSelect > For painting NOSYSMENU NOICONIZE You define the MDI-child < oWndSelect > and move ...
... are working, but I still need to move the window, using the mouse. Is it possible to move a MDI-Child without a title ? MDI-Child => NOSYSMENU NOICONIZE NOTITLE http://www.pflegeplus.com/pictures/mdititle.jpg Maybe possible a capture on the message-bar-area to move the window ...
... DEFINE WINDOW oWndCh OF oWnd ; TITLE O2A('AlmaGest(c) v.8.9') FROM 10,10 TO 35,115 ; MENU Menu1() ; BRUSH oBruCh ; ICON oIcoCh BORDER NONE NOICONIZE NOMAXIMIZE NOSYSMENU de lo contrario si quieres dejarlo tal cual esta lo que debes hacer es eliminar de la instruccin anterior el "OF oWnd" ...