Page 1 of 1

PostPosted: Sat May 05, 2007 4:21 am
by maddin
hello to all df users
does anyone know how to change the order of the table tabs?
i know I read it somewhere (maybe here in the forum) but i can't find it anymore
cheers
martin

PostPosted: Sat May 05, 2007 9:38 am
by shannah

The table tabs are placed in the order in which they are defined in the conf.ini file.Ê Just change the order in there.


PostPosted: Sat May 05, 2007 12:42 pm
by maddin
oops..
wrote table tabs by accident...but meant the action tabs eg. find, list, details, and some custom actions.
unfortunately the display order of the tabs does not correspond to the order of their definition in the actions.ini..
cheers
martin

PostPosted: Mon May 07, 2007 9:31 am
by shannah

Ah yes...Ê you can add an 'order' property to the actions that will cause them to order properly.

e.g.

[find]
order=1

[browse]
order=2

.. etc..


However this requires you to actually change the actions.ini file in the dataface distribution.Ê If you can wait for the 0.7 release (i'm hoping to get it out today), then you can actually override properties of actions within your application using the following syntax.


In your application's actions.ini file:
[find > find]
order=1
[browse > browse]
order=2
etc..
The '>' indicates that this action should inherit from the action specified, rather than just overriding it completely.Ê If you were to do
[find]
order=1
It would effictively erase dataface's [find] action and replace it with your defined find action
rather doing
[find > find]
order=1
causes your find action to inherit all of the properties of the dataface find action but change the order property.
If you can't wait for 0.7, you could also just copy and paste the dataface actions that you want to change into your application's actions.ini file and make the modifications that you desire.
Hope this helps a little.
For my info, what order ard your tabs coming out as... they should be "details", "list", "find" by default.Ê If they're not, I'll have to look into it.
Best regards
Steve

PostPosted: Tue May 08, 2007 12:04 am
by maddin
hi Steve
I am currently using the latest dataface version 6.13r4 and the tab order is: List, Details,Custom Action , Find

thanks for your reply..
martin

PostPosted: Tue May 08, 2007 4:45 am
by maddin
hi again..
I just had a quick look into the df 0.7 changes document...
It looks like there«s an impressive amount of new features to play with..
thanks for keeping us (users) busy :)
and a extra "thank you" for the german translation
cheers
martin