Search found 384 matches: bgotfocus

Return to advanced search

Re: I'm not asking for the moon... Resolved!!

Resolved! Otto, no strtran !!! Cesar, No bgotfocus and blostfocus Jimmy, No "@9" picture Resolved !!! Only in my initial test was the statement missing: FWNumFormat( "E", .t. ) and the picture to put is "@E ###.##" ...
by Silvio.Falconi
Fri Jan 19, 2024 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2150

Re: I'm not asking for the moon...

Otto wrote:Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.

Yes but nvar Is text array but i have numbers no texts
by Silvio.Falconi
Thu Jan 18, 2024 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2150

Re: I'm not asking for the moon...

Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.
by Otto
Thu Jan 18, 2024 9:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2150

Re: View deleted records in xBrowse

Dear Tim,

you could use the xbrowse container window bGotFocus and bLostFocus to SET DELETED ON and OFF
by Antonio Linares
Wed Dec 14, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: View deleted records in xBrowse
Replies: 8
Views: 702

Re: Cursor position to last character in the line

thanks cnavarro,

oGet:bGotFocus := { || oGet:nPos := Len( oGet:GetText() ) + 1, oGet:SetPos( oGet:nPos ) }

where should I put on this control statement
by kkyung
Wed Nov 02, 2022 4:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cursor position to last character in the line
Replies: 4
Views: 257

Re: Ayuda con un Get

... PIXEL OF oDlg2   PICTURE "@!"   COLOR RGB(0,0,128), RGB(159,233,255)   FONT oFont16   UPDATE                 oGetz7:bGotFocus := {|| Can_Apl1 := space(30), oGetz7:Refresh() } ó oGetz7:bGotFocus := {|| oGetz7:cText := space(30), oGetz7:Refresh() ...
by remtec
Sun Sep 25, 2022 3:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un Get
Replies: 5
Views: 326

Re: Ayuda con un Get

... PIXEL OF oDlg2   PICTURE "@!"   COLOR RGB(0,0,128), RGB(159,233,255)   FONT oFont16   UPDATE                 oGetz7:bGotFocus := {|| Can_Apl1 := space(30), oGetz7:Refresh() } ó oGetz7:bGotFocus := {|| oGetz7:cText := space(30), oGetz7:Refresh()
by FranciscoA
Sun Sep 25, 2022 3:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un Get
Replies: 5
Views: 326

Re: Clipboard question

Robert, Please modify this line this way: oSegment:bGotFocus := { |oClp| ColToString() } // We don't provide oClp as a param, which it is a TGet object to function ColToString() that way, oClp will arrive as a nil to function ColToString() and there ...
by Antonio Linares
Thu Jan 20, 2022 6:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard question
Replies: 1
Views: 162

Re: Focus error on this new project

... : Ribbon2 that I used as start sample Maybe not needed )) //-------------------------------------------------------------- // oFld:aDialogs[ 1 ]:bGotfocus := {|| msginfo( "Hier Folder" ) } Testing rule to see if anything would happen when I click on folder1 (but is didn't) //-------------------------------------------------------------- ...
by Marc Venken
Thu Dec 09, 2021 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1162

Re: Marc : Conversion process and questions about it

... persons, orders, ...) folders AND Xbrowse for each. These are the line I'm not sure off that I use or place them at the right position   :bgotfocus     := { || oBrw[5]:maketotals(),set_factdet()} // Set_factdet = calling the filterfunction    oBrw[5]:bChange := { |oBrw, uOlddata | set_factdet() ...
by Marc Venken
Wed Dec 30, 2020 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 3500

Qué se ejecuta al cerrar una ventana MDI - BOTONES W10

... y quiero actualizar la barra de botones de la ventana que recibe el foco, no sé que se ejecuta. He probado con llamar la función asi : oWnd:bGotFocus:= { ||  DbSelectArea(xAreaProveedor), Actualiza_barra_2020()  }  Desgraciadamente no se ejecuta cuando la ventana ...
by JESUS MARIN
Wed Nov 11, 2020 7:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué se ejecuta al cerrar una ventana MDI - BOTONES W10
Replies: 4
Views: 564

Re: XBrowse and nomodal dialogs

Yes, I'm sure of that because the aliases are generated by the program. So, what do you suggest for switching the workarea on focus change? Please note that bGotFocus seems not to be enough.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1693

Re: XBrowse and nomodal dialogs

Sorry, it doesn't solve the problem. There are some codeblocks in XBrowse that are evaluated before bPainted and bGotFocus, so before workarea setting.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1693

Re: XBrowse and nomodal dialogs

Yes, same problem. oDlg:bGotFocus doesn't start at all.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1693

Re: XBrowse and nomodal dialogs

Enrico, have you tried with oDlg:bGotFocus = { || dbSelectArea( "dbffile" )} .
Best regards
Otto
by Otto
Fri Oct 09, 2020 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1693
Next

Return to advanced search