Visibility of the DBServer class
Posted: Sat Jan 12, 2019 9:43 am
local oDB as DBServer
oDB := DBServer { "Test" }
to compile this you must add the references:
VORDDClasses
VOSystemClasses
But you still get a "Type or Namespace DBServer not found" compile error. If you check the compiler setting "/INS" it compiles and the namespace "VO" is silently added to the assembly. However, in XIDE -and i think in VS too ? -, still neither a Tooltip nor the DBServer methods etc. Listbox are displayed. To make them visible you must manually add the namespace "VO" to your code.
USING VO
Now the DBserver Tooltip and Listbox are shown, and - at least in this context - "/INS" no longer needs to be checked. It would be nice if the DBServer would automatically become visible - like the runtime funcs do - as soon a VORDDClasses reference is added.
regards
Karl-Heinz
oDB := DBServer { "Test" }
to compile this you must add the references:
VORDDClasses
VOSystemClasses
But you still get a "Type or Namespace DBServer not found" compile error. If you check the compiler setting "/INS" it compiles and the namespace "VO" is silently added to the assembly. However, in XIDE -and i think in VS too ? -, still neither a Tooltip nor the DBServer methods etc. Listbox are displayed. To make them visible you must manually add the namespace "VO" to your code.
USING VO
Now the DBserver Tooltip and Listbox are shown, and - at least in this context - "/INS" no longer needs to be checked. It would be nice if the DBServer would automatically become visible - like the runtime funcs do - as soon a VORDDClasses reference is added.
regards
Karl-Heinz