|
| Hide/Show fields/blocks |
 |
Wed, 28 Nov 2007 08:58:02 +010 |
Hi,
I have a trouble with a window there I need to hide/show fields depending on
choices maid in the window. Changing field values directly in window make it
difficult to work and it is just field values that are supposed to control
showing/hiding.
I have tried with CONTROL "Hide <block> <field>" and it
work well in
development version but GUI version is a mess. I have tried to have fields
in different blocks and make the whole bloc show or hide but the result is
even worse.
Besides that, the window size is supposed to change depending on how many
fields is visible. Is that possible?
The version of XAL is 3.1
Grateful for any hint,
Nadira
|
| Post Reply
|
| Re: Hide/Show fields/blocks |
 |
Wed, 28 Nov 2007 18:24:43 +010 |
Hello Nadira,
I think you've to use the following (copy form helpfile):
REPAINT is used to re-display the entire form to show all changes made
such as adjustments of field length etc. Note that text changed using the
TEXT control command is not re-read and must be entered again. The syntax
for the command is:
CONTROL "REPAINT"
The indirect syntax for the command is:
#Frm_REPAINT
Regards Detlev
If no block name is included, all visible records in the current block will
be updated.
"Nadira H Likic" <nadira.likic@itkgroup.se> schrieb im
Newsbeitrag
news:%23As7oRZMIHA.3916@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I have a trouble with a window there I need to hide/show fields depending
on
> choices maid in the window. Changing field values directly in window make
it
> difficult to work and it is just field values that are supposed to control
> showing/hiding.
> I have tried with CONTROL "Hide <block> <field>" and
it work well in
> development version but GUI version is a mess. I have tried to have fields
> in different blocks and make the whole bloc show or hide but the result is
> even worse.
>
> Besides that, the window size is supposed to change depending on how many
> fields is visible. Is that possible?
>
> The version of XAL is 3.1
>
> Grateful for any hint,
> Nadira
>
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|