Search found 177 matches

by evil
Sun Feb 16, 2020 2:05 pm
Forum: RapaGUI
Topic: slider.horiz on Android
Replies: 4
Views: 5034

Re: slider.horiz on Android

Ok. To describe my problem: I'm writing a small vocabel-trainer for my doughter. It includs a list of all vocabels, which should be shown via a listview. Listviews on Android don't have a silder themself, so its annoying to scroll about some thousand vocables.... I'll see, what I can do about... Tha...
by evil
Sun Feb 16, 2020 2:53 am
Forum: RapaGUI
Topic: Menus on Android
Replies: 4
Views: 5255

Re: Menus on Android

Does this work on RapaGUI, too?? Seems not to work here, but haven't invesigatet much more this evening...
by evil
Sun Feb 16, 2020 2:51 am
Forum: RapaGUI
Topic: slider.horiz on Android
Replies: 4
Views: 5034

Re: slider.horiz on Android

Here it is: xml$=[[ <?xml version="1.0" encoding="iso-8859-1"?> <application id="app"> <window id="main" title="slider-test"> <hgroup> <slider horiz="0"/> </hgroup> </window> </application> ]] @REQUIRE "RapaGUI" moai.CreateApp(xml...
by evil
Sat Feb 15, 2020 3:55 pm
Forum: RapaGUI
Topic: slider.horiz on Android
Replies: 4
Views: 5034

slider.horiz on Android

Hello! Slider.horiz seems to have a bug on Android! Creating a simple vertical slider (" <slider horiz="0"/> ") creates a slider, which takes the whole height of the group (what is correct). But you cannot slide it vertically. Instead it slides a very little bit horizontally (abo...
by evil
Sat Feb 15, 2020 3:41 pm
Forum: RapaGUI
Topic: Menus on Android
Replies: 4
Views: 5255

Menus on Android

When creating menus, we have to use menubar.class On Android, normally all menuitems are inside one single gadget. With Hollywood applets instead you first need to select a menutitle (ie. "project") and then can select a menuitem. Is there a possibility to use menus just like normal menus ...
by evil
Tue Jan 21, 2020 11:55 pm
Forum: General programming
Topic: #ATTRCURSORX for Brushes
Replies: 4
Views: 5109

Re: #ATTRCURSORX for Brushes

Cool! That helps a lot!

Thanks for the hint

Best regards

George!
by evil
Tue Jan 21, 2020 12:44 am
Forum: General programming
Topic: #ATTRCURSORX for Brushes
Replies: 4
Views: 5109

Re: #ATTRCURSORX for Brushes

Correct.

I create a brush, select it and print some text in it. Afterwards I need the actual cursor-position inside the brush.
It must be set somewhere, because when printing more text into the brush, It will be printed right after the first text...
by evil
Fri Jan 17, 2020 3:47 pm
Forum: General programming
Topic: #ATTRCURSORX for Brushes
Replies: 4
Views: 5109

#ATTRCURSORX for Brushes

Hiho!

When printing directly onto the display, GetAttribute(#Display,id,#ATTRCURSORX) gives me the actual cursor position, where the next text would be printed.
Is there an equivalent for brushes??
by evil
Sun May 05, 2019 12:40 pm
Forum: General programming
Topic: GetAttribute() using #SAMPLE and #ATTRPOSITION
Replies: 3
Views: 2873

Re: GetAttribute() using #SAMPLE and #ATTRPOSITION

Yes, that helps. Thanks!
by evil
Sat May 04, 2019 2:51 pm
Forum: General programming
Topic: GetAttribute() using #SAMPLE and #ATTRPOSITION
Replies: 3
Views: 2873

GetAttribute() using #SAMPLE and #ATTRPOSITION

Hello! I need to get the actual Sampleposition, while playing it. So I use GetAttribute(#SAMPLE,id,#ATTRPOSITION) to get that value. On OS3 (Amithlon) everything works fine, but on OS4 I get very nasty values. In the following Code I get values around -1151680034, while the #DURATION-Attribute gives...