aklisiewicz Active Member Licensed User Longtime User Jun 6, 2011 #1 Wwhen listing modules in the right panel, I noticed that despite I have had one more Sub on the list the scroll bar did not show up, making me think this is the whole list. When I moved the divider line up I noticed 1 more Sub hiding beneath. This is minor, but creates unneccesary confusion, so hopefully it will be fixed. As you see on attached pic there is one more sub on the list but it is invisible (nor the scroll bar is present). Art Attachments B4A_Error11.jpg 26.3 KB · Views: 550 Last edited: Jun 6, 2011
Wwhen listing modules in the right panel, I noticed that despite I have had one more Sub on the list the scroll bar did not show up, making me think this is the whole list. When I moved the divider line up I noticed 1 more Sub hiding beneath. This is minor, but creates unneccesary confusion, so hopefully it will be fixed. As you see on attached pic there is one more sub on the list but it is invisible (nor the scroll bar is present). Art
Erel B4X founder Staff member Licensed User Longtime User Jun 6, 2011 #2 This is fixed for the next update.
aklisiewicz Active Member Licensed User Longtime User Jun 6, 2011 #3 Erel, thank for understanding. I would like to suggest one other change here which in turn would greatly improve working with Projects and IDE. At this moment all Subs in B4A are thrown into ONE BIG BASKET. For the App which has only 5-10 Subs it might be Ok, but for something bigger this organization is a mess. I would like to all Objects/Subs which are a child Objects/Subs to another Parent sub to be liested in form of The TREE (see attached examples screen fom one of the programs I use). I use about 5 different tools and all of them have this type of organization build in. This way I can easily find objects, modules, elements, and whatever else you might call it. It also allows me to easily filter the list and prevents anneccesary clutter. I believe you probably have seen tools like Eclipse, MS-VS etc. so you know what I am reffering to. Art Attachments B4A_Req01.jpg 29.7 KB · Views: 510
Erel, thank for understanding. I would like to suggest one other change here which in turn would greatly improve working with Projects and IDE. At this moment all Subs in B4A are thrown into ONE BIG BASKET. For the App which has only 5-10 Subs it might be Ok, but for something bigger this organization is a mess. I would like to all Objects/Subs which are a child Objects/Subs to another Parent sub to be liested in form of The TREE (see attached examples screen fom one of the programs I use). I use about 5 different tools and all of them have this type of organization build in. This way I can easily find objects, modules, elements, and whatever else you might call it. It also allows me to easily filter the list and prevents anneccesary clutter. I believe you probably have seen tools like Eclipse, MS-VS etc. so you know what I am reffering to. Art
nfordbscndrd Well-Known Member Licensed User Longtime User Jun 6, 2011 #4 aklisiewicz said: At this moment all Subs in B4A are thrown into ONE BIG BASKET. For the App which has only 5-10 Subs it might be Ok, but for something bigger this organization is a mess. I would like to all Objects/Subs which are a child Objects/Subs to another Parent sub to be liested in form of The TREE (see attached examples screen fom one of the programs I use). I believe you probably have seen tools like Eclipse, MS-VS etc. so you know what I am reffering to. Click to expand... I have been accomplishing a tree type of Sub structure by adding a prefix to the sub names. The first letter is a category (such as "b" for "bidding", "p" for "playing", etc.) followed by a 3-digit sequence number, then a,b,c,... then 1,2,3,... then repeat a,b,c and 1,2,3... like this:
aklisiewicz said: At this moment all Subs in B4A are thrown into ONE BIG BASKET. For the App which has only 5-10 Subs it might be Ok, but for something bigger this organization is a mess. I would like to all Objects/Subs which are a child Objects/Subs to another Parent sub to be liested in form of The TREE (see attached examples screen fom one of the programs I use). I believe you probably have seen tools like Eclipse, MS-VS etc. so you know what I am reffering to. Click to expand... I have been accomplishing a tree type of Sub structure by adding a prefix to the sub names. The first letter is a category (such as "b" for "bidding", "p" for "playing", etc.) followed by a 3-digit sequence number, then a,b,c,... then 1,2,3,... then repeat a,b,c and 1,2,3... like this:
aklisiewicz Active Member Licensed User Longtime User Jun 9, 2011 #5 Yes, this is some kind of temporary solution. The only thing its missing (as this list could be long) is ability to Expand/Colapse Thanks for sugestion. Art
Yes, this is some kind of temporary solution. The only thing its missing (as this list could be long) is ability to Expand/Colapse Thanks for sugestion. Art
nfordbscndrd Well-Known Member Licensed User Longtime User Jun 13, 2011 #6 Here's another possible solution I just stumbled across. So far, I have not had to use any modules, but I was researching modules for adding to the Wiki and came across "Code modules". Long story, short: You can create a Code module (in the IDE, click Project - Add New Module - Code Module) for each type of code. In the screen shot I posted before of a list of subs, a bunch of them started with b001 through b006e. I could move all those into a Code module by the name of, say, "Bidding", and they would no longer appear in the Main module. Instead, the name "Bidding" would appear below "Main" at the top of the Modules tab and when I clicked on Bidding, I would see only those subs. This, in effect, provides the ability to "expand and collapse" that you wanted. I did a simple test app to make sure my facts are at least semi-straight and it worked, for whatever that's worth. Code: Main: Sub Activity_Create Mod1.DoSomething End Sub Module "Mod1": Sub DoSomething MsgBox("Nag, nag, nag.", "") End Sub I'm hoping someone will correct me if I have something wrong.
Here's another possible solution I just stumbled across. So far, I have not had to use any modules, but I was researching modules for adding to the Wiki and came across "Code modules". Long story, short: You can create a Code module (in the IDE, click Project - Add New Module - Code Module) for each type of code. In the screen shot I posted before of a list of subs, a bunch of them started with b001 through b006e. I could move all those into a Code module by the name of, say, "Bidding", and they would no longer appear in the Main module. Instead, the name "Bidding" would appear below "Main" at the top of the Modules tab and when I clicked on Bidding, I would see only those subs. This, in effect, provides the ability to "expand and collapse" that you wanted. I did a simple test app to make sure my facts are at least semi-straight and it worked, for whatever that's worth. Code: Main: Sub Activity_Create Mod1.DoSomething End Sub Module "Mod1": Sub DoSomething MsgBox("Nag, nag, nag.", "") End Sub I'm hoping someone will correct me if I have something wrong.