Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
6
Erster Beitrag:
vor 4 Jahren, 4 Monaten
Letzter Beitrag:
vor 4 Jahren, 4 Monaten
Beteiligte Autoren:
Ruben Sanchez Peña, Peter Holemans

WM18, Android and dynamic control creation

Startbeitrag von Ruben Sanchez Peña am 29.11.2013 11:33

Hi. I'm building and application to share images like a tipical gallery. I want create the images in runtime when i know the number of images to show, because the LOOPER control is very limited.

In WM18 i found the function CloneControl. This allow me create the image and load to show it in the gallery. But, i can't found the function equivalent to destroy the control (like the function exist for WD). How can i destroy the controls created at runtime?

Do you have, maybe, another method to build the image gallery?

Thank you


Rubén

Antworten:

ControlDelete() is your friend...

Cheers,

Peter H.

von Peter Holemans - am 29.11.2013 13:55
Hi. Thank you Peter.

But the help file doesn't show Android allowing ControlDelete... Only ControlClone is allowed.

This is the reason of my question... I can create the control but not delete it.


Rubén

von Ruben Sanchez Peña - am 29.11.2013 14:14
Strange, in the online French V18 help it is indicated as available for Android...
http://doc.pcsoft.fr/fr-FR/?3025037&name=champsupprime_fonction&q=ChampSupprime

In the English it is indicated as unavailable... The French usually is the right one.
http://doc.pcsoft.fr/en-US/?3025037&name=champsupprime_fonction&q=ChampSupprime

Cheers,

Peter H.

von Peter Holemans - am 29.11.2013 15:04
Thank you again Peter. Yes, it's very strange.

The English IDE mark the functon ControlDelete in Red and say "The ControlDelete function has no equivalent in WL/Android framework".


Rubén

von Ruben Sanchez Peña - am 29.11.2013 15:27
Hi. The PCSoft response is the help french documentation is wrong. ControlDeleted equivalent function isn't allowed at french IDE version.


Rubén Sánchez

von Ruben Sanchez Peña - am 03.12.2013 12:46
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.