` 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  

Par2: Saving and restoring listbox formatting -- Template
2000-01-12 -- James Cooke
 
Here is a quick 'n dirty template I use for that: #Extension(ColumnDefaults,'Save browse column width'), PROCEDURE #Prompt('Select Listboxes',Control), %ListBox, Multi('Listboxes to default') #AT(%WindowManagerMethodCodeSection,'Init','(),BYTE'),LAST #FOR(%ListBox) If getini('%Procedure','%ListBox',,'%Application.INI') <> '' %ListBox{prop:format}=getini('%Procedure','%ListBox',,'%Application.INI') END #EndFor #ENDAT #AT(%WindowManagerMethodCodeSection,'Kill','(),BYTE'),FIRST #FOR(%ListBox) Putini('%Procedure','%ListBox',%ListBox{prop:format},'%Application.INI') #EndFor #ENDAT


Today is May 5, 2024, 8:11 pm
This article has been viewed 35120 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: