GoodHands_Delphi
asked on
List Items Clear current label
Hi,
Does anybody knows how to clear the existing label of an Item List? I know Clear_List Function...What I mean is after I have cleared my Item List still the current label still exist....anyone has an idea?
regards
Does anybody knows how to clear the existing label of an Item List? I know Clear_List Function...What I mean is after I have cleared my Item List still the current label still exist....anyone has an idea?
regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi
I tried your solution but it seems nothing happened...still current label exists once i press button for refresh...I have set required to NO and then try SET_ITEM_PROPERTY..by the way I use combo box for my list style..FYI....tnx...apprec iate for you reply...
regards
I tried your solution but it seems nothing happened...still current label exists once i press button for refresh...I have set required to NO and then try SET_ITEM_PROPERTY..by the way I use combo box for my list style..FYI....tnx...apprec
regards
Hi,
set "Initial Value" property of your list item to NULL during design time (If you need an initial value, assign it in when-new-form-instance trigger)
regards
----------------------
For a Poplist or T-list-style list item, CLEAR_LIST will not clear the default value element or the other values element from the list if they do not meet the criteria specified for deleting these elements with DELETE_LIST_ELEMENT.
When either the default value or other values element cannot be deleted, CLEAR_LIST leaves these elements in the list and clears all other elements. Refer to the restrictions on DELETE_LIST_ELEMENT for more information.
set "Initial Value" property of your list item to NULL during design time (If you need an initial value, assign it in when-new-form-instance trigger)
regards
----------------------
For a Poplist or T-list-style list item, CLEAR_LIST will not clear the default value element or the other values element from the list if they do not meet the criteria specified for deleting these elements with DELETE_LIST_ELEMENT.
When either the default value or other values element cannot be deleted, CLEAR_LIST leaves these elements in the list and clears all other elements. Refer to the restrictions on DELETE_LIST_ELEMENT for more information.
ASKER