Search found 125 matches: gotfocus

Return to advanced search

Re: Another for Btnbmp

Silvio, Please include the file C:\FWH\source\classes\btnbmp.prg in your test program and then examine what the METHOD GotFocus( hCtlLost ) CLASS TBtnBmp does. You can then change the DrawFocusRect and the color. Best regards, Otto METHOD GotFocus( hCtlLost ) CLASS TBtnBmplocal ...
by Otto
Sat Mar 23, 2024 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4927

Re: Multiline Edit : Insert always on.

hi, what about GotFocus() / LostFocus() (WHEN / VALID ) :?: i do "switch" Numlock this Way under HMG    bGotFocus := {|| lOldKey:= SetNumLock() }   bLostFocus := {|| SetNumLock( lOldKey ) ...
by Jimmy
Sun Feb 12, 2023 5:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiline Edit : Insert always on.
Replies: 9
Views: 1165

Re: search for TTabControl() Sample

... 0 ) Called from: ../../../tobject.prg => TTABCONTROL:ADIALOGS( 0 ) Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW_GOTFOCUS( 3018 ) Called from: => AEVAL( 0 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:GOTFOCUS( 3018 ) Called from: => TWINDOW:HANDLEEVENT( ...
by Jimmy
Fri Oct 28, 2022 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: search for TTabControl() Sample
Replies: 23
Views: 912

search for TTabControl() Sample

hi, i´m searching for TAB Sample and found TTabControl() and TTabs() for TTabControl () i found c:\fwh\samples\testtctr.prg but Sample is limited to 10 lines ... :( --- as i remember SysTabControl is "just" Control for "Tabs" but have "no Body" in FiveWin Sample i can &...
by Jimmy
Fri Oct 28, 2022 7:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search for TTabControl() Sample
Replies: 23
Views: 912

Unrecoverable error 6005: Exception error

... from TWINDOW:HANDLEEVENT(0) Called from TDIALOG:HANDLEEVENT(1516) in FueAje\Five\Dialog.prg Called from CALLWINDOWPROC(0) Called from TMULTIGET:GOTFOCUS(849) in FueAje\Five\mget.prg Called from TWINDOW:HANDLEEVENT(0) Called from TMULTIGET:HANDLEEVENT(1427) in FueAje\Five\Control.prg Called from ...
by Antonio Mart.
Wed May 13, 2020 9:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Unrecoverable error 6005: Exception error
Replies: 5
Views: 504

Re: XBROWSE Border on cells

... 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( hCtlFocus ),; If( GetParent( hCtlFocus ) != ::hWnd, ::Super:Refresh( .f. ),) ) METHOD ...
by ukoenig
Fri Apr 12, 2019 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4121

Re: Infield Top Aligned Form Labels

... <nInClrDLine>] COLOR for BORDERBOTTOM when focused / not focused [<ldynamic: DYNAMIC>]; Allow change position of cInCaption when get gotfocus or lost focus [INALIGN <nInAlign>] Position for this get, relative to nPrevCtrl: default last [INPREVCTRL <nPrevCtrl>] Ctrl for ...
by cnavarro
Fri Nov 02, 2018 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Infield Top Aligned Form Labels
Replies: 34
Views: 9614

Setfocus problem

... using SetFocus but it jumps to the Exit button instead. (If I remove the second GET WHEN clause it will move to it but doesn't change to the gotfocus colours) TIA Peter #include "FWCE.ch"#include "vkey.ch"STATIC oWnd,oFont[3]STATIC oGetPass***********************FUNCTION ...
by reds
Thu Apr 26, 2018 5:00 pm
 
Forum: FiveWin for Pocket PC
Topic: Setfocus problem
Replies: 10
Views: 3445

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

This is my login program that I need but the CUEBANNER is disappear when Get[1]:GotFocus(). If I oGet[1]:setfocus(), CUEBANNER "User Id" will never show. For PASSWORD Clause is working well. For this sample, I setfocus to Exit button. https://s26.postimg.org/cskwewqc9/Login.png
by dutch
Wed Aug 30, 2017 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CUEBANNER is disappear when ::SetFocus() ?
Replies: 5
Views: 1489

CUEBANNER is disappear when ::SetFocus() ?

I've a question about CUEBANNER. When I use CUEBANNER on GET (Character), it will cuebanner text will disappear when ::gotfocus even I do not enter anything (still empty) but for PASSWORD not disappear if GET is empty. I try this sample, it doesn't show anything. #include 'fivewin.ch'function ...
by dutch
Wed Aug 30, 2017 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CUEBANNER is disappear when ::SetFocus() ?
Replies: 5
Views: 1489

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

... MULTIGET....  ....Set( _SET_INSERT, lSet)  This is right code. After leaving the multiget i change to old mode. I have also tested with ::gotfocus and ::lostfocus to Change the caret. Antonio, as the multiget cannot switch off the insert-mode, the caret should be always shown as block ...
by byte-one
Sun Aug 27, 2017 3:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make memo edit in dialog automatic selectnone?
Replies: 5
Views: 1000

Re: DBCOMBO Metodos GotFocus() y LostFocus()

Excelente Antonio! muchas gracias por la pronta ayuda, todo funcionando!
Saludos, Mariano
by mterraz
Tue Jan 10, 2017 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO Metodos GotFocus() y LostFocus()
Replies: 4
Views: 2294

Re: DBCOMBO Metodos GotFocus() y LostFocus()

Para poder usar bKeyChar tienes que realizar estos cambios en la Clase TDbCombo: METHOD KeyChar( nKey, nFlags) CLASS TDBCombo...   // ::Super:KeyChar(nKey, nFlags)   if ! Empty( ::bKeyChar )      Eval( ::bKeyChar, nKey )   endif &n...
by Antonio Linares
Tue Jan 10, 2017 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO Metodos GotFocus() y LostFocus()
Replies: 4
Views: 2294

Re: DBCOMBO Metodos GotFocus() y LostFocus()

Asi puedes saber cuando se selecciona un ítem con el ratón:

oDBC1:bChange = { | oDbc, cItem | MsgInfo( cItem ) }
by Antonio Linares
Tue Jan 10, 2017 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO Metodos GotFocus() y LostFocus()
Replies: 4
Views: 2294

Re: DBCOMBO Metodos GotFocus() y LostFocus()

Mariano, Modifica así el método LostFocus() de la Clase TDbCombo: METHOD LostFocus( hWndGetFocus ) CLASS TDBCombo   local nAt := ::SendMsg( CB_GETCURSEL )   if nAt != CB_ERR      ::nAt = nAt + 1      Eval( ::bSetGet, ::aItems[...
by Antonio Linares
Tue Jan 10, 2017 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO Metodos GotFocus() y LostFocus()
Replies: 4
Views: 2294
Next

Return to advanced search

cron