Hi,
I'm trying to put controls inside the TNxOutlookbarItem that I created but I can't do it because of the control doesn't seems to accept it... What is it wrong?
I develop under Delphi 2007 Update 3.
Thank you very much!
Wilhelm
TNxOutlookBar how to add controls to an Item
Started by yursoft, Sep 22 2007 01:11 PM
7 replies to this topic
#1
Posted 22 September 2007 - 01:11 PM
#2
Posted 22 September 2007 - 01:22 PM
Hello Wilhelm,
If you want to do this in run-time, use similar code like:
I hope that it helps,
Best regards
If you want to do this in run-time, use similar code like:
CODE
procedure TForm1.Button1Click(Sender: TObject);
var
Button1: TButton;
begin
Button1 := TButton.Create(Self);
Button1.Parent := NxOutlookBar1;
Button1.SetBounds(10, 10, 75, 23);
Button1.Caption := 'Abc';
end;
var
Button1: TButton;
begin
Button1 := TButton.Create(Self);
Button1.Parent := NxOutlookBar1;
Button1.SetBounds(10, 10, 75, 23);
Button1.Caption := 'Abc';
end;
I hope that it helps,
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 22 September 2007 - 01:25 PM
Update,
I am not sure, maybe you want to have efect similar like in MainDemo:
http://www.bergsoft....os/maindemo.zip
This is archieved with placing NxNotebook control inside NxOutlookBar and using OnSelect event to change ActivePage of NxNotebook.
Best regards
I am not sure, maybe you want to have efect similar like in MainDemo:
http://www.bergsoft....os/maindemo.zip
This is archieved with placing NxNotebook control inside NxOutlookBar and using OnSelect event to change ActivePage of NxNotebook.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 22 September 2007 - 05:29 PM
Hi Berg!! thank you for reply me fast!!
Actually, my problem is at design time when I try to drop off a component inside a TNxOutlookBarItem, because the component can't stay inside de outlookbaritem like as in a panel. Strange, nop??
Thank you very much Berg!!! By the way, I recently purchased your component!! Its really handful!!

Wilhelm
Actually, my problem is at design time when I try to drop off a component inside a TNxOutlookBarItem, because the component can't stay inside de outlookbaritem like as in a panel. Strange, nop??
Thank you very much Berg!!! By the way, I recently purchased your component!! Its really handful!!
Wilhelm
#5
Posted 22 September 2007 - 06:21 PM
Hello Wilhelm,
Unfortunatelly, this is not possible automatically because each Item is not a component itself.
If you want, I may add one new event OnResizeBar and then you will be able to adjust additional components (set Top property, or hide them) on Items.
Thank you
Best regards
Unfortunatelly, this is not possible automatically because each Item is not a component itself.
If you want, I may add one new event OnResizeBar and then you will be able to adjust additional components (set Top property, or hide them) on Items.
Thank you
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#6
Posted 22 September 2007 - 07:20 PM
Thanks!! I've just done the thing that I want! 
See U!!
See U!!
#7
Posted 22 September 2007 - 07:29 PM
Hello,
In new version there will be OnChange event added, when DisplayCount (number of Items wisible on screen) is changed.
Best regards
In new version there will be OnChange event added, when DisplayCount (number of Items wisible on screen) is changed.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#8
Posted 23 September 2007 - 04:14 PM
Thanks again!
Wilhelm
Wilhelm
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











