Search found 98 matches: nfor

Return to advanced search

Problem with Editor of Source

... aUserFunc[1] ) ENDIF oMru:Save(lower(cScrFile)) lNeedCmp := .t. endif RETURN NIL //27/06/2005 STATIC FUNCTION buscaScript(modo) Local nFor,cLine,cText:=space(200) Local nLines := len(oMemo:aLines) If MsgGet("Busca","Texto",@cText) cText:=alltrim(UPPE(cText)) ;nFor := 1 eltexto:=cText ...
by Vladimir Zorrilla
Wed Jun 18, 2008 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Editor of Source
Replies: 1
Views: 1526

Editor de Codigo con syntaxis coloreada interperte y texto i

... aUserFunc[1] ) ENDIF oMru:Save(lower(cScrFile)) lNeedCmp := .t. endif RETURN NIL //27/06/2005 STATIC FUNCTION buscaScript(modo) Local nFor,cLine,cText:=space(200) Local nLines := len(oMemo:aLines) If MsgGet("Busca","Texto",@cText) cText:=alltrim(UPPE(cText)) ;nFor := 1 eltexto:=cText ...
by Vladimir Zorrilla
Wed Jun 18, 2008 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Editor de Codigo con syntaxis coloreada interperte y texto i
Replies: 1
Views: 2163

Xbrowse goright() problem

Hi,
Sometimes, when current col at the left one of the rightmost, press right arrow key, the browse repaints ,gets run time error :

array bound error

call from METHOD ColAtPos( nPos )
call from paint() methd oCol := ::ColAtPos( nFor )

Regards !
Shuming Wang
by ShumingWang
Tue Jun 17, 2008 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse goright() problem
Replies: 2
Views: 604

Error with Xbrowse many fields

... Called from: => TWINDOW:ACTIVATE(0) Called from: => TAPP:ACTIVATE(52) Called from: TMAIN.PRG => MAIN(17) This is line 91 : oBrw:aCols[ nFor ]:oDataFont := oFont // Line 91 method browser() CLASS TSurvey *------------------------------------- local oDlg,oBrw,oSurvey,oFont,oCol,nFor,oChild ...
by Ehab Samir Aziz
Wed Jun 11, 2008 1:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error with Xbrowse many fields
Replies: 5
Views: 1114

... METHOD ParsePict( cPicture ) CLASS Get Local cChar, cMask Local nAt Local nFor Local cNum := "" Local nPos := AT("@", cPicture ) Local nLen,nDec Local nMaxLen /* E.F. 2006/MAY/31 - Search by last occurrence of "@" into picture ...
by zazibr
Thu Mar 13, 2008 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xharbour cvs + fivewin 8.01 = GPF ?
Replies: 9
Views: 4149

... function RPreview( oDevice ) local aFiles := oDevice:aMeta local hOldRes := GetResources() local oSay local nFor local oWndMain := WndMain(), oIcon, oCursor, oMenu, oBrush, oFont local l97Look := oWndMain != nil .and. oWndMain:oBar != nil .and. ; Len( oWndMain:oBar:aControls ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3370

How to show OemToAnsi in xBrw. (when no Col's defined) ?

... oBrw5:lColDividerComplete := .t. oBrw5:nHeaderLines := 1 oBrw5:nDataLines := 1 oBrw5:lAllowColSwapping := .t. oBrw5:SetRDD() lClrFlag:=.f. for nFor := 1 to len( oBrw5:aCols ) oCol := oBrw5:aCols[ nFor ] oBrw5:bSkip:={| nRecs | ( if(nRecs == nil, nRecs := 1,), ; nRecs:= (1)->(dbskipper( nRecs ...
by ukoenig
Sun Feb 17, 2008 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to show OemToAnsi in xBrw. (when no Col's defined) ?
Replies: 0
Views: 504

Hello Wanderson I add this in xBrowse.prg // nAdjColumn is the colums to expand DATA nAdjColumn AS NUMERIC METHOD Adjust() CLASS TXBrowse local nFor, nLen, nHeight, nStyle Local nTot := 0 LOcal nMaxWidth := ::nWidth() - 5 nLen := len( ::aCols ) nHeight := 0 ::GetDC() for nFor := 1 to nLen ::aCols[ ...
by Wanderson
Wed Jan 30, 2008 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse question
Replies: 2
Views: 670

Hello Wanderson I add this in xBrowse.prg // nAdjColumn is the colums to expand DATA nAdjColumn AS NUMERIC METHOD Adjust() CLASS TXBrowse local nFor, nLen, nHeight, nStyle Local nTot := 0 LOcal nMaxWidth := ::nWidth() - 5 nLen := len( ::aCols ) nHeight := 0 ::GetDC() for nFor := 1 to nLen ::aCols[ ...
by Maurizio
Wed Jan 30, 2008 7:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse question
Replies: 2
Views: 670

Problem with xBrowse in MDI-Childs

... := 1 oBrw5:nDataLines := 1 oBrw5:lAllowColSwapping := .t. oBrw5:lOemToAnsi := lOemAnsi // New OemToAnsi oBrw5:SetRDD() lClrFlag:=.f. for nFor := 1 to len( oBrw5:aCols ) // Error-Message // NO WORKAREA in USE !!!! // as a ARRAYS it is OK // ------------------------------------ oCol := ...
by ukoenig
Tue Jan 29, 2008 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse in MDI-Childs
Replies: 3
Views: 1143

Some changes in xBrowse, to read, edit a. write OemToAnsi

... to use. before you open the database you set the var. The database is shown with the mode you defined in lOemAnsi. // Celledit // --------- for nFor := 1 to len( oBrw5:aCols ) oCol := oBrw5:aCols[ nFor ] oCol:nEditType := 1 oCol:bOnPostEdit := {|o, v, n| IIF( n != VK_ESCAPE, ; ( IIF( Net_Lock(), ...
by ukoenig
Mon Jan 28, 2008 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Some changes in xBrowse, to read, edit a. write OemToAnsi
Replies: 0
Views: 708

Switching Colums in xBrowse ( problem fixed !!! )

Hello from Germany I had a small problem to switch columns in xBrowse SAMPLES : // Old for nFor := 1 to Fcount() oBrw5:aCols[ nFor ]:bRClickHeader := {|r,c,f,o| cFELD := :cHeader, ; SET_INDEX(oBrw5,cFELD), ; IIF(DBFTYP = "CDX", ; cINDKEY := ORDKEY( "NEUINDEX" ), ; cINDKEY ...
by ukoenig
Sun Jan 27, 2008 8:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Switching Colums in xBrowse ( problem fixed !!! )
Replies: 0
Views: 508

xBrowse Darstellg. => OemToAnsi ???

... oBrw5:lColDividerComplete := .t. oBrw5:nHeaderLines := 1 oBrw5:nDataLines := 1 oBrw5:lAllowColSwapping := .t. oBrw5:SetRDD() lClrFlag:=.f. for nFor := 1 to len( oBrw5:aCols ) oCol := oBrw5:aCols[ nFor ] oBrw5:bSkip:={| nRecs | ; ( if(nRecs == nil, nRecs := 1,),nRecs:= (1)->(dbskipper( nRecs ...
by ukoenig
Fri Jan 25, 2008 2:19 pm
 
Forum: All products support
Topic: xBrowse Darstellg. => OemToAnsi ???
Replies: 0
Views: 1288

Share add on xbrowse 3D header codes

... Self ) hBrush := CreateSolidBrush( aColors[ 2 ] ) FillRect( hDC, {nRow, 2, nRow + nHeight, nBrwWidth}, hBrush ) DeleteObject( hBrush ) for nFor := 1 to nLast nCol := aCols[ nFor ] oCol := ::ColAtPos( nFor ) oCol:PaintHeader( nRow, nCol, nHeight ) next // paint space right col header, 2007 ...
by ShumingWang
Mon Dec 03, 2007 1:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Share add on xbrowse 3D header codes
Replies: 2
Views: 759

... en modo de edicion y despues tambien he modificado el metodo blank y me funciona perfectamente. un saludo METHOD Blank() CLASS TDataBase local nFor, nLen local cType .... La modificación del metodo, es para no mover el registro de la tabla?
by Biel EA6DD
Fri Nov 30, 2007 10:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema usando tDatabase
Replies: 16
Views: 3940
PreviousNext

Return to advanced search