Search found 109 matches: varget

Return to advanced search

Re: Simulate BackSpace on a Get

Silvio, I think the error is caused for this:

The code You show is: len(rtrim(oGet:oGet:varGet())-1)
I think the correct way is: len( rtrim(oGet:oGet:varGet()) )-1
Regards.
by FranciscoA
Mon May 06, 2013 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate BackSpace on a Get resolved !!
Replies: 16
Views: 3506

Re: Simulate BackSpace on a Get

@ 1.3,1 BUTTON oBtn PROMPT "<-" OF oDlg ACTION(oGet:oGet:varPut(left(oGet:oGet:varGet(),len(rtrim(oGet:oGet:varGet())-1)))) FONT oFont SIZE 38,10 You left out the oGet:refresh(). @ 1.3,1 BUTTON oBtn PROMPT "<-" OF oDlg ACTION(oGet:oGet:varPut(left(oGet:oGet:varGet(),len(rtrim(oGet:oGet:varGet())-1)))) ...
by James Bott
Mon May 06, 2013 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate BackSpace on a Get resolved !!
Replies: 16
Views: 3506

Re: Simulate BackSpace on a Get

I made a button "<-" command with the ACTION ACTION (oGet:oGet:varPut(left(oGet:oGet:varGet(),len(rtrim(oGet:oGet:varGet())-1)))) I have a Get oGet and a GEt oRes if you see msgcalc() function perhaps you understand I put thi command insteas of btnpaste button ...
by Silvio.Falconi
Mon May 06, 2013 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate BackSpace on a Get resolved !!
Replies: 16
Views: 3506

Re: Simulate BackSpace on a Get

Maybe something like:

oGet:oGet:varPut(left(oGet:oGet:varGet(),len(rtrim(oGet:oGet:varGet())-1)))

Note that FW's TGet class contains an oGet object thus the syntax oGet:oGet.

Regards,
James
by James Bott
Sun May 05, 2013 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate BackSpace on a Get resolved !!
Replies: 16
Views: 3506

New FTDN April/Abril 2013 (FWH 13.04)

... IsColorPrinter(), thanks to Günther: http://forums.fivetechsupport.com/viewtopic.php?p=142409#p142409 * Fix: Class TComboBox Method Set() and VarGet() were not considering if an editable ComboBox was being used: http://forums.fivetechsupport.com/viewtopic.php?p=142457#p142457 * New: function ...
by Antonio Linares
Wed May 01, 2013 6:21 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2013 (FWH 13.04)
Replies: 2
Views: 3498

Re: different column color

... 70 PIXELS ; COLOR If( Stok->BAKIYE < 0, CLR_RED, CLR_BLACK), {||CLR_GREEN } ; MESSAGE "Enter a negative number" ; VALID {|o| o:varGet() >= 0} ; ERROR MESSAGE "Value must be"+CRLF+"positive or 0" Best Regards Uwe :lol:
by ukoenig
Fri Apr 12, 2013 2:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different column color
Replies: 7
Views: 1351

oget:bKeyChar

... friends, In the first get oget1: If I press "/" the cursor must jump to the next object without KV_TAB pressed ( or VK_RETURN ) and oget:varget ==>>>> "/ " Please need help! marco #include "fivewin.ch"FUNCTION MAIN() LOCAL oDlg LOCAL oGet1 , cGet1 ...
by MarcoBoschi
Tue Feb 07, 2012 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oget:bKeyChar
Replies: 2
Views: 420

Re: non-standard behavior

... GET >2. I don't understand what you mean here. What is the problem ? If I click in a GET cursor position has to be adapted to the ALLTRIM( oget:varget() ) that ias at the end of the last character >3. Here it is working fine. I select the two lines of your example and then paste them in UEStudio ...
by MarcoBoschi
Thu Dec 15, 2011 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: non-standard behavior
Replies: 15
Views: 2671

Re: Volviendo al tema CDO

... Static Function fAddAttach( oGet ) Local cFile, ; cAttach := oGet:VarGet() cFile := cGetFile( "*.*", "Selecciona el archivo" ) If ! Empty( cFile ) cAttach := Lower( PadR( AllTrim( cAttach ) + If( ...
by Armando Picon
Fri Nov 04, 2011 2:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Volviendo al tema CDO
Replies: 19
Views: 6360

Parametros a pasar al codeblock

... a los DATA y METHOD de la clase. Sin embargo si se trata de minimizar código, yo haría algo genérico como esto:      Eval( ::bCodeBlock>, ::VarGet(), Self, ::oWnd, <uparam..>, <Uparam..> )  - Coloco primero VarGet(), porque normalmente es con lo que mas se trabaja ...
by RSalazarU
Mon Oct 10, 2011 1:13 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Parametros a pasar al codeblock
Replies: 0
Views: 1043

Re: New FTDN August/Agosto 2011 (FWH 11.08)

... work for character fields only. The feature will be extended to other data sources gradually. Sample: \fwh\samples\xbincflt.prg (b) New methods VarGet() and VarPut(x) in TXBrwColumn class. VarGet() is equivalent to oCol:Value. VarPut(x) assigns new value to the cell as if a value is entered ...
by Antonio Linares
Wed Aug 31, 2011 10:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2011 (FWH 11.08)
Replies: 2
Views: 2997

New FTDN August/Agosto 2011 (FWH 11.08)

... work for character fields only. The feature will be extended to other data sources gradually. Sample: \fwh\samples\xbincflt.prg (b) New methods VarGet() and VarPut(x) in TXBrwColumn class. VarGet() is equivalent to oCol:Value. VarPut(x) assigns new value to the cell as if a value is entered ...
by Antonio Linares
Tue Aug 30, 2011 7:00 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2011 (FWH 11.08)
Replies: 2
Views: 2997

Re: Cómo controlar controles en un dialogo...

... VAR cTipuConc ITEMS ArTipConLit( AMPAarra ) SIZE ; 430,500 OF oConcep01 ON CHANGE ( oTDbfConcep:TipuConc := nSetTipuConc(AMPAarra, ; oTipuConc:VarGet() ), If( ("/" + Str(oTDbfConcep:TipuConc,2,0) + "/" ) $ ; "/10/11/12/13/", nCostat := 1, nCostat := nCostatori ...
by FiveWiDi
Thu May 19, 2011 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo controlar controles en un dialogo...(SOLUCIONADO)
Replies: 5
Views: 1412

TSBROWSE - Manuel Mercado - METHOD TSBrowse:EditExit()

... ::cMsg ) cMsg := If( Valtype( cMsg ) == "B", Eval( cMsg, Self, ::nCell ), cMsg ) ::SetMsg( cMsg ) Return Nil EndIf uValue := oCol:oEdit:VarGet() If oCol:bCustomEdit != Nil uValue := Eval( oCol:bCustomEdit, uValue, oCol:oEdit, Self ) EndIf If ::lAppendMode .and. Empty( oCol:oEdit:VarGet() ...
by MGA
Fri Apr 08, 2011 6:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - Manuel Mercado - METHOD TSBrowse:EditExit()
Replies: 0
Views: 637

Memo problem

... "&Close"; ACTION oDlg:End() @ 3, 8.5 BUTTON "&Date"; ACTION ( oGet:LostFocus(), ; oGet:SetFocus(), ; cTemp := oGet:varGet(), ; cStr := dtoc(date())+' '+Time()+' ', ; oGet:varPut( substr( cTemp, 1, oGet:nPos) + cStr + substr(cTemp, oGet:nPos) ), ; oGet:Refresh(), ...
by Randal
Thu Dec 09, 2010 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memo problem
Replies: 1
Views: 559
PreviousNext

Return to advanced search