Search found 93 matches: ckey

Return to advanced search

Re: Clases y Prgs

... "WColors.ch" //----------------------------------------------------------------------------// function Main() local oWnd, oLbx local cKey:= "Upper(Nombre)", oItem local cDefaultMsg:= "(C) 1994-2002, CeSoTech PC Solutions" local oFont DEFINE FONT oFont NAME GetSysFont() ...
by servicomver
Thu Nov 11, 2010 11:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clases y Prgs
Replies: 11
Views: 3840

hash with (x)harbour - knowledge base

... 0 .and. n <= Len( aData ), aData[ n ], 0 ) Same way for Hashes also: We can either write a TRY,CATCH,END block OR result := If( HHasKey( hData, cKey ), hData[ cKey ], <default> ) ----------------------------------------------
by Otto
Tue Sep 21, 2010 6:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash with (x)harbour - knowledge base
Replies: 20
Views: 7853

Re: XBrowse Array Incremental Search

... I received a compilation error, I assumed that Mr.Antonio must have missed the oBrw: in the sample code and changed the code to oBrw:bSeek := { | cKey | oBrw:SeekOnArray( oBrw,, cKey ) } which gave run time error. :oops: My personal advice is not to assign any codeblock to bSeek. The default codeblock ...
by anserkk
Wed Mar 03, 2010 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Array Incremental Search
Replies: 15
Views: 6001

Sending Keystrokes to Activex

... with the focus set on the control. What lines do I have to write to send those keys to the control? I have tried oControl:KeyChar(ckey) and ( oControl:Setfocus() , __Keyboard(nkey) ) but it does not work. Any ideas? Thank you very much Alvaro
by alvaro533
Sun Nov 08, 2009 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending Keystrokes to Activex
Replies: 4
Views: 801

Re: Seek and MySql

Uso SQLRDD y no he tenido problema de búsquedas con (cAlias)->(DBSeek(cKey)).

He revisado un proceso crítico y tengo más de 40 instrucciones de búsqueda a mas de 15 diferentes tablas, digo crítico porque el proceso es usado en forma local y remota en forma concurrente.
by Alfredo Arteaga
Mon Nov 02, 2009 4:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Seek and MySql
Replies: 14
Views: 3431

Archivos Eliminados

... = { || SelColor( RECNO() ) } oLbx:nLineStyle = 1 oLbx:aJustify = { 0, 0, 0, 0 } oLbx:Setfocus() METHOD FUNCTION DOKEY1(nKey,nFlag,oLbx) local cKEY, nSeekrec, ckey2 local nRecNo8 := RecNo() DO CASE CASE nKEY == VK_RETURN cTitle:="Modificacion y Consulta " Alta2 (1,oLbx) CASE nKEY ...
by yadira
Tue Jun 16, 2009 10:25 pm
 
Forum: FiveWin para CA-Clipper
Topic: Archivos Eliminados
Replies: 7
Views: 2288

Re: How to set Time

So now we comes closer to the prob: As reported above, the function My_Get_Reg32( cKey, cSubkey, uVar) works well, when calling separately. Also the function TimeZone() returns the right value 2. But when I compile it in my main app the function My_Get_Reg32() returns ...
by frose
Tue May 12, 2009 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set Time (SOLVED)
Replies: 7
Views: 1655

Re: ToAntonio and all : simply Tab and Xbrowse

Found the solution !

do case
case cKey == 'A'
oApp:oGrid:aCols[3]:lHide := .t.
case cKey == 'T'
oApp:oGrid:aCols[3]:lHide := .t.
case cKey == 'G'
oApp:oGrid:aCols[3]:lHide := .f.
case cKey == 'S'
oApp:oGrid:aCols[3]:lHide := .f.
endcase
by Silvio
Sat Apr 25, 2009 7:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ToAntonio and all : simply Tab and Xbrowse
Replies: 6
Views: 1014

Re: ToAntonio and all : simply Tab and Xbrowse

Nages, ----------------------------------------------------------------------------- do case case cKey == 'A' oGrid:bitmap:lHide := .t. case cKey $ 'GS' oGrid:bitmap:lHide := .f. otherwise oGrid:bitmap:lHide := .f. endcase ---------------------------------------------------------------------------------- ...
by Silvio
Sat Apr 25, 2009 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ToAntonio and all : simply Tab and Xbrowse
Replies: 6
Views: 1014

... '_index.prg'... _index.prg(24) Error E0030 Syntax error: "syntax error at 'CNAME'" _index.prg(25) Error E0030 Syntax error: "syntax error at 'CKEY'" _index.prg(26) Error E0030 Syntax error: "syntax error at 'CFOR'" _index.prg(27) Error E0030 Syntax error: "syntax error at 'BKEY'" _index.prg(28) ...
by anserkk
Thu Oct 16, 2008 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create FiveH.Lib and FiveHx.Lib from C:\FWH\Source\Classes
Replies: 18
Views: 6678

Browsing generally

... } Note: You must define two public or static vars as follows: PUBLIC cArgume := "", nSeconds := SECONDS() */ FUNCTION DbSearch(nKey,oBrw) LOCAL cKey := UPPER( chr(nKey) ),; nRecno := RECNO(),; nLapso := SECONDS() - nSeconds,; cArgAnt cArgume := IF(nLapso > 1 .OR. nLapso < 0,"",cArgume) ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 66167

Problem with progress bar.

... "Cust_no", "! EMPTY(Cust_no)") }, "Sales Maintenance..." ) CLOSE DATABASES RETURN STATIC PROCEDURE CreateTag (oMeter, oText, oDlg, lEnd, cTagName, cKey, cCondition, lDescend) MEMVAR cKeyField, cForCond PRIVATE cKeyField, cForCond IF VALTYPE(lDescend) != "L" lDescend := .F. ENDIF cKeyField := cKey ...
by HunterEC
Mon Jul 07, 2008 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with progress bar.
Replies: 0
Views: 485

Rubén: Este es el PROCEDURE que uso, la verdad no recuerdo quien la puso en el foro :oops: , hace tanto tiempo de eso !. PROCEDURE Busca(cKey,oLbx,nLong) LOCAL nSeekRec := RECNO() DEFAULT nLong := 0 IF nLong > 0 cKey := STR(VAL(cKey),nLong,0) ENDIF IF GETASYNCKEY(VK_BACK) cKey := SUBSTR(cKey,1,LEN(cKey)-1) ...
by Armando
Tue Mar 04, 2008 11:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con Inkey y BKEYDOWN
Replies: 7
Views: 1880

Problemas con los índices.

... 2007'04 no daba problemas, al menos yo no los detecté. Ahora he actualizado a la versión 2008'01 y en esta función: OrdCreate( ::cFile, ::cName, ::cKey, ::bKey, ::lUniq ) el programa se rompe sin dejar rasto alguno !!! La DBF tiene el campo sobre el que se realizará el índice, los valores ue recibe ...
by FiveWiDi
Wed Jan 30, 2008 1:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con los índices.
Replies: 4
Views: 747

... ldbf := xrutemp+afiles[j,1] lntx := xrutemp+aindices[x,1] USE &ldbf index &lntx NEW ALIAS ALTEMP cnombre := substr(lntx,at('.',lntx)+1,3) ckey := indexkey() fwrite(wtexto,'I'+cnombre+' '+ckey+chr(13)+chr(10)) dbclosearea() next x fwrite(wtexto,'*'+chr(13)+chr(10)) next j *AGREGA LOS ARCHIVOS ...
by alex_cyr
Tue Dec 18, 2007 1:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con error !!
Replies: 6
Views: 1227
PreviousNext

Return to advanced search