` Printed Icetips Article

Icetips Article



Browses and Listboxes: Conditionally hiding columns and fix for EIP when hiding
2002-04-04 -- Jock Springer
 
Newsgroups: softvelocity.products.c55ee,comp.lang.clarion

>>I have tried everything I can think of to no avail and would
>>appreciate it if someone could point me in the right direction...
>>(1) Correct syntax
>>(2) Correct embed point.
>>
>
>?List{PropList:Width,1} = 0
>
>would set the first column width to 0.  It's possible that you need to
>use Display(?List) after it - some releases of C5.5 seem to have some
>refresh problems.  IF this is not working, then I would check if there
>are any extension templates that may be saving and restoring the
>listbox format (XPlore does that if I'm not mistaken, ABCFree template
>have a template to do that etc.)  I'd also check to see where the code
>is, it may be executing too early.

I recently needed to do this. One gotcha is that if you tab through the
columns the cursor will still land on the hidden columns which can be
disconcerting.

What I did was, on the hidden columns in TakeEvent before Parent Call I
checked to see if the column is hidden & jumped to the next using
 Return EditAction:Forward



Printed May 4, 2024, 9:56 pm
This article has been viewed/printed 35116 times.
Google search has resulted in 21 hits on this article since January 25, 2004.