Search found 109 matches: varget

Return to advanced search

... COLOR CLR_BLACK, CLR_GETS oGet1:bValid := {|| !Empty(cvar1) } oGet1:bLostFocus:= {|| oGet1:Assign(), ; (oChatClient:cServerIP := Alltrim(oGet1:varGet())) } oGet2:bValid := {|| !Empty(cvar2) } oGet2:bLostFocus:= {|| oGet2:Assign(), ; (oChatClient:cUserName := Alltrim(oGet2:VarGet())) } REDEFINE ...
by norberto
Wed Sep 24, 2008 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCPIP Chat
Replies: 18
Views: 5368

AUTO SEARCH COMBOBOX - METHOD KeyChar

... ) ) == "N", AScan( ::aItems, uItem ), uItem ) ) if ::bChange != nil .and. ( nNewAT != nOldAt .and. nNewAt != 0 ) Eval( ::bChange, Self, ::VarGet() ) endif if nKey == VK_RETURN return ::oWnd:GoNextCtrl( ::hWnd ) endif return 0 // Must be 0 - We don't want API default behavior.
by MGA
Thu Aug 28, 2008 2:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AUTO SEARCH COMBOBOX - METHOD KeyChar
Replies: 1
Views: 533

Buttons and ButtonBmps

... OF oDlg; WHEN !EMPTY( cVar ) ACTIVATE DIALOG oDlg; CENTER RETURN NIL Try this instead: REDEFINE BUTTON oBtn ID 102 OF oDlg WHEN !empty(oGet:oGet:varget()) Note that there is a double oGet (because there is a Clipper get object inside the FW get object). I think you need to use this to get the ...
by Antonio Linares
Wed Aug 27, 2008 7:37 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65566

quique wrote:Prueba con
aArray[ 1 ] := oCtrl1:varGet()
aArray[ 2 ] := oCtrl2:varGet()

o con
aArray[ 1 ] := oCtrl1:cCaption
aArray[ 2 ] := oCtrl2:cCaption


Gracias quique, pero eso no funciona, sorry

Un saludo
Pedro
by Pedro
Mon Jun 02, 2008 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una pregunta de recursos
Replies: 17
Views: 3185

Prueba con
aArray[ 1 ] := oCtrl1:varGet()
aArray[ 2 ] := oCtrl2:varGet()

o con
aArray[ 1 ] := oCtrl1:cCaption
aArray[ 2 ] := oCtrl2:cCaption
by quique
Mon Jun 02, 2008 4:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una pregunta de recursos
Replies: 17
Views: 3185

Frances,

You could try this:

if AScan( oDialog:aControls, { | o | Upper( o:ClassName() ) == "TGET" .and. o:oGet:changed .and. ( o:oGet:VarGet() != o:oGet:Original ) } ) != 0

MsgInfo( "Gets changed" )

endif
by Antonio Linares
Sat May 17, 2008 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Objects in Dialog
Replies: 6
Views: 1085

... Reset() METHOD SetFocus() METHOD Undo() METHOD UnTransform( cBuffer ) METHOD UpdateBuffer() INLINE if( ::hasfocus, ( ::buffer := ::PutMask( ::VarGet() ), ::Display() ), ), Self METHOD VarGet() METHOD VarPut(xValue, lReFormat) METHOD End() #ifdef HB_COMPAT_XPP MESSAGE _End METHOD End() #endif ...
by zazibr
Thu Mar 13, 2008 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xharbour cvs + fivewin 8.01 = GPF ?
Replies: 9
Views: 4138

DATABASE O NO DATABASE,, nose si la clase o el RC da error

... Called from: DATABASE.PRG => TDATABASE:IDATENCIO(0) Called from: mdi8.prg => (b)MCSPSFGMENORES(111) Called from: tget.prg => TCLIPGET:VARGET(845) Called from: tget.prg => (b)GET:GET(131) Called from: tget.prg => TCLIPGET:UPDATEBUFFER(0) Called from: TGET.PRG => TBTNGET:LOSTFOCUS(0) ...
by mantonio_08
Mon Feb 11, 2008 1:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DATABASE O NO DATABASE,, nose si la clase o el RC da error
Replies: 1
Views: 1294

oGet:value() just calls oGet:VarGet() so you can use either one. METHOD Value() INLINE ::VarGet() VarGet() may be easier to remember since SAYs, GETs, Comoboxes, and RadioMenus all have a VarGet() method. This is polymorphism (same names ...
by James Bott
Sat Feb 02, 2008 9:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: All Var-Def's switching Outl2003Child<>Office2007Bar
Replies: 1
Views: 534

All Var-Def's switching Outl2003Child<>Office2007Bar

... in a Office2007-ButtonBar --------------------------------------------------------- GET = oGet:Value(), oGet:Refresh() SAY = oSay:Varget(), oSay:Refresh() RADIO = oRadio:nOption, oRadio:Refresh() CHECKBOX = oCheck:Varget(), oCheck::Refresh() SEND new Values from Office2007-ButtonBar ...
by ukoenig
Sat Feb 02, 2008 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: All Var-Def's switching Outl2003Child<>Office2007Bar
Replies: 1
Views: 534

Refresh vars in Office2007-Bar from MDI-Child ? => solved

... in a Office2007-ButtonBar --------------------------------------------------------- GET = oGet:Value(), oGet:Refresh() SAY = oSay:Varget(), oSay:Refresh() RADIO = oRadio:nOption, oRadio:Refresh() CHECKBOX = oCheck:Varget(), oCheck::Refresh() SEND new Values from Office2007-ButtonBar ...
by ukoenig
Fri Feb 01, 2008 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh vars in Office2007-Bar from MDI-Child ? => solved
Replies: 3
Views: 931

Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!

... How to get the Child-Values when Switching to Office2007-Bar !!!! ------------------------------------------- cGET = oGet:Value() cSAY = oSay:Varget() nRADIO = oRadio:nOption lCHECK = oCheck:Varget() ------------------------------------ It works, but is there maybe another way, to handle this ...
by ukoenig
Thu Jan 31, 2008 6:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!
Replies: 1
Views: 515

... can not modify the orginal value, but can modify the Get variable through VarPut. The postedit method calls the bOnPostEdit with whatever is the varget() ( in other words eval( oget:bsetget) ) at that time. So if we modify the value in valid clause, PostEdit method calls bOnPostEdit block with ...
by nageswaragunupudi
Wed Dec 26, 2007 4:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse online editing
Replies: 66
Views: 11882

msginfo( oget:varget() ) shows the entered value of 6. Also at that moment I see 6 in the edit cell in the browse also ( we refreshed the get just before).

But after the valid function returns, the cell in xbrowse is repainted with orginal value.
by nageswaragunupudi
Tue Dec 25, 2007 3:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse online editing
Replies: 66
Views: 11882

Nageswararao,

Please add this line and try it again:

oGet:varput( nnew )
oGet:refresh()
MsgInfo( oGet:VarGet() )
by Antonio Linares
Tue Dec 25, 2007 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse online editing
Replies: 66
Views: 11882
PreviousNext

Return to advanced search