cancel
Showing results for 
Search instead for 
Did you mean: 

some info about button combo..

Former Member
0 Kudos

Hi...

See the image..

I had put a button combo ..in sales opportunies..(system form) and named   as "copy to"

and i pulled  one value into the button combo..

value as sales quotation

after if i seleted the value (sales Quaotateion), the name of the " copy to" should be renamed as sales quotateion..

yes, this is the nature of combo button..

but, my requirement...is after seleted allso ..

the name should not be cahnged...

,may i know how can i do this one...

I need your ideas...

Accepted Solutions (1)

Accepted Solutions (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Mr. Seenu,

Capture the ComboSelected event with pVal.BeforeAction = false, and the use the oButtonCombo.Caption = "my text" to re-name the caption on the button.

Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);

Item item = form.Items.Item("xx");

ButtonCombo buttoncombo = ((ButtonCombo)(item.Specific));

buttoncombo.Caption = "bla bla";

Hope it helps.

Best regards,

Pedro Magueija

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You will have to code for this so that the caption for the button combo remain same. One more thing, it also changes the form mode after selecting a particular value from the button combo,

for this you can set this property:

AffectsFormMode = false;

Thanks

Former Member
0 Kudos

Hi..Pedro

kkk.Working good..

Answers (0)