User Tag List

Results 1 to 4 of 4

Thread: [Android] Colors & cursor workaround for EditBox ?

  1. #1
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    retrobruno's Avatar
    Join Date
    Dec 2018
    Location
    Somewhere in time
    Posts
    16
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question [Android] Colors & cursor workaround for EditBox ?

    Hello,

    I'm searching for workaround about EditBox.

    1) I would like to have two colors on an EditBox, but i think it is impossible for now, with Android exporter.
    I've imagined a workaround, but i don't know if it is possible.
    Is it possible to have two EditBox, with the same size, the same position, the same mono fonts, (like "Courier" or "CourierNew"), and set different colors for it, and transparent background for the EditBox at the top of the view ?
    In this case, i think i should replace blanks from the top EditBox by texts with an other color at the bottom one ?
    How CF 2.5 will works with it on Android ? Do you think it is possible ?
    Or may be do you know a plugin i can order somewhere to do this properly ?

    2) When i loose the focus on an EditBox, and when i get it again, by pushing on the EditBox, the cursor has changed its position.
    Is there a solution to get and set its position within events ?

  2. #2
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    retrobruno's Avatar
    Join Date
    Dec 2018
    Location
    Somewhere in time
    Posts
    16
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the doublepost, i answer to myself :

    The first problem could only be solved if the second is solved. But i've found no plugin to change the cursor (the caret) position of and editbox, both for Windows & Android.

    Is it possible to simulate a click (or a simple touch) somewhere on the screen, by programmation ?

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,743
    Mentioned
    297 Post(s)
    Tagged
    4 Thread(s)
    are you using two different object or copying teh same one?

    if so you can not handle them correctly

    my suggestion is to use a different editbox object for different fields
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    retrobruno's Avatar
    Join Date
    Dec 2018
    Location
    Somewhere in time
    Posts
    16
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks Fernando

    You given me a great idea ! If i can't mix the two editbox in one, i can write references numbers in the first editbox text (for exemple "My text is here. [See sentence 1] My texte continue here"), and make a numbered list of sentences in the second.

Similar Threads

  1. Android EditBox input question.
    By gagegage926 in forum Fusion 2.5
    Replies: 1
    Last Post: 29th December 2018, 01:32 PM
  2. How to know the colors used in 32768 colors app?
    By paobrasil in forum Fusion 2.5
    Replies: 1
    Last Post: 29th May 2014, 02:21 PM
  3. EditBox bug in flash. Workaround?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st May 2013, 10:26 AM
  4. Editbox Cursor Position
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd October 2006, 01:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •