The future depends on us. It is up to us to the future of Clarion.
Will this programming language to live long and happy life or dies in oblivion depends on us. If you have to say, do it here in this blog. Welcome!

Read More

No Records Available 2

Today I have told with my friend about a class which was written yesterday (see the post below). He have reminded me about ABC Free template which can save and restore listbox format. That’s why I changed the class so little :)
I’ve added a new method which restores the format. You need to restore format before “ABC Free” template. You can see the code of method below:

CFCNoRecordsAvailableClass.RestoreLBFormat PROCEDURE
 CODE
 IF LEN(CLIP(SELF.SavedFormat))
    SELF.ListBoxFeq{PROP:From} = SELF.Q
    SELF.ListBoxFeq{PROP:Format} = CLIP(SELF.SavedFormat)
    SELF.ListBoxFeq{PROP:Disable} = SELF.SavedDisableProp
    SELF.ListBoxFeq{PROP:LineHeight} = SELF.SavedLineHeight
 END

ABCFreeSaveLBFormat

Tags: | No Comments »

Category: Source code

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a