Hi, I have a button which opens a popup menu:
<?xml version="1.0"?>
<button backcol="none" display="icon" label_pos="right" textcol="none" type="menu">
<label>HTML</label>
<tip>HTML-Programme</tip>
<icon1>#DOpusVista:ftpaddressbook</icon1>
<button backcol="none" display="both" textcol="none">
<label>New Button</label>
<icon1>#newcommand</icon1>
<function type="normal">
<instruction>go Z:\Dir1\SubDir FOLDERCONTENT </instruction>
</function>
</button>
</button>
This is very slow to open the popup menu (it takes appr. 5-7 seconds to open!), because the folder has several files and sub-directories in it to read in. Apparently the directory content is read every time when I click the button, which is useless - couldn't the folder content be stored in memory when DOpus starts up? (The folder content doesn't change very often).
Is there a way to avoid the long waiting time when opening the popup-menu?