Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 7 Monaten
Letzter Beitrag:
vor 4 Jahren, 7 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



ControlDelete() is your friend...


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.


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...

In the English it is indicated as unavailable... The French usually is the right one.


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".


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.