Search found 49 matches

by Maxz
Wed Mar 02, 2022 9:51 am
Forum: eXpress++ Support
Topic: dcbrowse - insert row (new record)
Replies: 7
Views: 3476

Re: dcbrowse - insert row (new record)

I solved the problem in this way, using DCBROWSE instead DCQUICKBROWSE (not recommended by Roger) : test1.zip - go to the bottom of the db - perform :forceStable() - redisplay all content of browse shifting up by 1 all values - clear current row - perform my GETs using new DCREAD loop - refresh all ...
by Maxz
Wed Mar 02, 2022 4:20 am
Forum: eXpress++ Support
Topic: DCBROWSE vs DCQUICKBROWSE
Replies: 4
Views: 2427

Re: DCBROWSE vs DCQUICKBROWSE

Tom
my only reason for using the quickbrowse was to simulate a panning upwards when inserting (virtual) a record at the bottom of the browse (see dcbrowse - insert row (new record) topic)

if I could get xbpbrowse to do the same thing then I would continue to use it
by Maxz
Wed Mar 02, 2022 3:15 am
Forum: eXpress++ Support
Topic: DCBROWSE vs DCQUICKBROWSE
Replies: 4
Views: 2427

Re: DCBROWSE vs DCQUICKBROWSE

Tom or has anyone else ever used xbpquickbrowse instead of xbpbrowse ? I would need to have confirmation that it is a topic to be abandoned ( because it works badly or has not been completed by alaska, or for other reasons) if instead someone thinks that the xbpquickbrowse works well exactly like th...
by Maxz
Tue Mar 01, 2022 1:56 pm
Forum: eXpress++ Support
Topic: DCBROWSE vs DCQUICKBROWSE
Replies: 4
Views: 2427

DCBROWSE vs DCQUICKBROWSE

2 side-by-side examples: bro_qbro.jpg on the left , a correctly displayed dcbrowse : @ 1,1 DCBROWSE oBrowse SIZE 95,18 ID "BROWSE" ; CURSORMODE XBPBRW_CURSOR_ROW ALIAS "DBCLIF" ; PRESENTATION { { XBP_PP_COL_HA_FGCLR, GRA_CLR_BLACK },; /// Header FG Color { XBP_PP_COL_HA_BGCLR, GRA_CLR_BACKGROUND },;...
by Maxz
Tue Mar 01, 2022 2:28 am
Forum: eXpress++ Support
Topic: dcbrowse - insert row (new record)
Replies: 7
Views: 3476

Re: dcbrowse - insert row (new record)

could I be of help using the quickbrowse (DCQUICKBROWSE) instead DCBROWSE? I could think of positioning myself on the last record of the database and then have a vertical pan up - another feature of xbpquickbrowse, correct ? I have to understand, however, how the pan function is carried out (\XPPW32...
by Maxz
Sun Feb 27, 2022 4:32 am
Forum: eXpress++ Support
Topic: dcbrowse - insert row (new record)
Replies: 7
Views: 3476

Re: dcbrowse - insert row (new record)

I started to experiment with the technique of inserting a new record and position myself at the bottom of the browse: //---------------- DBAPPEND() oBrowse:goBottom() oBrowse:forceStable() AEval( oBrowse:aColumns, {|o| o:DataArea:setCell( oBrowse:RowPos, NIL ) } ) // clear data ROW oBrowse:deHilite(...
by Maxz
Sun Feb 27, 2022 3:09 am
Forum: eXpress++ Support
Topic: DCBROWSE - row cursor on/off
Replies: 12
Views: 5863

Re: DCBROWSE - row cursor on/off

'unfortunately it does not work for me. could it be the version of Express (266) or xbase (1.9.355) ?
the row cursor stay fix

the cursor line remains painted ON where I pressed the OFF button
by Maxz
Fri Feb 25, 2022 8:33 am
Forum: eXpress++ Support
Topic: DCBROWSE - row cursor on/off
Replies: 12
Views: 5863

Re: DCBROWSE - row cursor on/off

tried it but the on/off switch mechanism seams not work for me
attach, a small example to play ...
temp.zip
(62.18 KiB) Downloaded 225 times
by Maxz
Fri Feb 25, 2022 8:03 am
Forum: eXpress++ Support
Topic: DCBROWSE - row cursor on/off
Replies: 12
Views: 5863

Re: DCBROWSE - row cursor on/off

I found the way to solve the problem, after so many attempts:

cursor row enabled:
oBrowse:hilite()
AEval( oBrowse:aColumns, {|o| o:Redraw() } )


cursor row disabled:
oBrowse:deHilite()
AEval( oBrowse:aColumns, {|o| o:Redraw() } )

:dance:
by Maxz
Fri Feb 25, 2022 5:11 am
Forum: eXpress++ Support
Topic: DCBROWSE - row cursor on/off
Replies: 12
Views: 5863

Re: DCBROWSE - row cursor on/off

<<msg to Roger>>
I looked at Roger's source (xbp_brw.prg) and I saw that the method that refreshes the line is PROTECTED
METHOD HiliteColumns // hilite the specified columns

I wanted to force the refresh of the line to turn it off but I do not know how to get around the problem
screen.jpg
screen.jpg (205.86 KiB) Viewed 3952 times