Re: Bug in Euphoria?

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
Thomas said...
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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu