DCBROWSE vs DCQUICKBROWSE

This forum is for eXpress++ general support.
Post Reply
Message
Author
Maxz
Posts: 49
Joined: Sun Jan 09, 2022 12:11 pm

DCBROWSE vs DCQUICKBROWSE

#1 Post by Maxz »

2 side-by-side examples:
bro_qbro.jpg
bro_qbro.jpg (160.34 KiB) Viewed 2440 times
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 },; /// Header BG Color
{ XBP_PP_COL_FA_FGCLR, GRA_CLR_YELLOW },; /// Footer FG Color
{ XBP_PP_COL_FA_BGCLR, GRA_CLR_DARKGRAY },; /// Footer BG Color
{ XBP_PP_COL_DA_CELLHEIGHT, 20 }} ; /// Cell Height
NOSIZECOLS

DCBROWSECOL FIELD DBCLIF->FIELD_4 Header "field4" WIDTH 30 PARENT oBrowse OBJECT oColumn
DCBROWSECOL FIELD DBCLIF->FIELD_1 Header "field1" WIDTH 5 PARENT oBrowse
DCBROWSECOL FIELD DBCLIF->FIELD_3 Header "field3" WIDTH 10 PARENT oBrowse
DCBROWSECOL FIELD DBCLIF->FIELD_2 Header "field2" WIDTH 15 PARENT oBrowse

on the right a quickbrowse that for a tenth of a second displays the columns with the same width as the dcbrowse and then narrows:

@ 1,1 DCQUICKBROWSE OBJECT oBrowse SIZE 95,18 ID "BROWSE" ;
CURSORMODE XBPBRW_CURSOR_ROW ALIAS "DBCLIF"

DCBROWSECOL FIELD DBCLIF->FIELD_4 Header "field4" WIDTH 30 PARENT oBrowse OBJECT oColumn
DCBROWSECOL FIELD DBCLIF->FIELD_1 Header "field1" WIDTH 5 PARENT oBrowse
DCBROWSECOL FIELD DBCLIF->FIELD_3 Header "field3" WIDTH 10 PARENT oBrowse
DCBROWSECOL FIELD DBCLIF->FIELD_2 Header "field2" WIDTH 15 PARENT oBrowse

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCBROWSE vs DCQUICKBROWSE

#2 Post by rdonnay »

I don't know anyone who uses DCQUICKBROWSE.

It is so much weaker in capability that it was not possible to add all the features that I added to DCBROWSE.
The eXpress train is coming - and it has more cars.

Maxz
Posts: 49
Joined: Sun Jan 09, 2022 12:11 pm

Re: DCBROWSE vs DCQUICKBROWSE

#3 Post by Maxz »

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 the xbpbrowse then I could go ahead with my operating experiments

I really appreciate your ideas and suggestions

User avatar
Tom
Posts: 1173
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DCBROWSE vs DCQUICKBROWSE

#4 Post by Tom »

Tom or has anyone else ever used xbpquickbrowse instead of xbpbrowse ?
I just found 1 (one) DCQUICKBROWSE in all our code bases, compared to, I don't know, > 2,000 DCBROWSEs. Since it's using the DacPagedDataStore class and works different to a XbpBrowse, we never gave that a real cance. The data source is not sychronous to the data in the browse. It has several limitations concerning the appearance, and I can't work with ownerdrawing. However, I don't need the speed improvements.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Maxz
Posts: 49
Joined: Sun Jan 09, 2022 12:11 pm

Re: DCBROWSE vs DCQUICKBROWSE

#5 Post by Maxz »

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

Post Reply