hi, i have search in Help File for XBROWSE which point me to CLASS TXBrowse -> xBrowseNew() xBrowseNew( <oWnd>, <nRow>, <nCol>, <nWidth>, <nHeight>, <aFlds>, <aHeaders>, <aColSizes>, <bChange>, <bLDblClick>, ...
... Called from TXBROWSE:SETMYSQL(6686) in source\xbrowse.prg Called from XBRWSETDATASOURCE(17333) in source\xbrowse.prg Called from XBROWSENEW(17096) in source\xbrowse.prg Called from MXCTAALM(60) in source\Mxctaalm.prg Called from (b)CLINICA32WIN(69) in source\Clinica32win.prg Called ...
... of derived classes in the same application. More important points for you to note are: 1) You do not have to create a new function similar to XBrowseNew() to create the derived class. The present function XBrowseNew() in the xbrowse.prg can handle any derived class and it is designed to do ...
... it xbrw_test.prg. The inherited class is included here and is called "CLASS TCtoXbrowse FROM TXbrowse". I also copied "function XbrowseNew" from the original sourcecode and called it "Function CtoXbrowseNew". Here I modified the call "TXbrowse():New" ...
You advice to change xbrowsenew() ? Kindly do not use xbrowsenew() directly in the application. We need it. EDITABLE , ig field is LOGIC or Not . Logical or Not: This is not necessary. XBrowse is capable of knowing which fields are ...
... like this: oBrw:= TXBrowse():new(oWnd) Since the XBrowse class deviates somewhat from a normal class, the LINES parameter is processed by the XbrowseNew() function rather than the xBrowse:new() method, so I cannot figure out how to just turn on lines. I note that there is a way to turn off ...
Enrico, No. It just means that @ 0,0 XBROWSE is in turn preprocessed to xbrowsenew(). Maybe I'm missing something? My point is that the class' New() method is not being called directly but rather through a function. This makes subclassing difficult if not impossible. ...
... just the same as if you coded it this way in the first place: @ 0,0 XBROWSE... Then the class object is initialized by calling a function ( xbrowsenew() ) rather than the class' New() method. Very strange. I wonder why? No. It just means that @ 0,0 XBROWSE is in turn preprocessed to xbrowsenew(). ...