Home » Community » Coffee corner » Quiz #5
Re: Quiz #5 [message #57910 is a reply to message #57907] |
Mon, 27 December 2021 23:50 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
Lance wrote on Mon, 27 December 2021 21:04mirek:
Yeah, it's a very handy facility. I tried and learned something new.
When designing layout, we turn to add new Ctrl, copy& paste, and moving things around, resulting in Ctrls not in sensible tab-order. By selecting a group of Ctrls and apply the button, the layout designer will order the Ctrls in a left-to-right-top-to-bottom order so navigate by tabbing will not seem to be random.
Note the selected Ctrls will be removed from the layout and then insert to the very front of the layout after sorting by their position.
Great to know. I used to do it manually with a lot of effort and many rounds of try-and-error.
BTW, it is a rare example of bubblesort usecase
The one and only advantage of pure bubblesort is that it can work well when the sorting predicate has "fuzzy" state (the ordering of two elements is not known), which is sometimes the case when deciding order here...
|
|
|
Goto Forum:
Current Time: Mon May 13 15:47:21 CEST 2024
Total time taken to generate the page: 0.02397 seconds
|