Search found 182 matches: trap

Return to advanced search

Re: Fighting Xbrowse and lozing !!!

... There will be a reason for this..... but maybe we can consider a logical Var that toggles this beheavior ? For this specific browse, maybe I can trap the cursor key value and process it to only do a goleft... goright with no processing ? Just thinking, but not able to do it.
by Marc Venken
Fri Dec 30, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1569

Re: how to DEBUG FiveWin ?

Jimmy

Debug is a very handy tool to have .. you can debug also and trap values at runtime with Msginfo() .. you can easily evaluate memory variables, module tracing, etc ....

Rick Lipkin
by Rick Lipkin
Mon Jul 25, 2022 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to DEBUG FiveWin ?
Replies: 12
Views: 745

Re: Enhance errorsys.prg

Found it I think I can trap all e:SubCode errors that are not supported with FW-error, but FW-Errorsystem is still working right ? what is this doing ? : return Eval( bOldErrHandler, e ) Should I close all files, end object, fonts,.... ...
by Marc Venken
Mon Nov 29, 2021 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Enhance errorsys.prg
Replies: 8
Views: 820

Enhance errorsys.prg

... (b)BUILDMENU( 517 ) I want this error to have a better solution to close the program, but it is standard FW How can I use FW errorsys.prg and trap the errors that are not insite the errorsys.prg. Can I call a extra function for the missing errors ?
by Marc Venken
Mon Nov 29, 2021 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Enhance errorsys.prg
Replies: 8
Views: 820

Re: Capturar pulsación de tecla ESC en DIALOG

Don't know if this is what you are looking for ..

Code: Select all  Expand view

ACTIVATE DIALOG oDlg  ;
            VALID(!GETKEYSTATE( 27 ))
 


Very simple code to trap or exclude the ESC Key

Rick Lipkin
by Rick Lipkin
Mon Jul 19, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar pulsación de tecla ESC en DIALOG
Replies: 8
Views: 905

Using source on other .prgs

Hello Mod-harbourers; I have started using ModHarbour but so far not so much to build html pages but to trap webhooks. A webhook is a POST request sent to a page from services to notify or transmit certain data. There is something I still can't figure out about Modharbour. ...
by reinaldocrespo
Fri Jul 16, 2021 1:01 pm
 
Forum: mod_harbour
Topic: Using source on other .prgs
Replies: 3
Views: 480

Re: FW_ExceltoDbf version in FW 2102

... runtime error if the range in the exel file is not good defined. empty colums/rows are the cause, already mentioned in the forum. I would like to trap the error so that the program will popup a message that the range in the exel file should be better determent. Now should I do it in my own errorsys.prg ...
by Marc Venken
Wed Apr 07, 2021 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_ExceltoDbf version in FW 2102
Replies: 19
Views: 2569

Re: XBrowse: how to load image data instead of image name

... as subscript out of range. Ahh.. So the program executes the loop before we do the activate ? This can explane why i have spend time in order to trap errors and have been making workarounds :D :D
by Marc Venken
Tue Nov 03, 2020 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to load image data instead of image name
Replies: 17
Views: 1527

Re: xBrowse Trap Down Arrow key

Rick.
Got it.
Thanks for your kindly.
by FranciscoA
Wed Oct 21, 2020 9:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

Francisco

Enrico's solution is much better than mine .. I actually modified the xBrowse.prg code ..

Rick Lipkin
by Rick Lipkin
Wed Oct 21, 2020 8:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

Great! Enrico.
Thanks
by FranciscoA
Wed Oct 21, 2020 8:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

Here it is: #include "Fivewin.ch"FUNCTION MAIN()    LOCAL oDlg, oBrw    USE CUSTOMER    DEFINE DIALOG oDlg;           SIZE 800, 600    @ 0, 0 XBROWSE oBrw    oBrw:bChange = { || Test() }    oBrw:CreateFromCode()    ACTIVATE DIALOG oDlg;             ON INIT...
by Enrico Maria Giordano
Wed Oct 21, 2020 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

Enrico.
Can you post a litle sample?
Thanks
by FranciscoA
Wed Oct 21, 2020 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

I faced this problem this days and solved using bChange.

EMG
by Enrico Maria Giordano
Wed Oct 21, 2020 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961

Re: xBrowse Trap Down Arrow key

Hi Rick.
Do you resolved it?
Can share your solution?

Best regards.
by FranciscoA
Wed Oct 21, 2020 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Trap Down Arrow key
Replies: 8
Views: 961
Next

Return to advanced search