Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 06 Jul 2022, 13:38

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 12 May 2022, 10:14 
Offline

Joined: 13 Jul 2019, 19:08
Posts: 66
I have the code

Code:
initialization
DBUtilsEh.MakeStringRoughProcEh := RemoveAcentos;


which removes accents when searching in Grids
but this code does not work in the combobox
would there be any way to do something in TDBComboBoxEh


Top
 Profile  
 
PostPosted: 13 May 2022, 19:12 
Offline

Joined: 08 May 2014, 18:06
Posts: 537
Hello

Can you send a simple Demo project to show that the problem should be solved by extending the MakeStringRoughProcEh functionality?

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 13 May 2022, 20:40 
Offline

Joined: 13 Jul 2019, 19:08
Posts: 66
See this TdbcomboboxEh
if you type "parana" or "Interatlantico"
you won't be able to find

I have a lot of big comboboxes where it would be easier to search without accents.

Quote:
object Ed_NomeBanco: TComboBox
Left = 204
Top = 7
Width = 512
Height = 25
Style = csDropDownList
TabOrder = 6
OnChange = Ed_NomeBancoChange
OnKeyDown = Ed_NomeBancoKeyDown
Items.Strings = (
'654 Banco A.J.Renner S.A.'
'246 Banco ABC Brasil S.A.'
'025 Banco Alfa S.A.'
'641 Banco Alvorada S.A.'
'213 Banco Arbi S.A.'
'019 Banco Azteca do Brasil S.A.'
'029 Banco Banerj S.A.'
'000 Banco Bankpar S.A.'
'740 Banco Barclays S.A.'
'107 Banco BBM S.A.'
'031 Banco Beg S.A.'
'739 Banco BGN S.A.'
'096 Banco BM&F de Servi'#231'os de Liquida'#231#227'o e Cust'#243'dia S.A'
'318 Banco BMG S.A.'
'752 Banco BNP Paribas Brasil S.A.'
'248 Banco Boavista Interatl'#226'ntico S.A.'
'218 Banco Bonsucesso S.A.'
'065 Banco Bracce S.A.'
'036 Banco Bradesco BBI S.A.'
'204 Banco Bradesco Cart'#245'es S.A.'
'394 Banco Bradesco Financiamentos S.A.'
'237 Banco Bradesco S.A.'
'225 Banco Brascan S.A.'
'M15 Banco BRJ S.A.'
'208 Banco BTG Pactual S.A.'
'044 Banco BVA S.A.'
'263 Banco Cacique S.A.'
'473 Banco Caixa Geral - Brasil S.A.'
'412 Banco Capital S.A.'
'040 Banco Cargill S.A.'
'745 Banco Citibank S.A.'
'M08 Banco Citicard S.A.'
'241 Banco Cl'#225'ssico S.A.'
'M19 Banco CNH Capital S.A.'
'215 Banco Comercial e de Investimento Sudameris S.A.'
'756 Banco Cooperativo do Brasil S.A. - BANCOOB'
'748 Banco Cooperativo Sicredi S.A.'
'075 Banco CR2 S.A.'
'721 Banco Credibel S.A.'
'222 Banco Credit Agricole Brasil S.A.'
'505 Banco Credit Suisse (Brasil) S.A.'
'229 Banco Cruzeiro do Sul S.A.'
'266 Banco C'#233'dula S.A.'
'003 Banco da Amaz'#244'nia S.A.'
'083-3 Banco da China Brasil S.A.'
'M21 Banco Daimlerchrysler S.A.'
'707 Banco Daycoval S.A.'
'300 Banco de La Nacion Argentina'
'495 Banco de La Provincia de Buenos Aires'
'494 Banco de La Republica Oriental del Uruguay'
'M06 Banco de Lage Landen Brasil S.A.'
'024 Banco de Pernambuco S.A. - BANDEPE'
'456 Banco de Tokyo-Mitsubishi UFJ Brasil S.A.'
'214 Banco Dibens S.A.'
'001 Banco do Brasil S.A.'
'047 Banco do Estado de Sergipe S.A.'
'037 Banco do Estado do Par'#225' S.A.'
'039 Banco do Estado do Piau'#237' S.A. - BEP'
'041 Banco do Estado do Rio Grande do Sul S.A.'
'004 Banco do Nordeste do Brasil S.A.'
'265 Banco Fator S.A.'
'M03 Banco Fiat S.A.'
'224 Banco Fibra S.A.'
'626 Banco Ficsa S.A.'
'M18 Banco Ford S.A.'
'233 Banco GE Capital S.A.'
'734 Banco Gerdau S.A.'
'M07 Banco GMAC S.A.'
'612 Banco Guanabara S.A.'
'M22 Banco Honda S.A.'
'063 Banco Ibi S.A. Banco M'#250'ltiplo'
'M11 Banco IBM S.A.'
'604 Banco Industrial do Brasil S.A.'
'320 Banco Industrial e Comercial S.A.'
'653 Banco Indusval S.A.'
'630 Banco Intercap S.A.'
'077-9 Banco Intermedium S.A.'
'249 Banco Investcred Unibanco S.A.'
'M09 Banco Itaucred Financiamentos S.A.'
'184 Banco Ita'#250' BBA S.A.'
'479 Banco Ita'#250'Bank S.A'
'376 Banco J. P. Morgan S.A.'
'074 Banco J. Safra S.A.'
'217 Banco John Deere S.A.'
'076 Banco KDB S.A.'
'757 Banco KEB do Brasil S.A.'
'600 Banco Luso Brasileiro S.A.'
'212 Banco Matone S.A.'
'M12 Banco Maxinvest S.A.'
'389 Banco Mercantil do Brasil S.A.'
'746 Banco Modal S.A.'
'M10 Banco Moneo S.A.'
'738 Banco Morada S.A.'
'066 Banco Morgan Stanley S.A.'
'243 Banco M'#225'xima S.A.'
'045 Banco Opportunity S.A.'
'M17 Banco Ourinvest S.A.'
'623 Banco Panamericano S.A.'
'611 Banco Paulista S.A.'
'613 Banco Pec'#250'nia S.A.'
'094-2 Banco Petra S.A.'
'643 Banco Pine S.A.'
'724 Banco Porto Seguro S.A.'
'735 Banco Pottencial S.A.'
'638 Banco Prosper S.A.'
'M24 Banco PSA Finance Brasil S.A.'
'747 Banco Rabobank International Brasil S.A.'
'088-4 Banco Randon S.A.'
'356 Banco Real S.A.'
'633 Banco Rendimento S.A.'
'741 Banco Ribeir'#227'o Preto S.A.'
'M16 Banco Rodobens S.A.'
'072 Banco Rural Mais S.A.'
'453 Banco Rural S.A.'
'422 Banco Safra S.A.'
'033 Banco Santander (Brasil) S.A.'
'250 Banco Schahin S.A.'
'743 Banco Semear S.A.'
'749 Banco Simples S.A.'
'366 Banco Soci'#233't'#233' G'#233'n'#233'rale Brasil S.A.'#9'r'
'637 Banco Sofisa S.A.'
'012 Banco Standard de Investimentos S.A.'
'464 Banco Sumitomo Mitsui Brasileiro S.A.'
'082-5 Banco Top'#225'zio S.A.'
'M20 Banco Toyota do Brasil S.A.'
'M13 Banco Tricury S.A.'
'634 Banco Tri'#226'ngulo S.A.'
'M14 Banco Volkswagen S.A.'
'M23 Banco Volvo (Brasil) S.A.'
'655 Banco Votorantim S.A.'
'610 Banco VR S.A.'
'370 Banco WestLB do Brasil S.A.'
'021 BANESTES S.A. Banco do Estado do Esp'#237'rito Santo'
'719 Banif-Banco Internacional do Funchal (Brasil)S.A.'
'755 Bank of America Merrill Lynch Banco M'#250'ltiplo S.A.'
'744 BankBoston N.A.'
'073 BB Banco Popular do Brasil S.A.'
'078 BES Investimento do Brasil S.A.-Banco de Investimento'
'069 BPN Brasil Banco M'#250'ltiplo S.A.'
'070 BRB - Banco de Bras'#237'lia S.A.'
'092-2 Brickell S.A. Cr'#233'dito, financiamento e Investimento'
'104 Caixa Econ'#244'mica Federal'
'477 Citibank N.A.'
'081-7 Conc'#243'rdia Banco S.A.'

'097-3 Cooperativa Central de Cr'#233'dito Noroeste Brasileiro Ltda' +
'.'
'085-x Cooperativa Central de Cr'#233'dito Urbano-CECRED'

'099-x Cooperativa Central de Economia e Credito Mutuo das Uni' +
'creds'

'090-2 Cooperativa Central de Economia e Cr'#233'dito Mutuo das Uni' +
'creds'
'089-2 Cooperativa de Cr'#233'dito Rural da Regi'#227'o de Mogiana'
'087-6 Cooperativa Unicred Central Santa Catarina'
'098-1 Credicorol Cooperativa de Cr'#233'dito Rural'
'487 Deutsche Bank S.A. - Banco Alem'#227'o'
'751 Dresdner Bank Brasil S.A. - Banco M'#250'ltiplo'
'064 Goldman Sachs do Brasil Banco M'#250'ltiplo S.A.'
'062 Hipercard Banco M'#250'ltiplo S.A.'
'399 HSBC Bank Brasil S.A. - Banco M'#250'ltiplo'
'168 HSBC Finance (Brasil) S.A. - Banco M'#250'ltiplo'
'492 ING Bank N.V.'
'652 Ita'#250' Unibanco Holding S.A.'
'341 Ita'#250' Unibanco S.A.'
'079 JBS Banco S.A.'
'488 JPMorgan Chase Bank'
'014 Natixis Brasil S.A. Banco M'#250'ltiplo'
'753 NBC Bank Brasil S.A. - Banco M'#250'ltiplo'
'086-8 OBOE Cr'#233'dito Financiamento e Investimento S.A.'
'254 Paran'#225' Banco S.A.'
'409 UNIBANCO - Uni'#227'o de Bancos Brasileiros S.A.'
'230 Unicard Banco M'#250'ltiplo S.A.'
'091-4 Unicred Central do Rio Grande do Sul'
'084 Unicred Norte do Paran'#225
'Outro')
end


Top
 Profile  
 
PostPosted: 15 May 2022, 18:53 
Offline

Joined: 08 May 2014, 18:06
Posts: 537
Hello

TDBComboboxEh doesn't really take into account the DBUtilsEh.MakeStringRoughProcEh function when searching and filtering values in the dropped box.
We will fix this bug in the next build.

Thanks for the info.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group