flat assembler
Message board for the users of flat assembler.

Index > Windows > How to make a gap in menu item in resource?

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1419
Location: Toronto, Canada
AsmGuru62
In Visual Studio it is usually a TAB character.


Description:
Filesize: 13.32 KB
Viewed: 745 Time(s)

Untitled-01.png


Post 05 Jun 2020, 21:37
View user's profile Send private message Send e-mail Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 821
Location: Belarus
DimonSoft
Character code is 9. Plus <> syntax for passing comma-separated list as a single item to a macro. AFAIR.
Post 05 Jun 2020, 22:07
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17662
Location: In your JS exploiting you and your system
revolution
Code:
menuitem <'&New',9,'Ctrl+N'>, IDM_FILE_NEW    
Post 05 Jun 2020, 22:31
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1419
Location: Toronto, Canada
AsmGuru62
Awesome! All knowing!
Post 05 Jun 2020, 23:50
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17662
Location: In your JS exploiting you and your system
revolution
If your editor isn't trying to be too clever by harmonising everything or something, then you can just put in the tab character directly.

I can't post it to this board because it replaces tabs with spaces, but something like this:
Code:
menuitem '&New   Ctrl+N', IDM_FILE_NEW    
It works better if your editor will display the tab character (usually with an arrow) instead of just showing whitespace.
Post 06 Jun 2020, 03:26
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1419
Location: Toronto, Canada
AsmGuru62
I use an editor with no tabs (my IDE I coded).
I did not know you could use brackets like that: <......>.
Well, live and learn.
Post 06 Jun 2020, 15:46
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.