| Article | 70002023 |
| Type | Wish |
| Product | Engine |
| Date Added | 7/21/2021 12:00:00 AM |
| Fixed | 9.9002.0.6 (7/22/2021 12:00:00 AM) |
| Submitted by | Viktor Weber |
Summary
I wish menu txt will not be loaded at all if I dont want it
Solution
In version 9002 we added two properties to the vdFramedControl like below
summary> Get/Set a boolean value to control whether the Menu.txt file will be loaded.
public bool LoadMenutxt { get; set; } = true;
summary> Get/Set a boolean value to control whether the Commands.txt file will be loaded.
public bool LoadCommandstxt { get; set; } = true;
Bydefault we load these two files (Menu.txt , Commands.txt) , in the case that you do not want to load them you can initialize these two values at the Load event of the vdFramecontrol like below
private void vdFramedControl_Load(object sender, EventArgs e)
{
vdFramedControl.LoadMenutxt = false;
vdFramedControl.LoadCommandstxt = false;
}
