... por columna, por linea, en encabezado, en celda activa, en footers, en browse normal... caso 1 http://img15.imageshack.us/img15/3006/brw1.jpg aqui el codigo: oBrw[x]:bBkColor := { | nRow, nCol, nStyleLine | ColoresCelda( nRow, nCol, nStyleLine, oFolder ) } oBrw[x]:bTextColor := ...
... DIALOG oDlg RESOURCE "BCEDCBAL" OF bc:oWnd oDlg:bGotFocus = { || oWndchild:SetFocus(),oget[nget]:setfocus(),.T.} asi mi xBrowse: @ 3,2 XBROWSE Brw1 ; FIELDS "" ; ALIAS (CALIAS) ; OF oWndChild ; LINES CELL Brw1:aCols:= {} FOR i := 1 TO xCols ADD COLUMN TO XBROWSE Brw1 DATA bro_campo[i] TITLE ...
FOR nFor:=1 TO xCols oCol:=Brw1:aCols[nFor] oCol:nEditType := 1 oCol:bOnPostEdit := {|o, v, n| iif( n != VK_ESCAPE, FieldPut( o:nCreationOrder, v ), ) } NEXT
... pero tengo el siguiente problema al momento de editar y validar cada columna, ya que yo armo mis columnas de la siguiente manera: @ 6,2 XBROWSE Brw1 ; FIELDS "" ; ALIAS (CALIAS) ; OF oWndChild ; LINES CELL FOR i := 1 TO xCols ADD COLUMN TO Brw1 DATA bro_campo[i] TITLE bro_subtit[i] NEXT Brw1:SetRDD() ...
... aqui mismo llamada WndSetFocus que la busca por el ctitle y le da el foco pero no me funciona. te anexo el codigo... Case nCol == 2 uBuffer := (Brw1:CALIAS)->id_com aResult := "" IF lContinue:= Brw1:lEditCol( nCol, @uBuffer, "@!") IF EMPTY(uBuffer) COMP0101(uBuffer) // aqui llamo a la otra ...
... negative film strip and the Header/Footer is disappearing of the screen See this image: http://br.geocities.com/qiinformatica2000/brw1.PNG Talvez isto seria a solução: The HD_LAYOUT structure contains information used to set the size and position of a header control. typedef ...