Wiki Home

Virtual Mode


Namespace: DotNet
Starting from the eXList 3.0.0.9, and eXGrid 3.0.1.5 the Virtual Mode can be used on any language, even VFP 8 or lower, using a template like follows:

Dim rs
Virtual Mode = True
ColumnAutoResize = False
rs = Create Object("ADOR.Recordset").Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExGrid\Sample\SAMPLE.MDB", 3, 3 )
DataSource = rs
ConditionalFormats
{
Add("%1 > 4").Bold = True
Add("%1 = 1 or %1 = 3")
{
Underline = True
Fore Color = RGB(255,0,0)
ApplyTo = 1
}
}

All you need to do is to load this in the control's WYSWYG Template editor, and the sample.mdb is displayed and ready to be edited.
( Topic last updated: 2006.04.03 02:27:40 PM )