Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 17 DEC 2001 05:09:35AM Colin Rule wrote:

On NT systems (NT, 2000, XP) Edit tables with columns of zero width still show the content, but very squashed, at the point where the columns are.

We use this to store data, eg with a radio button or check box to hide or show the data if the user chooses to do so.

Does anyone know if there is there way of getting of this.

Thanks

Colin


At 17 DEC 2001 05:17AM Oystein Reigem wrote:

Colin,

Tried the following on Win 2000: In Form Designer made a form with an edit table with 3 columns, and set the width of the second column to 0. Test ran. A bit of the second column's heading was visible, but there was no trace of the content. When I resized (at runtime) the heading bit disappeared too.

I run OI 3.61.

- Oystein -


At 17 DEC 2001 05:42AM Richard Guise (Tornado Property Systems Ltd.) wrote:

We used to use protected zero width columns but the cursor behaviour is a bit odd - and also one is limited to 1,000 chars text per cell.

Hence use a hidden linked edit line. Table ins/delrow trigger equivalent action on edit line contents. Options (or our "zoom" event) from edit table cell to call text edit overlay reading/writing from/to the hidden edit line.

If edit table col not zero width (to show there's something there), use post read to fill col from edit line.

It works - we've been doing it for years!


At 17 DEC 2001 11:01AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Colin,

Any reason for not using the hide column style bit?

The Sprezzatura Group

World leaders in all things RevSoft

www.sprezzatura.com_zz.jpg


At 18 DEC 2001 03:52AM Colin Rule wrote:

Laziness??

Point taken.

Zero width on 95 and 98 works fine so rash assumptions on my behalf that NT should do the same. Damn 32 bit systems!!

I will have to take the bull by the horn and adjust my code… ahh!

Thanks

Colin

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/9474fa4fd8593ecb85256b250037cf55.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1