TrDBGrid OnLoadPickList

12 views
Skip to first unread message

Andy Bell

unread,
Apr 14, 2025, 2:40:05 AMApr 14
to Rosi Delphi Components
Hi Tomas

This event happens when the grid is first instantiated. 

Is it possible to trigger this event to refresh the picklists - so that they can update the values?

Many thanks

Andy

Tomas Rosinsky

unread,
Apr 14, 2025, 3:03:36 PMApr 14
to Rosi Delphi Components
Hi Andy,

event FOnLoadPickList is used inside of LoadAutoPickList procedure which sets automatically PickList values for selected columns/fields as distinct list from current values.

You can call LoadAutoPickList also by your code in any moment.
Also please note that fixed list of values for picklist can be defined in design time or in run time by Column.PickList property.

I hope it helps
Tomas
Dne pondělí 14. dubna 2025 v 8:40:05 UTC+2 uživatel Andy Bell napsal:
Reply all
Reply to author
Forward
0 new messages