<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Language and dialect - Quartex Pascal Forum				            </title>
            <link>https://quartexdeveloper.com/community/language-and-dialect/</link>
            <description>Quartex Pascal Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 14 Apr 2026 08:15:31 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>TQTXComboBox</title>
                        <link>https://quartexdeveloper.com/community/language-and-dialect/tqtxcombobox/</link>
                        <pubDate>Wed, 05 Apr 2023 19:36:30 +0000</pubDate>
                        <description><![CDATA[Does somebody know how to get the index of the Selected Item inside a Box? This is probably quite simple, but I miss the ItemIndex from a regular TCombobox.
 
Christian]]></description>
                        <content:encoded><![CDATA[<p>Does somebody know how to get the index of the Selected Item inside a Box? This is probably quite simple, but I miss the ItemIndex from a regular TCombobox.</p>
<p> </p>
<p>Christian</p>]]></content:encoded>
						                            <category domain="https://quartexdeveloper.com/community/language-and-dialect/">Language and dialect</category>                        <dc:creator>Hackbart</dc:creator>
                        <guid isPermaLink="true">https://quartexdeveloper.com/community/language-and-dialect/tqtxcombobox/</guid>
                    </item>
				                    <item>
                        <title>TQTXWindow general question</title>
                        <link>https://quartexdeveloper.com/community/language-and-dialect/tqtxwindow-general-question/</link>
                        <pubDate>Wed, 05 Apr 2023 08:45:40 +0000</pubDate>
                        <description><![CDATA[Hi,
 
i have two issues I am a bit unaware of. I want to create a windowed project and the first window is a login dialog box. The box should be centered in the middle and whenever it is v...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p> </p>
<p>i have two issues I am a bit unaware of. I want to create a windowed project and the first window is a login dialog box. The box should be centered in the middle and whenever it is visible all other frames should be disabled and the background turned dark. The login window not not be resizable or closable. To do so I set the options property to [] in InitializeObject. However the frame is still resizable and I can close it by clicking the responsible buttons. I would also like to put a panel on top with the description "&lt;b&gt;description&lt;/b&gt;&lt;br&gt;lorem Ipsum". This works like intend, but I also can not force the panel to stick on top and resize if necessary.</p>
<p> </p>
<p>I am aware these questions are quite dumb.</p>
<p>Cheers</p>
<p>Christian</p>]]></content:encoded>
						                            <category domain="https://quartexdeveloper.com/community/language-and-dialect/">Language and dialect</category>                        <dc:creator>Hackbart</dc:creator>
                        <guid isPermaLink="true">https://quartexdeveloper.com/community/language-and-dialect/tqtxwindow-general-question/</guid>
                    </item>
				                    <item>
                        <title>Porting Javascript to QuartexPascal</title>
                        <link>https://quartexdeveloper.com/community/language-and-dialect/porting-javascript-to-quartexpascal/</link>
                        <pubDate>Fri, 24 Feb 2023 20:45:49 +0000</pubDate>
                        <description><![CDATA[Hi,
i am quite new to it, so forgive me my (most likely) stupid question. I want to create vertical panes in a list which contain some text and an image under QuartexPascal. The pure javasc...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>i am quite new to it, so forgive me my (most likely) stupid question. I want to create vertical panes in a list which contain some text and an image under QuartexPascal. The pure javascript implementation looks like this.</p>
<p> </p>
<pre contenteditable="false">&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Kacheln&lt;/title&gt;
    &lt;style&gt;
      body {
        margin: 0;
        padding: 0;
        background-color: #f0f0f0;
        font-family: Arial, sans-serif;
        font-size: 14px;
      }

      .tile {
        display: inline-block;
        width: 200px;
        height: 200px;
        background-color: white;
        margin: 10px;
        position: relative;
        cursor: pointer;
        transition: transform 0.2s;
      }

      .tile:focus {
        transform: scale(1.1);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
        outline: none;
      }

      .tile-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .tile-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .tile-title {
        font-weight: bold;
        margin-bottom: 5px;
      }

      .tile-description {
        font-size: 12px;
      }
      
      .tile-container {
        /*display: flex;
        flex-direction: row;
        overflow-x: auto;*/
        width: 100%;
        height: 220px;
        align-items: center;
        justify-content: center;
      }
      
      ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
      }

      ::-webkit-scrollbar-track {
        background-color: #f0f0f0;
        border-radius: 5px;
      }

      ::-webkit-scrollbar-thumb {
        background-color: #c0c0c0;
        border-radius: 5px;
      }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class="tile-container"&gt;&lt;/div&gt;

    &lt;script&gt;
      function addTile(imageUrl, title, description, backgroundColor) {
        const tileContainer = document.querySelector('.tile-container');

        const tile = document.createElement('div');
        tile.classList.add('tile');
        tile.tabIndex = 0;

        const tileImage = document.createElement('img');
        tileImage.classList.add('tile-image');
        tileImage.src = imageUrl;

        const tileContent = document.createElement('div');
        tileContent.classList.add('tile-content');
        tileContent.style.backgroundColor = backgroundColor;

        const tileTitle = document.createElement('div');
        tileTitle.classList.add('tile-title');
        tileTitle.innerText = title;

        const tileDescription = document.createElement('div');
        tileDescription.classList.add('tile-description');
        tileDescription.innerText = description;

        tileContent.appendChild(tileTitle);
        tileContent.appendChild(tileDescription);

        tile.appendChild(tileImage);
        tile.appendChild(tileContent);

        tileContainer.appendChild(tile);
      }

      function focusNextTile(isForward) {
        const tiles = document.querySelectorAll('.tile');
        const activeTile = document.activeElement;

        if (isForward) {
          const nextTile = activeTile.nextElementSibling || tiles;
          nextTile.focus();
        } else {
          const previousTile = activeTile.previousElementSibling || tiles;
       previousTile.focus();
    }
  }
document.addEventListener('keydown', function(event) {
    if (event.key === 'ArrowRight') {
      focusNextTile(true);
    } else if (event.key === 'ArrowLeft') {
      focusNextTile(false);
    }
  });

  addTile('https://picsum.photos/200/200', 'Tile 1', 'Description 1', '#ff6347');
  addTile('https://picsum.photos/200/200', 'Tile 2', 'Description 2', '#32cd32');
  addTile('https://picsum.photos/200/200', 'Tile 3', 'Description 3', '#4169e1');
  addTile('https://picsum.photos/200/200', 'Tile 4', 'Description 4', '#da70d6');
  addTile('https://picsum.photos/200/200', 'Tile 5', 'Description 5', '#ffa500');
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>How could a solution in qtx look like?</p>
<p> </p>
<p>Cheers,</p>
<p>Christian </p>]]></content:encoded>
						                            <category domain="https://quartexdeveloper.com/community/language-and-dialect/">Language and dialect</category>                        <dc:creator>Hackbart</dc:creator>
                        <guid isPermaLink="true">https://quartexdeveloper.com/community/language-and-dialect/porting-javascript-to-quartexpascal/</guid>
                    </item>
							        </channel>
        </rss>
		