` Using image of a paper form as a background for an input form (Chris Kloss ) - 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  

Par2: Using image of a paper form as a background for an input form
1998-11-15 -- Chris Kloss
 
Got it! Not sure how, but these are the actions I took in case someone else has the same problem: 1. Increased stack size under procedure properties to 47k 2. Re-created the WMF file I was using 3. deleted the form procedure and re-created it 4. Placed a region on the form and expanded it to the size of the paper form I wanted 5. Placed the WMF of the paper form on the region 6. Placed my fields and set the transparent attribute works great, both scroll bars and fields. On 16 Nov., Chris notes: I met my panic deadline, stopped flailing, and explored further. I have no idea what was initially wrong, but I have repeated the concept several times in trying to find out. It appears that: as long as the program is MDI, the Main Frame has vertical set, all child windows in the thread have MDI checked, and vertical scroll is checked in the subject window, everything works as advertized. I love the result! My users see, on screen, the same paper form they are used to. By setting Transparent for each field, they see no boxes around the fields and it appears that they are typing directly on the paper. I set the form underlying the image to white to get the paper effect. Because I am using a vectorized WMF file, the system is very snappy as the WMF is only 7k versus 1MB for a BMP for the same job. The region is irrelevant.


Today is November 21, 2024, 3:38 am
This article has been viewed 35202 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: