Announcement

Collapse
No announcement yet.

Setting up data entry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • frsantiago
    commented on 's reply
    Hi,

    Thank you for sharing.
    This will be helpful to others.

    Best Regards,
    Ferdinand

  • SylvainLAURENT
    replied
    Hi everyone,

    Here is my contribution about listbox.

    It's not a revolution but if it can help some ...

    Regards.




    Attached Files

    Leave a comment:


  • orbit
    replied
    Thanks Symon, I'll have a play with it

    Leave a comment:


  • Symon
    replied
    Hi,

    I've attached a sample. In this sample you can print up to 3 numbers in the list, with a corresponding button for each number. You can press UP and DOWN to select through the list. And if Delete is pressed the selected number will be deleted, then you can print again a number.

    Hope this helps
    Attached Files

    Leave a comment:


  • orbit
    replied
    Thanks Symon, that will be very helpful to me at this beginner stage of my experience with 4D displays.

    Leave a comment:


  • Symon
    replied
    Hi Orbit,

    I will send a new sample with print on a string object, delete, up and down buttons for list selection. Sorry for the late reply

    Leave a comment:


  • ESPsupport
    commented on 's reply
    In the most recent releases of Workshop you can turn on support for -ve leddigits display in the project tab

  • orbit
    replied
    Symon,

    Thanks for the sample. How do I use it?

    I opened the code and see a blank screen.

    How do I lay out GUI without seeing where the list box is, and what object ID and index do I use in my serial host commands?

    Leave a comment:


  • Symon
    replied
    Hi orbit,

    I've attached a sample that shows a listbox using ViSi-Genie Magic
    Attached Files

    Leave a comment:


  • orbit
    replied
    By the way, do the led Digits only handle positive integers? ie. I cannot use them to display values below 0 Degrees C

    Leave a comment:


  • orbit
    replied
    Thanks Mark,

    I am happy for my host to handle the processing. The entire application is a temperature monitoring alarm that sends alert up to 5 mobile phones when over temperature.

    On the main screen I set up led digits with current temperature,

    This is the easy bit that is working ok.

    I have set up a button to access "Phone Book" and another for "Alarm Setting"

    For alarm setting, I will either try to implement the copy of code from the Magic Keypad example, or I will place a slider and let them move the slider up and down to the set point (The thermometer would have been good but it only has 1 trip point and I need both a high and low).

    I think if I do something simple, I can handle the alarm setting ok.

    It is the user interface from screen for the phone book that I need the help. We have a maximum of 5 numbers that start off blank. The user then can ADD a new number and each time they add a new number, it goes into the next position in the list. This I could do with a button and string "Book" style.

    The main issue is now they want to remove or change a number, I need them to be able to select the number and edit or remove function.

    I do not need the display to keep track of the numbers etc, I can fill the boxes whenever the form is activated from form0 "phone Book" button click.

    The main think I need is the graphical interface, my host just needs to know which item (the index) is to be edited or removed and I can then activate another form to perform the edit or delete of that item. (A keypad with edit box and one of the keys can offer the "delete" function)

    Leave a comment:


  • ESPsupport
    replied
    Sorry, meant Touch events, duh.

    We'll see if we can come up with an example.

    Leave a comment:


  • orbit
    replied
    I am using Visie Genie. I was asking about how I could use components to set up a list for user to add, edit and delete phone numbers. I cannot find much information that helps understand how to add this code functionality to Visie Genie. I have seen the Magic objects and events and hoping to be able to at least use the example snippet in my application to bring up a keypad to enter lines of text and send to host when enter selected.

    I suppose by mouse events you are referring to your an analogy of if we were writing code for PC software, However, I do not see mouse events in Genie. I see only on changed event for text, but I cannot change it until I select it.

    I think the simplest way is that I will have a list of holders and place 2 buttons to move selection up and down through the list, then and Add and Remove buttons to change the number or delete it. This should work as long as I can show highlighted text (ie.. have control of the font in Genie from my host using the serial commands).

    Leave a comment:


  • ESPsupport
    replied
    Well, you don't, it's a bit like converting a command line program into a GUI program, most of it's still there, it just needs reorganising quite a bit.

    Initial draw would go to a postactivateform object and the various handlers would go to mouse events. Have a go and see what you can come up with

    Leave a comment:


  • orbit
    replied
    Thanks for the link Mark,

    How do I drop this onto my Genie form and link to the select event?

    Leave a comment:

Working...
X