PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Button Menu
Button Menu
Débuté par edward, 14 oct. 2022 12:32 - 3 réponses
Posté le 14 octobre 2022 - 12:32
I am new to Windev so I apologies if my question is too simple but I hope somebody can help.
I am trying to create a button menu specifically for a restaurant application. I would like to create or display the buttons from the data of the drinks and plates files. Is there a way to do this dynamically? I have found out hot to turn buttons visible and change caption but not to increase the name of the button control so I can use the next button for the next item.
Thanks to anybody that can help me with this project.
Posté le 15 octobre 2022 - 10:24
Hi Edward,

IF your data is limited THEN
Use ControlClone
ELSE
Use Looper control // See unit example "The Looper control"
END


Hope this helps
MerijnW
Posté le 16 octobre 2022 - 06:27
Hola Eduardo, Tambien puedes usar un Looper y dentro utlizar la propiedad del titulo en uno de los atributos, asi cargas la informacion a partir de tu Query o Datafile y el looper los rellenara de manera dinamica, Saludos
Posté le 16 octobre 2022 - 06:32
Quizás pueda Ayudarte el siguiente Link, es de un canal que tengo en Youtube (Esta en Español):



Saludos
Cleiver Coello