` 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  

Templates: Set icon on all windows to prevent memory leak
1999-03-07 -- Craig E Ransom
 
Newsgroups: topspeed.products.c5ee Editors note: Please note that some lines may wrap in the template code. Hi Arnor! > Freeware? Mind stuffing them on the icetips fpt server if so? > Great big silly me! I thought SOMEONE had already posted one of these. It's not template rocket science, after all! Just populate it in the GLOBAL Extensions, not the Frame, and you have to populate it in ALL of your apps, including your dll apps, not just the parent (exe) app. #TEMPLATE(DefaultIcon,'This sets the default icon for the entire app'),FAMILY('CW20'),FAMILY('ABC') #!------------------------------------------------------------- #EXTENSION(DefaultIcon,'Select default icon for the entire app'),DESCRIPTION('Select default icon for the entire app'),FIRST #PROMPT('Select Icon File',OPENDIALOG('Select Icon for App','Icons|*.ICO')),%IconFile,REQ #AT(%CustomGlobalDeclarations) #PROJECT(%IconFile) #ENDAT #AT(%AfterWindowOpening) IF CLIP(0{PROP:Icon}) = '' 0{PROP:Icon} = '~%IconFile' END #ENDAT -- Craig (The Data Ferret) Using Virtual Access 4.02 build 244 (32-bit) in Win95 Clarion Prof Dev 2.1 / Clarion for DOS 3.x Clarion for Windows 1.0, 1.5, 2.0 / C4b / C5 Enterprise Pervasive.SQL / SQL Anywhere 5.5 CPCS CCS CLACom WinEvent CWA JANUS/Ada 83 95 CLAW "Do not meddle in the affairs of FERRETS...."


Today is April 27, 2024, 12:50 pm
This article has been viewed 35109 times.
Google search has resulted in 28 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: