Previous | Next | (P-PDF) Forms & FDF
Topic: Problems with show/hide & Z-order
Conf: (P-PDF) Forms & FDF, Msg: 100760
From: mwra
Date: 11/19/2003 06:52 AM
[targeting v4.x/v5.x Reader, creating in v5.05(win)]
If you want to show/hide some info text when the mouse is inside a table you can add show/hide actions to all the fields but this does give a lot of flicker. So I tried adding a field around the whole table but hit the following issues...
1. Z-order. Adding the 'whole table' field last effectively blanked out all the existing per-cell fields. There seems to be no z-order (set to front/back) tool and even if there was I guess putting the whole table field at the back it wouldn't be 'seen' by Reader. I take form this that with overlapping fields only the top field is actioned. I thought perhaps if I set the whole table field slightly larger than the table and placed it at the back , the mouse would pass over the whole table filed before entering the per-cell fields. However, I now need a sent to the back tool.
2. Action not fired. I used a non-visible text field for the whole table field in #1 above. I made it read-only to stop the user inadvertently typing in data but it wouldn't respond. I discovered read-only fields don't respond to mouse enter/exit events! So I made the field a button with no action, icon only with no icon/fill set. This seems to work although you get an unwanted hand icon over the field. Is this the recommended field type for a show/hide trigger that has no other purpose on the form?
I'm obviously doing this wrong. Suggestions welcomed!
BTW, I'm not using focus events as these were only introduced in v4.05 - i.e. not available for v4.0 users (and I can't mandate a change to v4.05 minimum). Again, I may be wrong here and am happy to be corrected.
Regards
Mark