dark_mode EN
  • Event WForm :OnFormShow
  • Parameters
    hParams

  • Return value
    NIL

Event that occurs as a service when the form is displayed. In this event it is possible to establish the initial values ​​that each of the <input> type controls will have.

METHOD Srv_FrmInit( hParams )
  LOCAL hCargo := Engine:hCargo
  HB_HSet( hCargo, "username", "John" )
RETURN HB_JsonEncode( hCargo )

Previous chevron_left Next chevron_right