Link to home
Start Free TrialLog in
Avatar of Edukas
Edukas

asked on

right aligned "Help" menu?

in Delphi1 menuitem1.caption:=Char(9)+"Caption" works, but this trick do not work in Delphi3?
How I do it?
Avatar of Motaz
Motaz

Hi Edukas..
Try this :

  Open1.Caption:='                Open';
  Save1.Caption:='      Save into file';
  Exit1.Caption:='                   E&xit';

I thought it is supposed to be

menuitem1.caption:= chr(8)+ 'Caption'?

ie by adding backspace character to the menuitem text in menu resource statement

I will check out why it doesn't work, may be the windows API has changed but M$ did tell us?  
ASKER CERTIFIED SOLUTION
Avatar of erajoj
erajoj
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial