Re: Bug in Euphoria?
- Posted by Thomas Oct 19, 2021
- 959 views
manage(Win, LeftPane, w32Edge, w32Edge, {VSplit1, 0}, w32Edge,) /* Look like a bug */ manage(Win, RightPane, {VSplit1, 0}, w32Edge, w32Edge, w32Edge) manage_now(Win)
Are you talking about the trailing comma there? There could be a default parameter value. Track down the declaration of manage() and see what parameters it takes.
You could also try adding a question mark ? after the comma, which is the explicit way of saying "please use the default value here." (Just using commas would be the "implicit" way.)
manage(Win, LeftPane, w32Edge, w32Edge, {VSplit1, 0}, w32Edge, ?)
If this is a bug, then that should kick the interpreter into saying something like "procedure 'manage()' only accepts six parameters."
Also, which versions of Win32Lib and xControls are you using and where did you get them?
-Greg
Hi Sorry it had slipped my brain to mention
xControls : version v2.0.6 Geometry.ew global procedure manage( integer pParent, integer pControl, object pX1, object pY1, object pX2, object pY2 )
Win32Lib : version 0.70 Patch#20, 13-Nov-2010