Hello all!
I couldn't really describe my problem properly in the title, but I'll have a go here:
Ok, I have some functions. These functions work. The problem is that this:
lstvw = Menu_Menus(Menu_MagicMenu).Lst_Main
itm = SGUI_ListviewGetSelected(Menu_Menus(Menu_MagicMenu).Lst_Main)
Menu_MsgBoxInfo(SGUI_ListviewGetItem(lstvw, 1, itm), "", "", "", "" )
works but this:
Menu_MsgBoxInfo(SGUI_ListviewGetItem(Menu_Menus(Menu_MagicMenu).Lst_Main, 1, SGUI_ListviewGetSelected(Menu_Menus(Menu_MagicMenu).Lst_Main)), "", "", "", "" )
dosen't. Now that I know what the problem is a workaround is easy, but I have no idea what could cause this problem?
Has anybody seen this before? Does anyone know what the problem is?
Thanks,
Bruce
[EDIT]
This doesn't work either:
SGUI_ListviewGetItem(Menu_Menus(Menu_MagicMenu).Lst_Main, 1, SGUI_ListviewGetSelected(Menu_Menus(Menu_MagicMenu).Lst_Main))
However that does work if the two functions inside that function call are first saved to variables.