Search found 16 matches: disptext

Return to advanced search

Re: GET like facebook's search.

Antonio, I resolved this question. I'm using the CUEBANNER instruction. I also changed the "DispText" method of the TGet class. Antonio see as it was and if you approve. (sorry for my english) METHOD DispText() CLASS MyGet if ::lPassword .and. ::oGet:Type == "C" ...
by emotta_no
Thu Aug 22, 2013 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET like facebook's search.
Replies: 1
Views: 580

... XP con apariencia win98. La solución ha sido la aportada por Karinha (modificar TGet), pero cambiando la estrellita por chr(149) tambien: METHOD DispText() CLASS TGet if ::lPassword .and. ::oGet:Type == "C" #ifdef __CLIPPER__ SetWindowText( ::hWnd, Replicate( "*", Len( Trim ( ::oGet:buffer ) ...
by karinha
Wed Feb 27, 2008 4:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GET Y PASSWORD
Replies: 6
Views: 1133

... XP con apariencia win98. La solución ha sido la aportada por Karinha (modificar TGet), pero cambiando la estrellita por chr(149) tambien: METHOD DispText() CLASS TGet if ::lPassword .and. ::oGet:Type == "C" #ifdef __CLIPPER__ SetWindowText( ::hWnd, Replicate( "*", Len( Trim ( ::oGet:buffer ) ...
by Manuel Valdenebro
Wed Feb 27, 2008 6:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: GET Y PASSWORD
Replies: 6
Views: 1133

Patrick,

In METHOD DispText() CLASS TGet there is a call to SetWindowText(). You can try a LTrim() there:

SetWindowText( ::hWnd, LTrim( ::oGet:buffer ) )

but the caret position should be tested to see if it matches the right location
by Antonio Linares
Tue Apr 17, 2007 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Picture in GET problem
Replies: 12
Views: 3421

... tiempo y lo solucione gracias a LKM, añadiendo una línea en TGET en el Method EditUpdate(): METHOD EditUpdate() CLASS TGet if ::oGet:HasFocus ::DispText() ::oGet:Assign() //LKM actualiza buffer actual endif ::SetPos( ::oGet:Pos ) return nil
by Manuel Valdenebro
Sat Feb 17, 2007 12:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la clase GET
Replies: 2
Views: 941

... tiempo y lo solucione gracias a LKM, añadiendo una línea en TGET en el Method EditUpdate(): METHOD EditUpdate() CLASS TGet if ::oGet:HasFocus ::DispText() ::oGet:Assign() //LKM actualiza buffer actual endif ::SetPos( ::oGet:Pos ) return nil
by Marcelo Via Giglio
Thu May 18, 2006 9:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar un SAY al estar modificando un GET
Replies: 8
Views: 1903

... tiempo y lo solucione gracias a LKM, añadiendo una línea en TGET en el Method EditUpdate(): METHOD EditUpdate() CLASS TGet if ::oGet:HasFocus ::DispText() ::oGet:Assign() //LKM actualiza buffer actual endif ::SetPos( ::oGet:Pos ) return nil
by Manuel Valdenebro
Fri May 12, 2006 5:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar un SAY al estar modificando un GET
Replies: 8
Views: 1903

... GETDELSEL CODE 000A:4EF0 0009EH COPY CODE 000A:4F8E 0009EH COPY CODE 000A:502C 001AFH PASTE CODE 000A:51DC 0009AH PASTE CODE 000A:5276 0008CH DISPTEXT CODE 000A:5302 000D8H KEYUP CODE 000A:53DA 000B8H SELFILE CODE 000A:5492 00099H _SETPOS CODE 000A:552C 0014CH CUT CODE 000A:5678 000A7H CUT ...
by Connan
Fri Mar 03, 2006 10:28 am
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3529

GPF, como buscar el Error

... GETDELSEL CODE 000A:4EF0 0009EH COPY CODE 000A:4F8E 0009EH COPY CODE 000A:502C 001AFH PASTE CODE 000A:51DC 0009AH PASTE CODE 000A:5276 0008CH DISPTEXT CODE 000A:5302 000D8H KEYUP CODE 000A:53DA 000B8H SELFILE CODE 000A:5492 00099H _SETPOS CODE 000A:552C 0014CH CUT CODE 000A:5678 000A7H CUT ...
by Connan
Tue Feb 28, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3529

... buffer was always in sync with FW/FWH's. That could be an alternate fix for this problem: METHOD EditUpdate() CLASS TGet if ::oGet:HasFocus ::DispText() ::oGet:Assign() // lkm endif ::SetPos( ::oGet:Pos ) Return Self This is a fix: METHOD lValid() CLASS TGet local lRet := .t. ...
by Luis Krause
Mon Feb 20, 2006 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in TButton
Replies: 8
Views: 1780

... ... IF <CondicionValidez> oGet[1]:SetColor(ColorTxt_Valido,ColorBack_Valido) oGet[1]:lReadOnly := .T. <---- Similar a Enable() oGet[1]:DispText() ELSE oGet[1]:SetColor(ColorTxt_NOValido,ColorBack_NOValido) oGet[1]:lReadOnly := .F. <----- Similar a Disable() oGet[1]:DispText() ENDIF ...
by lubin
Mon Jan 09, 2006 2:52 am
 
Forum: FiveWin para CA-Clipper
Topic: Cambiar color al Get Deshabilitado
Replies: 8
Views: 2512

... ... IF <CondicionValidez> oGet[1]:SetColor(ColorTxt_Valido,ColorBack_Valido) oGet[1]:lReadOnly := .T. <---- Similar a Enable() oGet[1]:DispText() ELSE oGet[1]:SetColor(ColorTxt_NOValido,ColorBack_NOValido) oGet[1]:lReadOnly := .F. <----- Similar a Disable() oGet[1]:DispText() ENDIF ...
by manuramos
Fri Jan 06, 2006 7:10 pm
 
Forum: FiveWin para CA-Clipper
Topic: Cambiar color al Get Deshabilitado
Replies: 8
Views: 2512

Re: Color de un oGet

... := StrTran( ::cPicture, ",", "" ) endif if ! ::lDrag ::oGet:KillFocus() // to properly initialize internal status ::oGet:SetFocus() ::DispText() if ::oGet:type$"DN" ::nPos := 1 endif ::oGet:Pos = ::nPos ::SetPos( ::nPos ) CallWindowProc( ::nOldProc, ::hWnd, WM_SETFOCUS ) if Set( _SET_INSERT ...
by lubin
Fri Jan 06, 2006 4:50 pm
 
Forum: FiveWin para CA-Clipper
Topic: Color de un oGet
Replies: 2
Views: 1368

Error de Proteccion General.

... CODE 0009:2B70 0081BH TGET CODE 0009:338C 00058H EDITUPDATE CODE 0009:33E4 0004CH GETSELPOS CODE 0009:3430 000BBH GETDELSEL CODE 0009:34EC 0008CH DISPTEXT CODE 0009:3578 000D8H KEYUP CODE 0009:3650 000EFH INC CODE 0009:3740 000EFH DEC CODE 0009:3830 0011FH SPINNER CODE 0009:3950 00166H SPINNER ...
by Garbi
Wed Nov 02, 2005 3:38 pm
 
Forum: FiveWin para CA-Clipper
Topic: Error de Proteccion General.
Replies: 5
Views: 4149

... .and. ; ( ::oGet:changed .or. ::oGet:unTransform() <> ::oGet:original ) ::oGet:Assign() // for adjust numbers ::oGet:UpdateBuffer() endif ::DispText() if ! ::oGet:BadDate ::oGet:KillFocus() else ::oGet:Pos = 1 ::nPos = 1 #ifndef __CLIPPER__ ::oGet:TypeOut = .f. #endif endif ::SetColor() ...
by Manuel Aranda
Thu Oct 20, 2005 9:02 pm
 
Forum: FiveWin para CA-Clipper
Topic: FRANCISCO CARRASCO
Replies: 9
Views: 4401
Next

Return to advanced search