Search found 49 matches: awnd

Return to advanced search

... *------------------------------------------------------* local i:=0,lSuccess:=.f. cTitle:=upper(cTitle) FOR i=1 to len(oWnd:oWndClient:aWnd) IF upper( oWnd:oWndClient:aWnd[i]:cCaption )=cTitle oWnd:oWndClient:aWnd[i]:SetFocus() lSuccess:=.t. ENDIF NEXT RETURN lSuccess
by angstin
Thu Oct 30, 2008 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
Replies: 9
Views: 1553

Dudas con MDI- MDICHILD

... *------------------------------------------------------* local i:=0,lSuccess:=.f. cTitle:=upper(cTitle) for i=1 to len(oWnd:oWndClient:aWnd) if upper( oWnd:oWndClient:aWnd[i]:cCaption )=cTitle oWnd:oWndClient:aWnd[i]:SetFocus() lSuccess:=.t. endif next Return lSuccess
by angstin
Tue Oct 28, 2008 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas con MDI- MDICHILD
Replies: 0
Views: 367

... DIALOG NOWAIT and MDICHILD which I have found is that :- 1) DIALOG NOWAIT does not have Minimize & Maximize button. 2) wndMain():oWndClient:aWnd[i] does not work My App's starting Window is MDI. My intention for using MDICHILD window was that the user should not get struck with only a window ...
by anserkk
Tue Sep 30, 2008 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Screen Layout difference MDICHILD vs DIALOG
Replies: 3
Views: 1135

xBrowse Button del GET

... De esta forma hacia el cambio de imagen pero lo que me pasaba era que tenia el mismo ancho de la imagen al boton de tres puntos activate dialog aWnd[ 2 ] nowait ; on init ( aWnd[ 2 ]:move( 0,0 ) , ; oBrw:aCols[ 3 ]:oBtnElip:cCaption:="",; oBrw:aCols[ 3 ]:oBtnElip:LoadBitMaps("busca") ) ; VALID ...
by Daniel Garcia-Gil
Mon Sep 29, 2008 3:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse Button del GET
Replies: 12
Views: 3966

... Checking for MDI child windows If you need to check for MDI child windows you can look at oWnd:oWndClient:aWnd which is an array of MDI child windows objects. You can check the captions: oWnd:oWndClient:aWnd[1]:cCaption Here is an example ...
by James Bott
Tue Sep 09, 2008 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Details of the opened dialogs/windows in application
Replies: 18
Views: 4185

Re: Sobre Valid en ventanas Padre e Hijas

Prueba esto, a ver si te funciona.

Function CerrarVent()
local n:=0

if Len( oWnd:oWndClient:aWnd ) > 0
For n := 1 to Len( oWnd:oWndClient:aWnd )
oWnd:oWndClient:aWnd[n]:Close
Next
endif

Return nil

Saludos.
by FranciscoA
Sat Sep 06, 2008 8:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre Valid en ventanas Padre e Hijas
Replies: 4
Views: 749

Re: Ventanas abiertas

Mike Serra wrote:Buenos dias foro!

¿Sabeis como averiguar en una aplicación MDI si tengo ventanas abiertas?

MUCHAS Gracias


comprueba:

Len( oWnd:oWndClient:aWnd ) > 0

Siendo oWnd el padre ('OF') de las ventanas MDICHILD.

Saludos
Carlos G.
by FiveWiDi
Mon Aug 11, 2008 10:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ventanas abiertas
Replies: 3
Views: 742

... oWnd )) ,.t. ) ); VALID _salir() function _salir() local lSalir := .f. if MsgYesNo( "Salir ahora .. ?", cUser ) aEval( oWnd:oWndClient:aWnd, { |o| o:bValid := nil } ) lLog := .t. endif return ( lLog )
by sysctrl2
Tue Jul 22, 2008 4:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EQUIVALENTE A BREAK ????
Replies: 3
Views: 555

prueba con

ACTIVATE WINDOW oWnd VALID ( aEval( oWnd:oWndClient:aWnd, { |o| o:bValid := nil } ), .t. )
by quique
Mon Jul 21, 2008 11:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EQUIVALENTE A BREAK ????
Replies: 3
Views: 555

... Regards, James ------------------------- Checking for MDI child windows If you need to check for MDI child windows you can look at oWnd:oWndClient:aWnd which is an array of MDI child windows objects. You can check the captions: oWnd:oWndClient:aWnd[1]:cCaption See \carrot\common\ordWndCount() for ...
by James Bott
Mon Jun 16, 2008 1:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make it impos. in MDI, to open a appl.-part twice ?
Replies: 14
Views: 3469

Hello James,

if Gurus have time you get what you need. Thanks again.
Now it works.
Regards,
Otto

if Len( oWnd:oWndClient:aWnd ) > 0
msginfo("hWnd: " + str(oWnd:oWndClient:aWnd[1,1]) + " "+ GetWindowText( oWnd:oWndClient:aWnd[1,1] ) )
endif
oWnd:CloseAll()
by Otto
Wed Feb 20, 2008 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find MDICHILD windows
Replies: 6
Views: 1440

Otto,

I believe all the MDI child windows are stored in this array.

wndMain():oWndClient:aWnd[ ]

James
by James Bott
Wed Feb 20, 2008 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find MDICHILD windows
Replies: 6
Views: 1440

todas window:

oWnd:IconizeAll() - minimizar todas

ASend( oWnd:oWndClient:aWnd,"MAXIMIZE" ) - maximizar todas


Espero ter ajudado
by FWHISHOW
Mon Jan 07, 2008 10:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Minimizando todo con un solo click
Replies: 2
Views: 675

... común ya no está la ventana activa en la mdi que la llamo. Por tanto creo que no me vale GetActive() En cuanto a "if upper( oWnd:oWndClient:aWnd[i]:cCaption )=cTitle", obviamente me sirve si paso "cTitle" a la función. El problema es que he puesto un ejemplo sencillo, la realidad es una ...
by fgondi
Fri Dec 21, 2007 8:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: duda sobre mdi
Replies: 5
Views: 935

if upper( oWnd:oWndClient:aWnd[i]:cCaption )=cTitle
....
by FWHISHOW
Thu Dec 20, 2007 6:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: duda sobre mdi
Replies: 5
Views: 935
PreviousNext

Return to advanced search