mfrapp Posted December 20, 2007 Posted December 20, 2007 Hello, first of all, i would like to say hello to everyone because this is my first post on this forum. i have made a toggle sort button, so when i click on it it sort Ascending and when i click back on it it sort Descending, my problem is that i would like to change the button text or image when i click on it, so clicking the button would toggle between a upward arrow and a downward arrow. Any help would be greatly appreciated. thank you. ps: pardon my english, its not my first language.
Søren Dyhr Posted December 21, 2007 Posted December 21, 2007 Toggling is achieved by formatting a field as number exhibiting in boolean, but a script or button formatting is required via an invisible button layered ontop. This button sets the value of the button as well as going to another pane if you use a self joined portal different directed relational sortings. You sort of expands this idea: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000816 --sd
mfrapp Posted December 21, 2007 Author Posted December 21, 2007 Thanks for your fast respondes SD, i will try that. mfrapp
Lee Smith Posted December 21, 2007 Posted December 21, 2007 I read this a little different than Soren, Anyway. see if this is what you described. mfrapp.fp7.zip
Søren Dyhr Posted December 21, 2007 Posted December 21, 2007 This was what I had in mind, although it's overkill at some spots! --sd directionalSort.zip
Lee Smith Posted December 21, 2007 Posted December 21, 2007 Good one. That gives mfrapp a choice. Lee p.s., that is if mfrapp come back, as they haven't been back since their last post.
mfrapp Posted December 21, 2007 Author Posted December 21, 2007 Thank you, both your example worked like i asked, this will help me alot. thanks for your time. mfrapp
Recommended Posts
This topic is 6180 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now