Label in the Plug-In Toolbar, How?

Add-in Express™ Support Service
That's what is more important than anything else

Label in the Plug-In Toolbar, How?
 
Davide Crudo




Posts: 23
Joined: 2005-05-09
I have an Edit Box, and before it I want to add a label, like:

Server:[EDIT BOX]

I've tried to add a Read-Only Edit Box before the edit box where I want the user to write... but I cannot change it's color... is there a way I can add a label (not in the box itself)?

Thank you in advance!
Posted 14 Jun, 2005 03:57:03 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Davide,

1. Set the Style property to the adxMsoComboLabel
2. Set the Caption property to "Server:"

Posted 14 Jun, 2005 04:26:50 Top
Davide Crudo




Posts: 23
Joined: 2005-05-09
Thx a lot!!

Your components have for sure a lot of hidden properties ;)

...can the Edit Box contain a hidden input ? (like the normal edit has The PASSWORD property... so that when the user writes, only '*' will appear?
Posted 14 Jun, 2005 04:36:22 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Davide,

Your components have for sure a lot of hidden properties ;)

Hmm... I don't think there are hidden properties. What properties do you mean?

...can the Edit Box contain a hidden input ?

Unfortunately no. It is a limitation of MS Office controls, but not Add-in Express.

Posted 14 Jun, 2005 05:03:54 Top
Guest


Guest


I mean, properties that do not appear with code completition.

The hard thing for me is that not all code has a list of suggested properties I can choose from.

For instance if I write:

adxCB.Controls[4].AsDropdownList.

After the "Dot" I don't get any suggestions anymore... so I don't know what I can use (for instance I could use ITEMS...)

But I don't know if this depends from add-in or is a limit of the D2005 IDE.
Posted 14 Jun, 2005 05:26:50 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Davide,

It seems to be a "feature" of the Delphi 2005 IDE. Try to press Ctrl+Space after the dot. For instance:
adxCB.Controls[4].AsDropdownList.<Ctrl+Space>

Posted 14 Jun, 2005 06:46:37 Top
Davide Crudo




Posts: 23
Joined: 2005-05-09

You are right! with CTRL+Space I get now the suggestions...

Thx a Lot!

Dave.
Posted 14 Jun, 2005 07:16:14 Top