bb.donnay-software.com

Donnay Software Web Forums
It is currently Wed Aug 05, 2020 3:32 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Jul 10, 2020 6:37 am 
Offline

Joined: Sun Jan 18, 2015 11:43 am
Posts: 524
Location: Slovakia
Hi,

I have used multirow in DCBROWSE like this:
Code:
@pozyvl,10 DCBROWSE oBrowsevl ALIAS "POMDBF7S" ;
           SIZE rozxvl,rozyvl PIXEL ;
           NOSOFTTRACK ;
           OPTIMIZE ;
      HEADLINES 2 ;
           CURSORMODE XBPBRW_CURSOR_ROW ;
           SCROLLBARHEIGHT fontnv+2 ;
      ITEMMARKED {||nil} ;
      ITEMSELECTED {||nil} ;
           TAGENABLE ;
           TAGELEMENT 35 ;
           TAGMODE DCGUI_TAGMODE_CLEAR ;
      PRESENTATION aPres

        DCBROWSECOL FIELD POMDBF7S->CISKU ;
           HEADER "K.Ú. " WIDTH znakpixc[1]*9 

        DCBROWSECOL FIELD POMDBF7S->NAZOV ;
           HEADER "Názov k.ú.  " WIDTH znakpixc[1]*25 

        DCBROWSECOL DATA {{||padl(POMDBF7S->VLAS,220)},{||padl(str(POMDBF7S->ICOS),15," ")+padl(str(POMDBF7S->RCIS),15," ")}} ;
          HEADER "Pôvodný Vlastník;Identifikátor / Identifikátor BSM" WIDTH znakpixt[1]*30 

DCREAD GUI CLEAREVENTS ;
           OPTIONS GetOptions ;
           TITLE "[ ZOZNAM LV VLASTNÍKA ] - [ "+alltrim(dbfzoznamlv)+" ]"  ;
           EVAL {|o|SetAppWindow(o), ;
      SetAppFocus(oBrowsevl:GetColumn(1)), ;
                oBrowsevl:RefreshAll(),oBrowsevl:ForceStable(),;
      DC_Getrefresh(oStatic),;
      eval(baZ9),eval(baZ10),eval(baZ11),oBrowsevl:RefreshAll() ;
      }


And when I scrolling rows, sometimes multirow fields stay painted however I click to other row. It happens for example when I go to top or bottom table.
I read some posts here about some problems with coloured multirow but I do not know, if this is same problem.

Any advice how can refresh colour browser rows also when scrolling with mouse ? Because this is problem only when use mouse scroll, not when listing with keyboard.


Top
 Profile  
 
PostPosted: Fri Jul 10, 2020 11:14 am 
Offline
User avatar

Joined: Sat Feb 04, 2012 2:23 am
Posts: 1349
Location: Russia, Southern federal district, city of Krasnodar
Is it similar? If so, how it is done is here: http://lc.kubagro.ru/__AIDOS-X.txt. Search: "n F4_1_3_6("


Attachments:
Безымянный.jpg
Безымянный.jpg [ 255.32 KiB | Viewed 640 times ]

_________________
http://lc.kubagro.ru/
https://www.researchgate.net/profile/Eugene_Lutsenko
http://ej.kubagro.ru/
http://ej.kubagro.ru/a/viewaut.asp?id=11
Top
 Profile  
 
PostPosted: Sat Jul 11, 2020 1:52 am 
Offline
User avatar

Joined: Tue Feb 09, 2010 3:06 am
Posts: 137
viewtopic.php?f=2&t=2695

_________________
Pedro Alexandre


Top
 Profile  
 
PostPosted: Mon Jul 13, 2020 12:58 am 
Offline

Joined: Sun Jan 18, 2015 11:43 am
Posts: 524
Location: Slovakia
Hi,

It is same as PedroAlex example, sometimes rows stay blue , often where scroll to top or bottom table.
when I run obrowsevl:refreshall(), this blue rows refresh and will clear, I also tryed run refreshall() with timer only for example in 1 seconds interval, to examine what happens, but this blinking not for real use.

I saw this post about generic.prg,... but I do not know if this help to my problem.

Ok, now I will try implement it to my source whats happen.

thx


Top
 Profile  
 
PostPosted: Tue Jul 14, 2020 8:05 am 
Offline

Joined: Sun Jan 18, 2015 11:43 am
Posts: 524
Location: Slovakia
Hi,

yesterday I installed release of express 265 ( with 266 I have some problem in Xbase++ Foundation 2.0 that not work for me), and problem with DCBROWSE lost.
Now work without problem, only moving cursor is little different as older version 260.
at this moment I do not need no changes in my source.
thx


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group