Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scrollable textarea in clockface

ANSWERED

In Versa 3 I made a clockface with a Textarea element in it. In that Textarea, new data are appended periodically. At a certain point in time, the content of the Textarea that goes beyond the screen display size (length of the watch screen) is no longer being seen of course. Is it possible to make the Textarea scrollable in a Clockface? Knowing that it is in the clockface and not an app?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

It was a nightmare to have this implemented successfully, so I abandoned the idea to an alternative to achieve what I want without much toil fighting against a limited and intransigent Fitbit SDK: I read the file into an array and displayed it sequentially in "chunks" onto the same Textarea "area" that fits the screen.

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

@francogrex - yes it's sort of possible but not in the same way.

You can use a scrollbar like in Windows or you could use a multiple tap mechanism, 2 to go up, 3 to go down.

Otherwise system functions take control most often, small scroll from the middle of the screen can also work but isn't really a reliable solution.

Author | ch, passion for improvement.

Best Answer

Thanks Guy_. Do you have links to examples, both a windows type scrollbar (preferable) or a taps?

Best Answer
0 Votes

@francogrex- Scroll bar example from SimpleClockPro with 2 tappable areas, one top and one bottom.

use topOne.onclick and bottomOne.onclick functions to detect taps

Example scroll bar in SimpleClockDuoExample scroll bar in SimpleClockDuo

You can make short lines in a textarea by using

var LineFeed = "
";

You have to control how many lines are moved in each direction

Free flow text is more complicated.

Author | ch, passion for improvement.

Best Answer
0 Votes

no source code to see there unfortunately

Best Answer
0 Votes

@francogrex- it depends on the watch model and screen sensitivity, but the mouse event is a way to scroll, though it is only the scroll detection you will need to arrange the text movement within the textarea..

Author | ch, passion for improvement.

Best Answer
0 Votes

It was a nightmare to have this implemented successfully, so I abandoned the idea to an alternative to achieve what I want without much toil fighting against a limited and intransigent Fitbit SDK: I read the file into an array and displayed it sequentially in "chunks" onto the same Textarea "area" that fits the screen.

Best Answer
0 Votes