Page 1 of 1

xbrowse custom myBrowse

PostPosted: Sat Feb 25, 2023 3:58 pm
by Silvio.Falconi
I need to create a class associated with Xbrowse that does not collide with any future changes to xbrowse but I don't know how to do it, every time I have an update I have to rewrite everything I need, in particular I have to add some DATA and some Methods, modify a method of xbrowse (with ovverride) . I would like to create it so that I can use it in the future without modifying the original class of fwh

Re: xbrowse custom myBrowse

PostPosted: Sat Feb 25, 2023 4:43 pm
by Marc Venken

Re: xbrowse custom myBrowse

PostPosted: Sun Feb 26, 2023 5:22 pm
by Silvio.Falconi
Marc Venken wrote:Look Here, It could help,

viewtopic.php?f=3&t=41749&hilit=subclass&start=15#p250334



I made it now and it run ok but for one method I must use ovverride procedure because I must re-write a xbrowse method or on each upgrade I must add some lines ...

it is a small addition to the xbrowse class that the fwteam hasn't even taken into consideration, instead I consider it very useful in practice if we have 15 fields in the xbrowse table and we want to display only 4 of them initially for reasons that may also be of aesthetics, the end user however he could display the field he wants online and the configuration is saved in the state or the end user could display all the fields or put back the initial display made by the programmer.