>Cetin
>
>Thanks for you suggestion.I will try it. Now could you tell meor give some tips on using command group. While using commandgroup, I failed to coded seperately for each command in a command group.And failed to add icon for individual command button.
>
>Chandan
In a commandgroup you code either in CommandGroup.Click or individual command.click (or both, if a command have click code it takes precedence over commadngroup click). ie:
do case
case this.Value = 1
case this.Value = 2
endcase
To add icons right click on commandgroup, select edit then individual button to assign picture.
Cetin