Property ActiveTableType
ActiveTableType
A type of the table currently selected in the MobiScript window.
Declaration
public Catalog.TableType ActiveTableType { get; set; }
Property Value
Type | Description |
---|---|
Catalog.TableType |
Examples
if (appli.MobiscriptWindow.CatalogFilename != ""
&& appli.MobiscriptWindow.ActiveTableType == Catalog.TableType.Blocks)
{
appli.Catalog.UseMobiscriptCatalog();
var activeTable =
appli.Catalog.Tables[appli.MobiscriptWindow.ActiveTableType];
var activeLine =
activeTable.Rows[appli.MobiscriptWindow.ActiveLineRank];
Console.WriteLine(
"The code of the block currently selected " +
$"in MobiScript window is {activeLine.Cells[0]}");
}