Re: Uploaded example gui
"chris.kevany" <[email protected]>
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
Hi, Updated the upload to "owner_quickmenu_v4.zip" It fixes a small bug that caused a Gui4Cli error when the items string was longer than 200 characters. // check if there are x y arguments. // if not, the single items argument is most likely in x if $y = ''; and $item_string = ''; item_string = $x; x = ''; endif <--- if $x = -1; x = ''; endif // 'popmenu' doesn't support -1 if $y = -1; y = ''; endif // but acts as quickmenu with empty x and y ... ... ... popmenu #this menu1 $x $y // call up the menu When no x y arguments were given, popmenu got the item_string as x parameter and this caused the > 200 character error. I simply forgotten to empty x so I added the x = '' command. Chris