<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.schweda.net/style_feed.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:atom="http://www.w3.org/2005/Atom"	
	xmlns:dc="http://purl.org/dc/elements/1.1/" > 
<channel>
    <title>schweda.net - Blog</title>
    <link>https://www.schweda.net/</link>
    <description>schweda.net - Blog - Blog-Beitraege</description>
    <language>de-at</language>
    <copyright>Copyright 2006-2026</copyright>
    <generator>schweda.net</generator>
    <managingEditor>heinz.schweda@schweda.net (Heinz Schweda)</managingEditor>
    <webMaster>heinz.schweda@schweda.net (Heinz Schweda)</webMaster>
    <category>Blog</category>
	<atom:link href="https://www.schweda.net/blog_rss.php?bid=674" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[Enum-Werte im Formular ausblenden]]></title>
<description><![CDATA[
<p>Um in einem Formcontrol, das von einem Base enum abgeleitet ist, bestimmte Werte auszublenden, kann man sich der <em>enter()</em>-Methode bedienen.&nbsp;
</p>


<pre class="pre_blog_axcode">
[Control(&quot;ComboBox&quot;)]
class LedgerJournalTypeCB
{
    public void enter()
    {
        super(); 

        this.delete(enum2str(LedgerJournalACType::Vend));
        this.delete(enum2str(LedgerJournalACType::Cust));
    }
}
</pre>]]></description>
<category>Microsoft Dynamics 365 for Finance and Operations</category>
<pubDate>Thu, 31 Oct 2019 20:39:00 +0100</pubDate>
<link>https://www.schweda.net/blog_d365.php?bid=674</link>
<comments>https://www.schweda.net/blog_d365.php?bid=674</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_d365.php?bid=674</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_d365.php?bid=674</wfw:commentRss>
</item>
<item>
<title>Kommentar von Thomas</title>
<description><![CDATA[Hat man dabei nicht das selbe Problem wie in Ax2012 dass wenn man Werte in der Mitte vom Enum löscht danach die Auswahl nicht mehr stimmt? (also es wird ein anderer Wert verwendet als der den man ausgewählt hat) 

siehe 
https://stackoverflow.com/questions/28259786/hiding-enum-elements-on-runtime-ax-2012

dort wird empfohlen stattdessen eine SysFormEnumComboBox zu verwenden]]></description>
<category>Microsoft Dynamics 365 for Finance and Operations</category>
<pubDate>Thu, 22 Jul 2021 14:56:00 +0200</pubDate>
<link>https://www.schweda.net/blog_d365.php?bid=674</link>
<guid isPermaLink="true">https://www.schweda.net/blog_d365.php?bid=674</guid>
<author>Thomas</author>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heinz Schweda</dc:creator>
<wfw:commentRss>https://www.schweda.net/blog_d365.php?bid=674</wfw:commentRss>
</item>
</channel>
</rss>	
