Shows or hides a picker icon for the Date / DateTime control.
Generators: Android
Level: Design System Style Class
Consider a Panel object that contains a &DateOfBirth variable.
By default, a date picker for the Date or DateTime field will be displayed at runtime:
The &DateOfBirth variable class property is set to a certain Design System Object class.
To hide the icon, in the Design System Object class assigned to the &DateOfBirth variable, configure its gx-hide-date-time-picker property = True.
Suppose your Knowledge Base is named "BillingSystem". Therefore, a predefined Design System object is created with the same name.
The Style tab of the "BillingSystem" Design System object contains the following code:
styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
}
Define there a class named "YourProfile" with its "gx-hide-date-time-picker" property set to True.
styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
.YourProfile
{
gx-hide-date-time-picker: True;
}
}
Check that the &DateOfBirth variable class property is set to .YourProfile.
Build the Panel and run it; after that, the icon for the Date field should no longer be displayed.
This property applies only at design time.
This property is available since GeneXus 18 Upgrade 7.