on 05-16-2011 10:02 AM
Hi,
I'm looking for a data type (attribute that I will create in the context) to map for enable/disable a tab from my tabstrip.(for example)
Like WDUI_VISIBILITY to hide/show UI Element.
Thanks !
HI ,
You can use WDY_BOOLEAN.
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Always for properties like READ ONLY and for VISIBILITY you can always use attribute with data type : WDY_BOOLEAN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
You can use WDY_BOOLEAN for enabling/disabling any UI element if you want to enable then bind an attribute of WDY_BOOLEAN type to ENABLED property of UIElement and set the attribute as 'X' otherwise set it as '' (i.e. Blank) to diable that UIElement .
You may also use BOOLEAN datatype but here you will have to set it 'X' for enabling and "space" or ' ' for disabling.
Hope it clarifies.
Please award points if it helps.
Best Regards,
Vishesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WDY_BOOLEAN
WDUI_VISIBILITY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WDY_BOOLEAN is the type which you can use.
its value you can set abap_true or abap_false
respectively for enabling or disbaling
thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.