strate Posted May 3, 2006 Share Posted May 3, 2006 When I try to call GUICtrlSetOnEvent($nViewDescriptionListItem,"_ListViewGUI('Description List','C:\Data Files\Return Dunnage Suppliers.txt')")It says I'm unable to 'cause of a unknown function. Is something like this possible? I would like to avoid calling a function just to call another function because of the variables. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted May 3, 2006 Share Posted May 3, 2006 when it says function it means something defined as func yourfunc() _ListViewGUI('Description List','C:\Data Files\Return Dunnage Suppliers.txt') i think Link to comment Share on other sites More sharing options...
greenmachine Posted May 3, 2006 Share Posted May 3, 2006 You can call any function from a GUI Event, but it can't have any parameters attached to it (in the call), and can't even have optional parameters in the definition.This is related: http://www.autoitscript.com/forum/index.php?showtopic=18732 Link to comment Share on other sites More sharing options...
strate Posted May 3, 2006 Author Share Posted May 3, 2006 when it says function it means something defined as func yourfunc() _ListViewGUI('Description List','C:\Data Files\Return Dunnage Suppliers.txt') i think I knew what it meant I just hoped I could avoid creating a function just to use another function in it with the variables. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now