Search found 384 matches: bgotfocus

Return to advanced search

No se ejecuta bGotFocus a la primera

Hola amigos : Este codigo de abajo, cuando llega normalmente a su get no se ejecuta el bGotfocus , solo se ejecuta si posteriormente pulso Enter y me situo en el Get REDEFINE GET oNormal VAR nNormal ID 104 OF oDlg PICTURE "99,999.99" UPDATEoNormal:bGotFocus ...
by jvtecheto
Tue Aug 13, 2019 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No se ejecuta bGotFocus a la primera
Replies: 9
Views: 1157

Re: Un Sencillo Problema de GET

Hola,
quizás te pueda ayudar.

oGet:bGotFocus = { || oGet:SetPos( 0 ) }

Saludos
by D.Fernandez
Thu May 02, 2019 1:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un Sencillo Problema de GET
Replies: 3
Views: 703

Re: XBROWSE Border on cells

... and lost-focus of the cell to draw or delete the border. Painting and deleting cell-borders is working :!: . for a selected cell something like: :bGotfocus := {|nRow, nCol|... :bLostfocus := {|nRow, nCol|... or is it possible to use : METHOD GotFocus( hCtlFocus ) INLINE ( ::oActive := Self, ::Super:GotFocus( ...
by ukoenig
Fri Apr 12, 2019 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4335

Re: Question to TRBtn

Günther,

Please try this:

oRBtn:bGotFocus = { || MsgBeep() }

and let me know if it beeps
by Antonio Linares
Thu Dec 20, 2018 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question to TRBtn
Replies: 8
Views: 1240

Re: tres Listbox, en un dialogo como saber quien tiene el foco

Lubin
Seguramente tampoco me expliqué bien yo

En cada control, asigna en su bGotFocus a una variable un valor que luego evalúas en el ACTION del botón

oLbx1:bGotFocus := { || nMivariable := 1 }

también te serviría igual en el bLostFocus
by cnavarro
Wed Jul 11, 2018 3:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tres Listbox, en un dialogo como saber quien tiene el foco
Replies: 4
Views: 909

Re: tres Listbox, en un dialogo como saber quien tiene el foco

Puedes intentar cambiar el color, por ejemplo, definiendo el bGotFocus de los listbox, si es visualmente a lo que te refieres.
Tambien tienes la DATA :HasFocus de los objetos
by cnavarro
Tue Jul 10, 2018 10:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tres Listbox, en un dialogo como saber quien tiene el foco
Replies: 4
Views: 909

Re: Color del GET cuando tiene el foco

Recibe el Focus

oGet:bGotFocus :={|| oGet:SetColor(nRGB( 0, 64, 64),nRGB(132,215,254)), oGet:Refresh() }

Pierde el Focus

oGet:bLostFocus:={|| oGet:SetColor(nRGB( 0,128,255),nRGB(255,255,225)), oGet:Refresh() }
by armando.lagunas
Wed Jul 04, 2018 6:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Color del GET cuando tiene el foco
Replies: 9
Views: 1652

Re: Update a RICHEDIT position without focusing

Saves the position when the focus is lost ( bLostFocus ), and restores the position when acquiring the focus ( bGotFocus )
by cnavarro
Tue May 29, 2018 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Update a RICHEDIT position without focusing
Replies: 5
Views: 902

Re: Problem with Get in RibbonBar

Marzio,

Add a DATA nPos to oEvent or a DATA Cargo and keep an array there for each GET

oEvent:bRefresh = { || oGet:Assign(), oEvent:nPos := oGet:nPos }

oGet:bGotFocus = { || oGet:SetPos( oEvent:nPos ) }
by Antonio Linares
Thu May 03, 2018 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Get in RibbonBar
Replies: 13
Views: 2277

Re: GET sin longitud con espacios blancos

bGotFocus, hace el cambio de fuente correctamente oEdit: bGotFocus : = { | o | o: SetColor ( CLR_HRED, CLR_YELLOW ) } Ahora bien, bLostFocus bien si se sale del Edit con teclado <Tab>, pero no surte efecto si se hace ...
by Xevi
Tue Dec 19, 2017 2:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GET sin longitud con espacios blancos
Replies: 16
Views: 2813

Re: DTPICKER

goosfancito,

tente:

obj:bGotFocus :={|| ... }
by MGA
Mon Nov 20, 2017 10:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DTPICKER
Replies: 2
Views: 582

Re: CUEBANNER is disappear when ::SetFocus() ?

... Thanks a lot. A little more, Can I make another TSAY:Hide() when cUser is empty. Then TSAY:Show() when cUser is not empty. I try ::bKeyDown(), ::bGotFocus() but it doesn't work. https://s26.postimg.org/udblqvgnt/Login.png Please wait for FWH 17.08 I know you use FW_SetUnicode( ...
by dutch
Sun Sep 17, 2017 5:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CUEBANNER is disappear when ::SetFocus() ?
Replies: 5
Views: 1523

Re: How to make memo edit in dialog automatic selectnone?

Thanks,
This line was enough for my purposes.
oGet1:bGotFocus = { || oGet1:SetSel( 0, 0 ) }
by Gale FORd
Thu Aug 24, 2017 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make memo edit in dialog automatic selectnone?
Replies: 5
Views: 1024

Re: Possible to run 2 browser synchronously ? ( Test-download )

... } :bRecSelHeader := { |brw| "No." } :bRecSelFooter := { |brw| brw:nLen } :nRecSelWidth := 50 END oBrw1:lColChangeNotify := .t. oBrw1:bGotFocus := { || SyncBrowses( oBrw1, oBrw2 ) } oBrw1:bChange := { || If( oBrw1:lFocused, SyncBrowses( oBrw1, oBrw2 ), nil ) } oBrw2:lColChangeNotify ...
by ukoenig
Sat Jul 29, 2017 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to run 2 or 3 browser synchronously ?
Replies: 10
Views: 3119
PreviousNext

Return to advanced search