Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 5 Jahren, 1 Monat
Letzter Beitrag:
vor 5 Jahren, 1 Monat
Beteiligte Autoren:
ccc2, Ericus, James Smiths

[WM18 Android 4.1] Bugs in Looper

Startbeitrag von ccc2 am 15.07.2013 11:05

Hi,

is it me or alot of looper functions not working in android ? the help said supported .

for example the functions :
- looperdisplay
- looperselectminus
- lopperSelectPlus


I have another issue with looper , I have a bg picture and on top is a looper . outside border -bckgrd color is set to transparancy . this cause that when user press on looper . a square box with the bg picture showing . I unable to deselect . any solution?

Antworten:

At least I now know I am not wrong.

look at my other problems with loopers

http://27130.foren.mysnip.de/read.php?27131,166127

http://27130.foren.mysnip.de/read.php?27131,165052


James

von James Smiths - am 15.07.2013 14:48
Hi

You cannot use LooperSelectPlus in Android. It is not supported.

You can refer to the row as LOOPER_MyLooper[Looper_MyLooper] but you still have to find the row.

You can use:

For I=1 to Loopercount(LOOPER_MyLooper)
-Looper_MyLooper //The current line
end

Regards


Ericus Steyn


von Ericus - am 16.07.2013 13:29
Hi,

according to the help, it's supported
http://doc.windev.com/en-US/?3083025&product=WD&productversion=XXA150056M


Quote
Ericus
Hi

You cannot use LooperSelectPlus in Android. It is not supported.

You can refer to the row as LOOPER_MyLooper[Looper_MyLooper] but you still have to find the row.

You can use:

For I=1 to Loopercount(LOOPER_MyLooper)
-Looper_MyLooper //The current line
end

Regards


Ericus Steyn


von ccc2 - am 17.07.2013 00:19
Hi

found another strange problem. I have a looper with a static control on top of it


strange trailing number attach to value .

here how i fill the looper from query

the query result
pgm_name disp_txt
pgmA pgmA
pgmB pgmB
pgmC pgmC
pgmD pgmD

HReadFirst(Q_Menu1)
WHILE NOT HOut(Q_Menu1)

LooperAddLine(LOOP_Menu, Q_Menu1.pgm_name)

LOOP_Menu[M_cnt].STC_description = Q_Menu1.disp_txt
IF IsEven(M_cnt) THEN
LOOP_Menu[M_cnt].STC_description..Color = White
ELSE
LOOP_Menu[M_cnt].STC_description..Color = RGB(58,0,0)
END


M_cnt += 1
HReadNext(Q_Menu1)

END


from looper event "selecting a row of looper_menu"

Info(LOOP_Menu[LOOP_Menu..Value]..Value)

what come out when
I pressed pgmA , prompt pgmA58
I pressed pgmB , prompt pgmB16777215
I pressed pgmC , prompt pgmA58
I pressed pgmD , prompt pgmB16777215

as you can guess it is the color code from the static control . I remark of the
// LOOP_Menu[M_cnt].STC_description..Color = White

and

// LOOP_Menu[M_cnt].STC_description..Color = RGB(58,0,0)

then problem solved . but why? any alt solution cause I need the static control color

von ccc2 - am 22.07.2013 12:41
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.