Table of Contents

SelectClassAndAttributeDialog()

Informationen

  • Kategorien: Kernel | Klassenformeln
  • Version: 15.0.0.2867
  • Veröffentlichungsdatum: Donnerstag, 16. Juni 2011
  • Entwickler: Götzen
  • Benötigt Datenbankänderung: Ja
  • Betreff: Funktion SelectClassAndAttributeDialog()

Beschreibung

Die Funktion SelectClassAndAttributeDialog() zeigt einen Dialog an, in dem man zuerst die Klasse und dann ein Attribute dieser Klasse auswählen kann.

Die gewählte Klasse sowie das gewählte Attribute werden als Text zurückgegeben.

Syntax:

SelectClassAndAttributeDialog( «string sTitle», «string sInfoText», «int nClassFlags», «string sBaseClassName», «byref string sClassName», «int nAttributeFlags», «byref string sAttributeName» );

Beispielcode

   var string $sClass;
   var string $sAttribute;
     
   $sClass = "Inventory";
   $sAttribute = "inventory_number";

   if ( SelectClassAndAttributeDialog( "Klasse und Attribute wählen",
			        "\Klasse und Attribute wählen für xyz ...\n",
				64 + 1,
				$sClass,
				$sClass,
				2 + 4 + 31+ 512 + 32768,
				$sAttribute ) )
   {
            MessageBox( "Selected:  " + $sAttribute + ":" +  $sClass );
   }