#endif
private:
-define guiApp = ((GuiApplication)__thisModule); // how to do this in a dll?
+define guiApp = (GuiApplication)((__thisModule).application);
define selectionColor = guiApp.currentSkin.selectionColor; //Color { 10, 36, 106 };
static char * fileIconNames[] =
get { return bits.treeBranches; }
};
property bool navigateFolders { set { bits.navigateFolders = value; bits.filesOnly = !value; } get { return bits.navigateFolders; } };
+ property bool multiSelect { set { list.multiSelect = value; } get { return list.multiSelect; } };
property FileSystemNode node
{
bool NotifyDoubleClick(ListBox listBox, int x, int y, Modifiers mods)
{
- return OpenNode();
+ OpenNode();
+ return false;
}
bool NotifyKeyDown(ListBox listBox, DataRow row, Key key, unichar ch)
//surface.WriteTextDots(alignment, x + textOffset, y + 2, width - textOffset, name, strlen(name));
surface.WriteTextDots(alignment, xStart, y + 2, width, label, len);
- //if(!guiApp.textMode) -- how to do this in a dll?
+ if(!guiApp.textMode)
{
if(displayFlags.current)
{