Visible property

Official Content
This documentation is valid for:
Determines whether a control is visible or hidden.

Syntax

control. Visible

Type returned: Boolean

Values

False
True

Description

Values

0 (false) = The control will not be visible in the form.

1 (true) = The control will be visible in the form.

Notes

  • Once a control has been made “invisible” (control.Visible = 0) it remains that way until you make it visible again (control.Visible = 1). There is an exception for buttons in Transactions, by default you only need to set the rules to disable it.
  • This property does not apply to transaction’s grids.

Samples

If we want the customer’s photo to be displayed depending on his category, we should add the following rules:

bitmap.Visible = 0 if CustomerId = 2;
bitmap.Visible = 1 if CustomerId <> 2;

Scope

Objects: Panel for Smart Devices, Transaction, Web Panel, Work With for Smart Devices
Platforms: Web(.Net, Java), Smart Devices(Android, IOS)
Controls: Action Group, Attribute, Attribute/Variable, Button, Embedded Page, FileUpload, FreeStyle Grid, Grid, Image, Responsive Table, Tab, Table, Text Block, Web Component

See Also

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.