PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WX (Windev, Webdev e Windev Mobile) Combobox com linha 1 vazia
WX (Windev, Webdev e Windev Mobile) Combobox com linha 1 vazia
Started by Boller, Apr., 01 2021 3:19 AM - No answer
Connect yourself…
Boller
#1
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on April, 01 2021 - 3:19 AM
Boa noite a todos
O nosso Amigo Ronaldo Silva queria que a combobox tivesse a primeira linha vazia
Segue solução
Deu certo
Se eu tiver um combo com preenchimento automático e usar o ListAdd(combo."") ele acrescenta mas não seta com o combo = 1.
Se eu criar uma procedure que execute uma qry para popular ai funciona.
.......
COMBO_Cores.DeleteAll()
ListAdd(COMBO_Cores,""+gLink(0))
HExecuteQuery(QRY_Lista_Cad_Cores,hQueryDefault)
FOR EACH QRY_Lista_Cad_Cores
ListAdd(COMBO_Cores,QRY_Lista_Cad_Cores.nome_cor+gLink(QRY_Lista_Cad_Cores.id_cor))
END
O que importa é que funcionou.
Muito obrigado pelo exemplo
Vídeo sobre combobox
✅
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
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