Jump to content
Fivewin Brasil

COMBOBOX + Separator


Theotokos

Recommended Posts

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

 

Link to comment
Share on other sites

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 }

Link to comment
Share on other sites

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....

 

Link to comment
Share on other sites

  • 4 weeks later...

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) )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...