` 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  

ABC: EIP using drop downs
1999-03-31 -- Jay Guengerich
 
Newsgroups: topspeed.products.c5ee Bob Gaucher posted a message back in January which I think is already in your KB, along with a short follow-up post from Steve Parker. The subject was FileDropCombo in EditInPlace. I basically followed his example, although I just used the EditDropList class because I don't want my users to be able to add new items to the list. I didn't have to worry about CREATEing a DropCombo, or putting new entries back into NameQ or the Names file. The only important code I added is after all of the PROP:whatever assignments using his variable names): CurrentlyUsed = 1 GET(NameQ,CurrentlyUsed) LOOP UNTIL ERRORCODE() OR NameQ.Name = PEO:Name CurrentlyUsed += 1 GET(NameQ,CurrentlyUsed) END SELECT(SELF.FEQ, CurrentlyUsed) This might not be optimized, as discussed in Steve Parker's message. Also, I had to add the following before filling the queue: Access:Names.UseFile() !tells lazyopen to open the file


Today is May 5, 2024, 12:34 am
This article has been viewed 35114 times.
Google search has resulted in 12 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: