B Bernd68 Member Licensed User Longtime User Jun 12, 2012 #1 Just saw, that i did post this question in the wrong sub-forum. therefore here again: i've implemented the Al Modul and it works very smooth. but now i would like to remove the "title" on top of the ActionList (Choose item) So i've tried the following Code: Copy al = ActionListModule.InitializeList(150dip, Null, "Main") So no text for the Title is shown, which is correct, but the ActionList still holds "an empty part" for the title. May someone could help to adjust the module, that in case of "No title / Null", the space for the title will be removed too Tried myself, but still have to learn a lot and could not figure it out. Regards Bernd
Just saw, that i did post this question in the wrong sub-forum. therefore here again: i've implemented the Al Modul and it works very smooth. but now i would like to remove the "title" on top of the ActionList (Choose item) So i've tried the following Code: Copy al = ActionListModule.InitializeList(150dip, Null, "Main") So no text for the Title is shown, which is correct, but the ActionList still holds "an empty part" for the title. May someone could help to adjust the module, that in case of "No title / Null", the space for the title will be removed too Tried myself, but still have to learn a lot and could not figure it out. Regards Bernd
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2012 #2 I haven't fully tested it. However it will help you get started. You need to change: Code: Copy currentItem = Floor((Y - TopPadding - ItemHeight) / ItemHeight) To: Code: Copy currentItem = Floor((Y - TopPadding) / ItemHeight) Search for "+ 1". This + 1 is to compensate for the title item. You should remove it. Upvote 0
I haven't fully tested it. However it will help you get started. You need to change: Code: Copy currentItem = Floor((Y - TopPadding - ItemHeight) / ItemHeight) To: Code: Copy currentItem = Floor((Y - TopPadding) / ItemHeight) Search for "+ 1". This + 1 is to compensate for the title item. You should remove it.
B Bernd68 Member Licensed User Longtime User Jun 14, 2012 #3 Solved Problem Hi Erel, thanks for getting me in the right direction. I was able to get the title out of the Action List. Great work ! Cheers Bernd Upvote 0
Solved Problem Hi Erel, thanks for getting me in the right direction. I was able to get the title out of the Action List. Great work ! Cheers Bernd