Server IP : 103.118.17.23 / Your IP : 216.73.216.188 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/advanced_ajax/ |
Upload File : |
<?php require('../includes/header.inc.php'); ?> <?php $this->RenderBegin(); ?> <div id="instructions"> <h1>Making Renameable Labels</h1> <p>With the use of <strong>QLabel</strong> and <strong>QTextBox</strong> controls that can show, hide and change <strong>CssClass</strong> names depending on what action we must execute, we use <strong>QAjaxActions</strong> and various events to create a list of "renameable labels", where the interaction is similar to how files and folders can be selected and then renamed in the Finder or in Windows Explorer.</p> <p>To rename any of the labels below, click on it to highlight it. And then click it again to rename it. If you click elsewhere or hit return, the change will be saved. If you hit escape, the change will be canceled.</p> </div> <div id="demoZone"> <?php for ($intIndex = 0; $intIndex < 10; $intIndex++) { ?> <p> <?php $this->lblArray[$intIndex]->Render(); ?> <?php $this->txtArray[$intIndex]->Render('BorderWidth=1px', 'BorderColor=gray', 'BorderStyle=Solid'); ?> </p> <?php } ?> </div> <?php $this->RenderEnd(); ?> <?php require('../includes/footer.inc.php'); ?>