` Converting PowerBrowse to Standard Browse (Steve Lewis ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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

Par2: Converting PowerBrowse to Standard Browse
1998-06-02 -- Steve Lewis
 
I've converted almost all of my Powerbrowse stuff to the standard browse without using Dan's conversion tools. This is under the Legacy templates. I take the following steps: - I use a utility to dump my embeds out to a text file and I pull that up in notepad. - I pull up the source for the PowerBrowse procedure in another notepad session. - I remove the old procedure and replace it with the browse template. - I populate the proper files - I populate the list box format with the same fields, but I don't worry about the format details - I copy the format string from the Powerbrowse-based source into the window declaration (using the button that lets you edit the window's source code) - I also copy bits of the old window source in like button positions, window size, etc. Be carefull not to disrupt any of the template hints (those things with the # signs) - I copy the old embeds from the old source and make any necessary changes - I make sure the proper actions are set on the new browse - Compile and test This is usually a 10 minute procedure for simple forms. Complex ones can take a bit longer. The main thing I haven't had much success emulating is the reverse sort order that Powerbrowse makes so easy. If I need multiple list box formats for a single browse I use Mike Hanson's freeware template to do that.


Today is November 21, 2024, 3:48 am
This article has been viewed 35188 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: