Theotokos Posted December 19, 2022 Report Share Posted December 19, 2022 Boa Tarde!!! Tem como colocar um separator em comboBox? assim como fazemos em menu por exemplo Exemplor: A VISTA A VISTA 20% ----------------- A PRAZO 1x A PRAZO 2x A PRAZO 3X A PRAZO 4X ----------------- CARTAO DEBITO CARTAO CREDITO 1X CARTAO CREDITO 2X CARTAO CREDITO 3X CARTAO CREDITO 4X CARTAO CREDITO 5X ------------------ CHEQUE PRE DATADO Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 19, 2022 Report Share Posted December 19, 2022 Melhor um RADIOBUTTONS ou uma LISTBOX/XBROWSE() Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 19, 2022 Author Report Share Posted December 19, 2022 problema que preciso que seja campo COMBOBOX... então radiobuttons não daria certo e nem listbox... até mesmo porque não quero apenas separar as linhas, precisa separar por grupo A VISTA, A VISTA 20% (Grupo Dinheiro) Cartões.... (Grupo Cartao) etc;;; Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 19, 2022 Report Share Posted December 19, 2022 USE TREE. Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 19, 2022 Author Report Share Posted December 19, 2022 nunca usei... se puder posta um exemplo por favor.... obgdao Quote Link to comment Share on other sites More sharing options...
Marca Posted December 19, 2022 Report Share Posted December 19, 2022 Theotokos Monte o array do combo da maneira q. vc precisa e não tem q. mudar nada digo aComboBox := { A VISTA ,; A VISTA 20% ,; ----------------- ,; A PRAZO 1x ,; A PRAZO 2x ,; A PRAZO 3X ,; A PRAZO 4X ,; ----------------- ,; CARTAO DEBITO ,; CARTAO CREDITO 1X ,; CARTAO CREDITO 2X ,; CARTAO CREDITO 3X ,; CARTAO CREDITO 4X ,; CARTAO CREDITO 5X ,; ------------------,; CHEQUE PRE DATADO } Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 19, 2022 Report Share Posted December 19, 2022 Eu criaria um DIALOG com os RADIOS do mesmo jeito que o Marca fez, fica show() de bola, só perguntaria a FORMA DE PAGAMENTO? Más cada um com o seu cada um... abs Regards, saludos. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 19, 2022 Report Share Posted December 19, 2022 Eu faço assim, más dá para fazer da FORMA kokizé. kkkkkkkk https://imgur.com/nN5EOm8 Reards, saludos. Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 20, 2022 Author Report Share Posted December 20, 2022 2 horas atrás, Marca disse: Theotokos Monte o array do combo da maneira q. vc precisa e não tem q. mudar nada digo aComboBox := { A VISTA ,; A VISTA 20% ,; ----------------- ,; A PRAZO 1x ,; A PRAZO 2x ,; A PRAZO 3X ,; A PRAZO 4X ,; ----------------- ,; CARTAO DEBITO ,; CARTAO CREDITO 1X ,; CARTAO CREDITO 2X ,; CARTAO CREDITO 3X ,; CARTAO CREDITO 4X ,; CARTAO CREDITO 5X ,; ------------------,; CHEQUE PRE DATADO } VlW! Marca!!! Fiz Assim, não fica muito bonito, mas ajudou sim... pelo menos fica separado e o cliente visualiza melhor.... Quote Link to comment Share on other sites More sharing options...
crisvam Posted January 12, 2023 Report Share Posted January 12, 2023 Faça uma Matriz com as opções. Por ex.: mItem :={"A vista","A Vista 20%","---------------------","A prazo","A prazo 1X","A prazo 2X","Aprazo 3X","A Prazo 4X","-------------------------","Cartão Debito","Cartão Debito 1X"} Se For com resource ---> Redefine ComboBox oCbx Var mItem[1] ID 101 ITEMS mIte Font oFnt ON Change Alias->(DbSetOrder(oCbx:nAT) ) Theotokos 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.