Android Question Selecting all objects within a panel

CaStar

Member
Licensed User
Longtime User
I created a panel containing some 30 labels and I want to move this labels to an other position inside the panel view.

Is there an easy way in the designer to select all objects inside a panel view? All I found is hold ctrl and click each object but that's not funny for a larger number of objects.
 

Lee Gillie CCP

Active Member
Licensed User
Longtime User
Isolating everything on a panel in a single action is not something I've been able to do either.

Ctrl-A selects EVERYTHING, and then you can Ctrl-Click the items you don't want, to deselect them.

MS Visual Studio allows us to drag-draw a rectangle, and the result is that it selects everything within that rectangle, but I can't seem to find a way to do such a thing in B4A.

I have found the best way for me is when the designer is open to choose WINDOWS / VIEWS TREE from the pull down menu on the designer. In this way you can work with check-boxes, rather than dealing with select/deselect of items on the panel which may overlap and further complicate selection. VIEWS TREE shows which items are subordinate to any panel, making it much easier for me.
 
Upvote 0

CaStar

Member
Licensed User
Longtime User
I know the checkbox method.

Ctrl-A selects only the panel, but not the elements inside the panel.

Drag-draw a rectangle works in the same manner and only in the main view. Drag-draw within a panel isn't possible because it moves the panel around.

It would be nice to select a panel and then objects by Ctrl + drag-draw...
 
Upvote 0
Top