` Procedure template example (Geoff Bomford) - 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  

Templates: Procedure template example
1999-03-21 -- Geoff Bomford
 
Newsgroups: topspeed.products.c5ee Editors Note: Please note that some lines will wrap in the template code. I think you need to declare it in a 'Default' section. Here is a section from a procedure template which demonstrates this technique... #PROCEDURE(KickOut,'KickOut Inactive Users'),WINDOW,PARENT(Window(ABC)) #LOCALDATA TimeToKickout LONG ! Time left to kickout - GWBKickout Template KickoutStartTime LONG ! time window opened - GWBKickout Template DisplayTime LONG ! Total time window will be displayed - GWBKickout Template #ENDLOCALDATA #! #DISPLAY('The Kickout Window will automatically close when the user makes a selection on the frame. You can customize any other ways to close the window.'),AT(10,,150,32) #PROMPT('Display Time (in seconds):',SPIN(@N3,0,999,1)),%DisplayTime,PROMPTAT(10) #! #AT(%WindowManagerMethodCodeSection,'Init','(),BYTE'),PRIORITY(8500) !GWBKickout KickoutStartTime = CLOCK() DisplayTime = %DisplayTime * 100 #... >Hello All: > >Writing a procedure template (pretty straight forward) I cannot seem to >find how I generate windows structure. I am able to generate the >%localdata but no window. How do I go about this? >


Today is April 25, 2024, 11:42 am
This article has been viewed 35115 times.
Google search has resulted in 55 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: