PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[WB23] Contol Type
[WB23] Contol Type
Started by JP, Jun., 23 2018 1:09 PM - 2 replies
Connect yourself…
JP
#1
Posted on June, 23 2018 - 1:09 PM
Hi All
WebDev 23 - Dynamic Website
I am not clear on the control type. For example, under the GUI tab for a control the control can be set to Automatic, Static, or Dynamc.The default is Automatic. What are these 3 types and when to use them?
Report
0
0
Piet van Zanten
#2
Posted on June, 23 2018 - 1:43 PM
Hi JP,
The properties of a static control cannot be modified at run-time. So if for instance you try to make a static type control invisible, nothing will happen.
If the type is automatic, Webdev wil detect the type based on your code.
This can lead to problems if Webdev cannot detect the use in code.
For instance if you use indirection: {"control_"+nIndex,indControl}..visible is true. Webdev cannot the detect the use of Control_1,Control_2 etc. this way.
In this case you will have to set the control type to dynamic yourself.
These kind of problems can be real mind-blowing if you're not familiar with this behavior.
Kind regards,
Piet
Report
0
0
JP
#3
Posted on June, 24 2018 - 1:10 PM
Hi Piet
OK, cook, thanks. Understood.
Report
0
0
→ Go back to WINDEV 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