I've ran into some issues that seem unclear to me.
Error: Unable to cast object of type 'bTools.bBrowser.bDataColumn' to type 'bTools.bBrowser.bVirtualColumn'.
Regarding the following code in Xsharp:
Code: Select all
local oColumn as bVirtualColumn
local oKolom as bDatacolumn
oColumn := oBrowser:GetColumn(#AdresInfo)
oColumn:DataView := bViewStyle{,,BALIGN_CENTER,oFont}
oColumn:CaptionView := bViewStyle{,,BALIGN_CENTER,oFont}
oColumn:background := KleurB(WINDOWGRIJS,2)
My second issue is that this code works in VO but in Xsharp it leads to crashing the application.
Any help or guidance is greatly appreciated
Frank