View previous topic :: View next topic |
Author |
Message |
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Mon Jan 07, 2002 7:26 pm Post subject: Right click popup menu - Icons and Spaces between words |
|
|
Hi,
Is there a way to add an icon next to each menu items when I do
dialog popup,File|Open|exit
for example.
The other question is if I put
dialog popup,File Open|Save as...|Close app
It doesnt seem to accept file openMENU afterwards. I have to put FileOpen for the name of the item to work.
Any ideas, thanks |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Jan 07, 2002 8:23 pm Post subject: |
|
|
Hey marty, :)
The syntax of a MENU item is case-sensitive, so if
you have "File Open" as a menu item, the label name
must be ":File OpenMENU" not "file openMENU" (the
"menu" part is not case-sensitive).
You can't have icons in MENU items in VDS3. I don't
know about VDS4 (but I doubt it).
However, you should be able to create your own popup
menu using a child dialog, and make it look pretty much
however you want (icons, etc.)...
Cheers, Mac _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Mon Jan 07, 2002 8:29 pm Post subject: |
|
|
Well thanks Mac, my mistake... |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Jan 07, 2002 10:36 pm Post subject: |
|
|
I posted a custom popup menu example in the
VDS3 Source Code section. It should work in
VDS4 too.
You could also use a bitmap for the whole child
dialog menu, and use XY coordinates for each
menu item... _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
|