PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
How to Create The Control Shown in the Image..
How to Create The Control Shown in the Image..
Started by PrinceFemiAdeniyi, Apr., 08 2020 4:57 AM - 3 replies
Connect yourself…
PrinceFemiAdeniyi
#1
Registered member
31 messages
Popularité : +1 (1 vote)
Posted on April, 08 2020 - 4:57 AM
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
Report
0
0
myboy
#2
Registered member
2 messages
Posted on May, 06 2020 - 9:20 AM
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?
Report
0
0
renko
#3
Posted on May, 24 2020 - 11:44 AM
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
Report
0
0
PrinceFemiAdeniyi
#4
Registered member
31 messages
Popularité : +1 (1 vote)
Posted on May, 24 2020 - 8:35 PM
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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text