RE: Hidden or not Hidden for dynamic Label in Form
Παντελής Μάγκος <[email protected]> Fri, 4 Aug 2006 16:59:52 +0300
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
Did you try
CALL f.setElementHidden("formonly.txx_preis",1)
(do not use upper case!)
-----Original Message-----
From: Schlykow [mailto:[email protected]]
Sent: Παρασκευή, 4 Αυγούστου 2006 3:19 µµ
To: [email protected]
Subject: [fourjs-users] Hidden or not Hidden for dynamic Label in Form
Hello genero freaks,
perhaps somebody has a solution for the following problem:
In a form there are some edit fields and some dynamic labels.
I wish to hide a special edit field depending from the user.
That’s no problem:
CALL f.setElementHidden("customer.custid",1)
It works, but the corresponding label does not hide!
It is a label similar like this:
label mx33 = txx_Preis
After the opening of the form a function displays ‘Price’ to txx_Preis.
(THIS IS UNCHANGBLE FOR ME !!!)
If I do the statement: CALL f.setElementHidden("FORMONLY.txx_Preis",1)
the Word ‘Price’ is visible, not unvisible!
The only solution for me is DISPLAY “ “ TO txx_Preis.
This works, but is not very smart, because the runtime systems
can not regognize, that the form is less large then before and
ornaments the form with a scrollbar which is actually unnecessary.
2. Question:
How can I make invisible some formfields outside(!) of the
INPUT BY NAME statement, and not changing the form with ‘HIDDEN’
in the Attributes of the field?
is this possible ?
any hints welcome
Georg
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 3/8/2006