Skip to main content

dear all,

           I want to give CCombobox a default value when I open the page. How can I implement it? I tried to assign it a value under the load event, but the page doesn't show up correctly

 

sorry,I'm a novice.It's a cdatafield, not a CCombobox

 


Hi,

 

  • IFS Framework invokes the vrtDataRecordGetDefaults method to retrieve client default values for new records.
  • Therefore Client default values can be set by overriding the vrtDataRecordGetDefaults method.
  • You can refer the F1 Documentation for more details on implementation

https://wit.ifsworld.com/f1docs/apps9/Foundation1/050_development/022_user_interface/045_ee_dev/027_apf_development/110_develop_table_window/default.htm 


Who can tell me, for example, when vrtdatarecordgetdefaults will be triggered? Now I know it's time to click new, but there are many other default IFS methods. I want to know which ones are available, when they will be triggered, and where there are documents. I found F1, but I didn't get anything. Thank you very much