Ronak Posted November 27, 2012 Posted November 27, 2012 Hello, Can some one help me developing DbEdit with a Button at Right. I made an attempt to ceate dbEdit having a button at right, During design time I see the button but not at run time. unit UniDBEditBtnd; interface uses SysUtils, Classes, Controls, uniGUIBaseClasses, uniGUIClasses, uniEdit, uniDBEdit, uniSpeedButton; type TUniDBEditBtnd = class(TUniDBEdit) private { Private declarations } fButton: TUniSpeedButton; protected { Protected declarations } public { Public declarations } constructor Create(AOwner: TComponent);override; destructor Destroy;override; published { Published declarations } end; procedure Register; implementation procedure Register; begin RegisterComponents('Custom', [TUniDBEditBtnd]); end; { TUniDBEditBtnd } constructor TUniDBEditBtnd.Create(AOwner: TComponent); begin inherited; fButton:= TUniSpeedButton.Create(Self); fButton.Parent:= Self; fButton.Align:=alRight; fButton.width:= 20; fButton.Top:= 0; end; destructor TUniDBEditBtnd.Destroy; begin fButton.Free; inherited Destroy; end; end. Quote
Administrators Farshad Mohajeri Posted November 27, 2012 Administrators Posted November 27, 2012 In webmode TUniEdit can not be owner/parent of a TUniButton. Quote
docjones Posted November 27, 2012 Posted November 27, 2012 Use a Tunipanel for Tuniedit and Tunibutton Parent. Quote
fabiotj Posted June 13, 2019 Posted June 13, 2019 Good Morning! I'm doing converting tests from my soft to UniGui and I need a lot of UniButtonEdit + UniButtonDBEdit to replace TJvDBComboEdit and TJvComboEdit, could they help me by sending a copy of what came out in that post http://forums.unigui.com/index.php? / topic / 3532-unibuttonedit / & tab = comments # comment-54575 but is no longer available. You can send a copy to ***@gmail.com or provide a new download link. Thank you in advance for your help! Quote
Hayri ASLAN Posted June 13, 2019 Posted June 13, 2019 Hello, Can you please specify which edition and build of UniGUI are you using? Quote
fabiotj Posted June 13, 2019 Posted June 13, 2019 FMSoft_uniGUI_Complete_Professional_1.90.0.1500_Trial.exe In TUniServerModule: ExtJSVersion = 6.7.0 UniGUIVersion = 1.90.0.1500 Quote
fabiotj Posted June 14, 2019 Posted June 14, 2019 126/5000 Hello, does anyone have the component? Thanks in advance for any help, I am stuck in this stage of my conversion. Thank you! Quote
Wilton Ergon Posted June 14, 2019 Posted June 14, 2019 2 hours ago, fabiotj said: 126/5000 Olá, alguém tem o componente? Agradecemos antecipadamente por qualquer ajuda, estou preso nesta fase da minha conversão. Obrigado! esse componente está no roadmap, e so aguardar que sai um nativo. ou voce pode por enquanto usar um edit ou dbedit normal e colocar um botao do lado separadamente. vai ter o mesmo efeito. voce pode tambem substituir por uma tunidbcombobox e nao adionar itens na combobox, e usar o click do botao da combox para sua finalidade. Quote
fabiotj Posted June 14, 2019 Posted June 14, 2019 Obrigado pela dica Wilton! A questão é que tenho mais de 150 formulários com esses dois componentes, e tem código no evento OnButtonClick e no OnExit deles que terei de migrar para um botão separado, ai se tivesse um outro mesmo que pra uso temporário trocaria tudo de uma vez e depois quando saísse o nativo eu trocaria novamente, mas sem o trabalho braçal. Mas obrigado vou aguardar pra ver se alguém tem ai o componente "provisório" se não vou ter que fazer no braço mesmo como você falou. Quote
fabiotj Posted June 17, 2019 Posted June 17, 2019 Updated link - By NelZ Component Work Fine! https://mega.nz/#!f9U31ShZ!TVMUEYGOlV-7Dp7TxyNt68BtXfRW2Pt7SLTS-0JQAS0 Quote
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.