English
Instant Developer Foundation Documentazione
  • Reference Librerie
  • Libreria Client
  • Libreria Applicazione
  • RTC

RTC Reset

procedura copia link

Scopo

La procedura RTCReset ricarica da database tutti i dati di configurazione run-time dell'applicazione. Normalmente questa procedura viene chiamata durante l'esecuzione dell'applicazione dopo aver modificato il valore di almeno uno di seguenti parametri RTC:

  • RTCLanguage
  • RTCUserID
  • RTCGroupID

Sintassi

// Ricarica i dati di configurazione run-time
Applicazione.RTCReset()

Argomenti

Questa procedura non ha argomenti.

Esempio di codice

// ***************************************
// Fired when a command have to be handled
// ***************************************

event Prodotti.ToolbarPannello.OnCommand(
  int CommandNumber    // Use the Me proprerty of the command to know if t...
  int Index            // Index of the command within the command set (0 m...
  inout boolean Cancel // When set to TRUE, the activation object is not e...
)
{
  // Gestisco il comando
  if CommandNumber = Italiano.Me()
  {
    EsempiLB.RTCLanguage := ITA
  }
  if CommandNumber = Inglese.Me()
  {
    EsempiLB.RTCLanguage := ENG
  }
  // 
  // Ricarico tutti i dati RTC

  EsempiLB.RTCReset()
  // 
  // Ho già gestito il comando... non proseguo

  Cancel := True
  // 
  // Aggiorno la toolbar

  Italiano.Visible := RTCLanguage <> ITA
  Inglese.Visible := RTCLanguage <> ENG
}

Ultima modifica: 23/03/2021 / Validità: da 6.5.2680

Vedi Anche

  • RTC Language (proprietà)
  • RTC User ID (proprietà)
  • RTC Group ID (proprietà)

Hai trovato utile l'articolo?

Grazie per il feedback!

Ti serve altro aiuto?

Consulta il Forum