Hi!
I'm browsing an array with TxBrowse (from resource). I don't use horizontal scroll bar and don't use header.
The array have more elements than lines displayed in TxBrowse, then when I position in last displayed row and press down arrow occur a paint problem: last line is duplicated. It will repeat for each line after last displayed row
In other words, last visible line will be displayed "n" times.
Regards
Maurilio
TxBrowse: Paint problem
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact:
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact:
Re: TxBrowse: Paint problem
Yesterday I tested TxBrowse a long time using a lot of "styles" (with header, without header, with footer, without footer, etc) then I could found the main cause of problem:
Depending on resource height we have the problem on painting browse cells (line level) or width (columns levels).
Data are duplicated on display or cell was wrong painted. It occur when total xbrowse line is more than total visible lines.
What do I to solve?
I couldn't found in xBrowse.prg the correct place were this paint bug occur then in "TxBrowse" resource I enlarged 1 or 2 pixels time of height and/or width and tested several times until get a size were this problem don't occur.
The strange thing is Wbrowse don't depend on "TwBrowse" resource size and have not this paint problem...
Regards,
Maurilio
Depending on resource height we have the problem on painting browse cells (line level) or width (columns levels).
Data are duplicated on display or cell was wrong painted. It occur when total xbrowse line is more than total visible lines.
What do I to solve?
I couldn't found in xBrowse.prg the correct place were this paint bug occur then in "TxBrowse" resource I enlarged 1 or 2 pixels time of height and/or width and tested several times until get a size were this problem don't occur.
The strange thing is Wbrowse don't depend on "TwBrowse" resource size and have not this paint problem...
Regards,
Maurilio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: TxBrowse: Paint problem
Maurilio,
I've just started using xbrowse and have encountered the same problem. Did you ever find a solution?
Thanks,
Randal Ferguson
I've just started using xbrowse and have encountered the same problem. Did you ever find a solution?
Thanks,
Randal Ferguson
Maurilio Viana wrote:Yesterday I tested TxBrowse a long time using a lot of "styles" (with header, without header, with footer, without footer, etc) then I could found the main cause of problem:
Depending on resource height we have the problem on painting browse cells (line level) or width (columns levels).
Data are duplicated on display or cell was wrong painted. It occur when total xbrowse line is more than total visible lines.
What do I to solve?
I couldn't found in xBrowse.prg the correct place were this paint bug occur then in "TxBrowse" resource I enlarged 1 or 2 pixels time of height and/or width and tested several times until get a size were this problem don't occur.
The strange thing is Wbrowse don't depend on "TwBrowse" resource size and have not this paint problem...
Regards,
Maurilio
Which FWH version do you use?
With early 7.11 I had problems with seek - see the fix:
http://fivetechsoft.com/forums/viewtopi ... highlight=
Regards,
Otto
With early 7.11 I had problems with seek - see the fix:
http://fivetechsoft.com/forums/viewtopi ... highlight=
Regards,
Otto
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: