P pchowning Member Licensed User Longtime User Jun 10, 2013 #1 Dear Sir: I am unable to successfully operate a spinner control/method. I receive a syntax error on the method definition? Please Help! 1. Global definitions are: sp1 as spinner. Dim position as Int, and dim Value as Object. 2. Activity_Create: LoadLayoutSpinner1Layout”), sp1,Initialize(“SpinnerLayout”), sp1Setup: Loads spinner items. 3. sp1_ItemClick(Position as Int, Value as Object) Notes: 1. Spinner appears to be initialized. 2. Spinner variables are loaded properly. 3. Syntax error with sp1_ItemClick Method
Dear Sir: I am unable to successfully operate a spinner control/method. I receive a syntax error on the method definition? Please Help! 1. Global definitions are: sp1 as spinner. Dim position as Int, and dim Value as Object. 2. Activity_Create: LoadLayoutSpinner1Layout”), sp1,Initialize(“SpinnerLayout”), sp1Setup: Loads spinner items. 3. sp1_ItemClick(Position as Int, Value as Object) Notes: 1. Spinner appears to be initialized. 2. Spinner variables are loaded properly. 3. Syntax error with sp1_ItemClick Method
klaus Expert Licensed User Longtime User Jun 10, 2013 #2 If your Spinner is defined in the layout file you must not initialize it in the code. Best regards. Upvote 0