Re: Win32Lib issue with loadForm()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Greg Haberek wrote:
> > 
> > Derek,
> > 
> > I certainly like the new 'scriptable' form construct. I hope it leads to
> > easily integrated custom controls. However, I do have a slight issue. When
> > creating menus, I like to use spacers. However, it's not as easy as it could
> > be.
> > 
> > ;; example menu
> > Menu, &File
> > MenuItem, &New
> > MenuItem, &Open...
> > MenuItem, &Save
> > MenuItem, Save &As...
> > MenuItem, -    ;; problem here!
> > ;; must use this instead:
> > ;;MenuItem, caption=-
> > 
> > Simply using MenuItem,- produces a MenuItem with a caption of "45". and
> > using (-) produces a literal effect, the menu item says "(-)". I don't mind
> > using caption= but it would be nice to not have to.
> 
> That's a bug. I'll fix that now. It is meant that you can do it just by
> writing ...
> 
>    MenuItem, -
> 
> but I was also thinking, for readability sake, something like ...
> 
>   Menu, &File
>   MenuItem, &New
>   MenuItem, &Open...
>   MenuItem, &Save
>   MenuItem, Save &As...
>   MenuSpacer
>   MenuItem, Print Preview...
>   MenuItem, Print...
>   MenuSpacer
>   MenuItem, &Exit
> 
> might be nice to have.

Ok, the fix was simple. I've updated the 'Patches' section on the web site
so if you want to patch your copy now before waiting for v0.60.1, go to

  http://www.users.bigpond.com/ddparnell/euphoria/win32lib_patches.htm

then find the patch for the "one-character caption problem".
 
-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu