Book a Demo

Author Topic: Attribute order  (Read 10032 times)

catriona

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Attribute order
« on: February 06, 2013, 12:58:02 am »
Hi

I am trying to order attributes in a class alphabetically. While this would appear to be a straightforward proposition, I switched off the "alphabetical order" function when I created the model. I now cannot figure out how to turn it back on!  >:( :)

Has anyone any pointers?

Many thanks,
Catriona

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Attribute order
« Reply #1 on: February 06, 2013, 01:07:54 am »
Tools/Options/General near bottom right list

q.

catriona

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Attribute order
« Reply #2 on: February 06, 2013, 01:25:10 am »
Thanks for your quick reply qwerty...

I can't see an option that would equate to that. I feel like I'm being a bit dim!

These are the options I have (checkboxes)
-Always open maximized
-Hide properties info section
-Dock windows tabs on bottom
-Main diagram tabs on bottom

There is also a "Allow Free Sorting" checkbox on the left in the Project Broswer frame. Which doesn't appear to affect anything I do re: sort order.

When I use the column header in the attributes properties window, I can reorder the attributes as I wish. However, the reorder is lost as soon as I reload the model and it is never reflected in the tree view or class model view. The solution to this has to be simple right?! :)

I am using Prof Edition 9.3.935 if that helps...

Thanks,
Catriona

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Attribute order
« Reply #3 on: February 06, 2013, 02:32:27 am »
Sorting is a whole chapter on itself for EA :-/
Allow free sorting allows to move anything free around in the browser folders. Usually there is a grouping (diagrams at top, certain element groups).
The sort alphabetically option will only show attrs/meths in diagrams in alpha order when checked. It does not effect the order in the browser or properties window. You can force sorting in the latter way only by hand or via a script using the Pos or TPos attributes.

q.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Attribute order
« Reply #4 on: February 06, 2013, 10:01:08 am »
Try: Tools | Options > Objects > Sort Features Alphabetically

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Attribute order
« Reply #5 on: February 07, 2013, 08:39:11 am »
To be clear. When you change the 'Sort Features Alphabetically' (at least on version 10) you receive a message box saying that you need to reload diagrams to view sorting changes. The Project Browser updated immediately. At this point the display of the Attribute and Operations dialogs will depend on how the dialog is opened. After reloading then the sort order will be shown according to the option.