` "Freezing" last column in a browse (Ron Eisner ) - 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: "Freezing" last column in a browse
2009-04-15 -- Ron Eisner
 
Add a new column to the far right of the LIST. Select a LONG, any LONG you already have available in your table or local or global variables. Really, any LONG will do. You can even make a new local variable, maybe call it "DUMMY_LONG" or something, if you don't have a LONG to choose. Now, in the Listbox Formatter, set the Data Picture for that LONG to be "@p pB" (that's "@ppB"). (This is the main trick; following are additional optional things that "improve" the effect). Uncheck any flags on it, such as Right Border or Resizable. Under the Appearance tab, set the color of both Background and Selected Background to COLOR:INACTIVECAPTION (or other favorite color). That's it, you are done - and now that "dummy long" will show up as "blank" and its look will simulate being the "far right edge" of the list. Meanwhile, your intended "last field" will scroll and size more "naturally".


Today is April 19, 2024, 8:44 pm
This article has been viewed 35120 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: