Tag: scriptcase

Integrate openseadragon into Scriptcase form

OpenSeaDragon Sample in scriptcase form

load openseadragon library to zoom, rotate,… images on a Scriptcase form OpenSeadragon An open-source, web-based viewer for high-resolution zoomable images, implemented in pure JavaScript, for desktop and mobile. Steps to integrate into a Scriptcase project Download the ZIP file. Create

Posted in Scriptcase Sniplets Tagged with: , ,

Display current time in a Scriptcase menu application

Timer-Anzeige rechts im Menü

Show the current time refreshing in a menu application (Scriptcase) In Scriptcase projects you can show the current time interactive. Best to use is the menu application, cause it usually wraps the other applications of a project. 1. Define the

Posted in Scriptcase Sniplets Tagged with: , , , , , ,

Check if ScriptCase Project on PC or mobile device

Is the Application running on a mobile device? Download and use the class mobiledetect (http://mobiledetect.net) as an external library in your Scriptcase Application. Usually you would have to add something like to add the library:

But it seems that

Posted in Scriptcase Sniplets Tagged with: , ,

Scriptcase sc_exec_sql with error handling

sc_exec_sql with error handling The macro  sc_exec_sql()  is used in Scriptcase to execute SQL commands. Unfortunately it does not return errors when executed. As another way the macro  sc_select()  can be used to execute SQL commands. And it is abe to return (and

Posted in Scriptcase Sniplets Tagged with: , , , , ,

Scriptcase Extension for Google Chrome Browser

Chrome Extension to optimize the IDE of Scriptcase This extension for Google Chrome improves the development using Scriptcase. It adds a lot of new features to the IDE: a newer and better code editor using Sublime Text with more options

Posted in Scriptcase Sniplets Tagged with:

Toggle slider as select- or radio-buttons in Scriptcase

Show graphical on/off-switches in select or radio-elements of Scriptcase Forms Usually Scriptcase Form-Applications use the HTML elements to show Select- and Radio-elements: This can be changed by using a CSS and a ‘replace’-code:   1. Load the new CSS definition

Posted in Scriptcase Sniplets Tagged with: , , , ,

Save the data of a Scriptcase form via Ajax Event or PHP

Save the content of a Scriptcase Form within an event Sometimes it is necessary to save the content of a Scriptcase form without using the Update or Insert button. Create a small Javascript method in the Scriptcase Form: Programming >

Posted in Scriptcase Sniplets Tagged with: , , , ,

Check if Scriptcase development server or deployed environment

Check if the software runs on a Scriptcase development environment or deployed server Sometimes it is necessary to change parameters, depending on the environment the software is running on: Scriptcase Development or a server with the deployed application. Example: Accessing

Posted in Scriptcase Sniplets Tagged with: , , , , , , ,