FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
How to Create The Control Shown in the Image..
How to Create The Control Shown in the Image..
Débuté par PrinceFemiAdeniyi, 08 avr. 2020 04:57 - 3 réponses
Connectez-vous…
PrinceFemiAdeniyi
#1
Membre enregistré
31 messages
Popularité : +1 (1 vote)
Posté le 08 avril 2020 - 04:57
Dear All,
How can I create a control shown below in a webdev page? NB, the count is dynamic and change based on number of records.
Many tks in advance?
--
Thanks in advance
Femi
Signaler
0
0
myboy
#2
Membre enregistré
2 messages
Posté le 06 mai 2020 - 09:20
You have a complete tutorial here
https://www.wpf-tutorial.com/basic-controls/the-image-control/
https://myboyapk.fun/
Would you mind checking it out?
Signaler
0
0
renko
#3
Posté le 24 mai 2020 - 11:44
Hi,
This is actually quite easy . First there are some questions to be asked.
1 Do you want the numers be updated automatically ( without reloading the page )
So Donnot look at that example with code examples . No you have to do it with webdev and that sometimes works a bit different. But a lot is possible with just standard webdev. The last thing you want to do is to add raw code from the net.
If it is not possible in webdev look for adding react or a code library, not raw code
OK
Just add two statics to the screen and add two buttons
With the styling you canchange the buttons to hve the curves and colour
Connect to a db and retrieve the values for leads and deals and the count into the caption of the button
If you need values to be changed automatically . You can do it in several ways as well. I would go for the webdev way of so called: "server side events"
1 you have to have the page in dynamic webdev not AWB pages
Click in the description and let webdev refresh the page every 10 seconds
( this is not a timer on the client side this is a proces that runs on the server )
Maybe it is possible to do this with AWB pages as well . I donnot know . SSE in php is childly easy but then again other things ( my experiance moast things ) are easier in webdev
Signaler
0
0
PrinceFemiAdeniyi
#4
Membre enregistré
31 messages
Popularité : +1 (1 vote)
Posté le 24 mai 2020 - 20:35
Many thanks Myboy & Renko...
I ve gone through the recommended site and did learn some new things to me.
However, the WB method is very ok for me. As a matter of fact, Victoria (A WB developer) had showed me how last month. Its very similar to Renko way.
Appreciate your responses a lot.
Thank you both.
--
Thanks in advance
Femi
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte