Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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 November 21, 2024, 7:09 am This article has been viewed 35227 times. Google search has resulted in 55 hits on this article since January 25, 2004.
|
|