` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Descending or ascending sort order
1998-09-04 -- Dennis E. Evans
 
Newsgroups: comp.lang.clarion >I am trying to get a browse box, in C4 with ABC templates, to be able to >flip order (normal or reverse) with a click of a button. PowerBrowse use to >give you that ability but now it is no longer around. Are there any other >template sets that will allow you to do this. Short of creating the key, >using TPS files, in descending order is the only way I have figured out how >to do this. I would like the user to be able to select the order, ascending >or descending, at rund time while viewing the screen and be able to press a button to switch them. Hi all, do not know about templates but to change the sort order from ascending to descending try this Add the button or a check box In the control event handling embed, control accepted If DescendingFlag SortStr = '+Key:Field' Else SortStr = '-Key:Field' End BrwName.SetOrder(SortStr) Thiswindow.Reset(1) Post(Event:ScrollTop, ?BrowseControlEquate) ! back to the top Add a choice(?TabName) condition if you have more than on tab on the screen. Hope it helps Dennis


Today is November 21, 2024, 6:28 am
This article has been viewed 35403 times.
Google search has resulted in 71 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: