Jump to content

Mohammad Hamdan

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    5

Mohammad Hamdan last won the day on May 29 2014

Mohammad Hamdan had the most liked content!

Contact Methods

  • Website URL
    http://www.arqami.net

Profile Information

  • Gender
    Male
  • Location
    Jordan

Recent Profile Visitors

736 profile views

Mohammad Hamdan's Achievements

Newbie

Newbie (1/4)

9

Reputation

  1. Yes i want to use that in local network, make a server and waiter app connected to local DB I use SQL server. This app will work by side with POS system . The waiter will order the items, print in the kitchen, then this order is closed by cashier through the POS system. @ mohammad is that a uniGUI or android app ?
  2. I want to ask, uniGUI Mobile, is it an App or browser based? I want to make a mobile app for restaurant waiter, app connected to local DB, he order the items, save order, print that order etc... Can i use uniGUI Mobile for that ?
  3. Sorry, but i'am not familiar with Javascript in uniGui but how to Replace the "This is some text" I have used the code, but should i add this code to every element on my forms? Could you send a sample? I used the code as follow: For those controls and text that i want user to copy, >> OnClick on uniEdit CopyEvent(edit1.text) procedure TMainForm.CopyEvent(FText: string); begin UniSession.AddJS( 'var isIe = (navigator.userAgent.toLowerCase().indexOf("msie") != -1 ' + ' || navigator.userAgent.toLowerCase().indexOf("trident") != -1); ' + ' ' + 'document.addEventListener("copy", function(e) { ' + ' var textToPutOnClipboard = "' + FText + '"; ' + ' if (isIe) { ' + ' window.clipboardData.setData("Text", textToPutOnClipboard); ' + ' } else { ' + ' e.clipboardData.setData("text/plain", textToPutOnClipboard); ' + ' } ' + ' e.preventDefault(); ' + '}); ' ); end; In IE, this code is not working.
  4. How can i copy text to clipboard in Web mode I have used these two lines Clipboard.AsText := 'Some Text'; Clipboard.setTextBuf('Some Text'); works while running in the IDE, but when i deploy, this not works Please any help Delphi XE5 uniGUI 0.95.0.1046
  5. This is a Sample Project of using String Table as mentioned in my last replay String table Example stringID LanguageID String Description 1 1 Hello 1 2 ¡hola 2 1 OK 2 2 bueno in this sample i used the ClientDataset to load the String table, so you can replace that from Data Base as you need Note: Look at the control Tag Property the Hello labe tag = 1 -- meets the Hello string ID the OK button tag = 2 -- meet the OK string ID Project10.rar
  6. For this thing, i have a "String table" in the DataBase where i have all strings used in forms for multiple languages , When start the application and choose the language, i load all strings from database according to the language ID then i have a function that loops through controls and set the caption for each control I use the TAG property of the control(such as LABEL.tag) String table Example stringID LanguageID String Description 1 1 Hello 1 2 ¡hola 2 1 OK 2 2 bueno then, the Hello label tag will be 1
  7. I have a uniGUI application which supports two language of UI, the log in form have a user login name and password, and have a drop down menu for selecting the language 1- English 2- Arabic(RTL) the Arabic language needs the MainModule RTL property to be True How can i set the RTL property to MainModule after checking the log in information and view the Main form uniMainmodule.RTL := true is not working;
  8. Menu Idea: This Example Shows how to dynamically create a nice Menu for your application using uniGui Standard components MenuSample.rar
  9. Sample for creating Collapsible Side Menu, Collapse using Code Delphi XE5 uniGui 0.95 W-Sample1.rar
  10. In Main Form, OnShow Event, i have called the FlipChildren(true); this raise an ERROR uniGui 0.94 1024 Delphi XE5 Windows 8.1 Note: I have Called the RTL := True; onShow Event and this works.
×
×
  • Create New...