Search found 21 matches: traps

Return to advanced search

Re: TDatabase Class

... is evaluating cLname1 := alltrim( oLName1:GetText() ) As you type in the Name field .. the On Change clause calls iSearch() .. and the GetText() traps the key strokes ... then based on Case 2 oRsCust:Filter := "[CustomerName] like '"+cLname1+"%'" The above filter condition ...
by Rick Lipkin
Wed May 19, 2021 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2077

Re: TGET behavior (Antonio)

... ID 148 of oGRPS UPDATE //COLOR CLR_BLACK, 16053492 READONLY  In the above code .. tget is evaluating the bKeydown code block and traps the <enter> key .. thereby blocking the navigation to the next field .. I believe the above code was inspired my Antonio .. I mention oJump ...
by Rick Lipkin
Mon Jan 14, 2019 4:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGET behavior (Antonio)
Replies: 7
Views: 1285

Re: oJump for Antonio

... VAR cPositionAbbr ID 148 of oGRPS UPDATE //COLOR CLR_BLACK, 16053492 READONLY  In the above code .. tget is evaluating the bKeydown code block and traps the <enter> key .. thereby blocking the navigation to the next field .. I believe the above code was inspired my Antonio .. I mention oJump ...
by Rick Lipkin
Mon Jan 14, 2019 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oJump for Antonio
Replies: 1
Views: 552

Re: Ribbon Bar Sample ?

... to it while it is open on the first, and sometimes the system minimizes the programs, and they open up another copy of the program. I have built traps for all of the issues I have encountered. You can only open the program once. It checks date/time stamps before saving an invoice, etc. They don't ...
by TimStone
Fri Oct 26, 2018 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Bar Sample ?
Replies: 13
Views: 2669

Re: Bcc7 and Fivewin Crash

Richard,

Harbour traps the Windows GPFs but this is not possible on all GPFs circunstances.

It is a Windows limitation
by Antonio Linares
Mon Jan 04, 2016 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bcc7 and Fivewin Crash
Replies: 5
Views: 938

xBrowse Trap Down Arrow key

To All

I am trying to trap the down arrow key in an xBrowse .. and this does not work

oLbxB:bKeyDown := { |nKey| MsgInfo(nKey) }

It traps 'Enter', "Insert' .. any ideas ?

Thanks
Rick Lipkin
by Rick Lipkin
Thu Apr 30, 2015 9:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: How to receive events from objects?

Jose Yes the bonevent block traps all the events Now for Harbour , Antonio has extended the activex class, i am using thactivex (this is a sample below) ::oCalex := thActiveX():New( ::oPanelCalex, "Codejock.CalendarControl.15.0.2" ...
by Richard Chidiak
Fri Jun 13, 2014 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8945

Re: dialog dbcombo looping

Bruce, I use the "traps for invalid data" because an empty selection always seems to come along with a combobox, which I don't want. I would just display zero when there is a blank combo (or both combos are blank). Users can ...
by James Bott
Fri Jan 25, 2013 6:07 pm
 
Forum: FiveWin for CA-Clipper
Topic: dialog dbcombo looping
Replies: 3
Views: 2451

Re: dialog dbcombo looping

James,
Appreciate your comments on my threads circa Jan 5/13.
Any input helps this work in progress.

I use the "traps for invalid data" because an empty selection always seems to come along with a combobox, which I don't want.

Bruce S.
by brewster
Fri Jan 25, 2013 1:18 pm
 
Forum: FiveWin for CA-Clipper
Topic: dialog dbcombo looping
Replies: 3
Views: 2451

Re: dialog dbcombo looping

... an application. If this dialog is the entire application then "Exit" would be the proper term. I don't see why you would need any traps for missing or invalid data since you are using a combobox. The only data that can be in the vars is valid data from the databases. Regards, James
by James Bott
Sun Jan 06, 2013 1:11 am
 
Forum: FiveWin for CA-Clipper
Topic: dialog dbcombo looping
Replies: 3
Views: 2451

Re: Difference xBrowse ::KeyDown and ::KeyChar

Antonio,

it seems, bKeyDown() traps the most keys I need, bKeyChar does not recognize if two keys are pressed (e.g. ctrl p), it traps only the first key.

Thanks
by StefanHaupt
Wed Jul 04, 2012 7:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Difference xBrowse ::KeyDown and ::KeyChar
Replies: 3
Views: 893

Re: Prototype missing?

... HBVM library is different for MT mode and all others are the same. Such separation also greatly increase C code quality eliminating possible GPF traps, wrong behavior in code created without enough knowledge about HVM internals or code which blocks adding new extensions. It's sth what should ...
by carlos vargas
Sun Oct 02, 2011 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Prototype missing?
Replies: 35
Views: 8036

Re: Trapping CTRL-T ?

... Subject: Re: Alt key Date: Friday, July 04, 2003 5:14 AM Willy Hermans wrote: > > Is there no function that traps this key like the ctrl key. GetKeyState() works perfectly for ALT key. Try this: #include "Fivewin.ch" FUNCTION MAIN() LOCAL oDlg LOCAL ...
by James Bott
Tue Sep 20, 2011 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping CTRL-T ?
Replies: 1
Views: 628

Re: dbskipper intermitent error

... somewhere in my app, it does not show on the active databases in the error.log Nevertheless i am puzzled how we get to the error and why all the traps did not work, so i have some questions : in setrdd() function , this line got executed ::bGoTop := {|| ( ::cAlias )->( DbGoTop() ) },; while ...
by Richard Chidiak
Wed Oct 14, 2009 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbskipper intermitent error
Replies: 46
Views: 9702

Re: dbskipper intermitent error

James

There is an alias in my browse definition

It looks like , somewhere, xbrowse is losing the alias

This is why i am using all these traps

The code is big, i can show it no problem , i am not sure it will help

Richard
by Richard Chidiak
Tue Oct 13, 2009 7:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbskipper intermitent error
Replies: 46
Views: 9702
Next

Return to advanced search