Setting default values in IDE

I’ve been trying to set the WebListBox IDE defaults to

Height = 250
Width = 200
Has Header = false
Default Row Height = 25

but only the height changes.

Is anybody else using this feature and has it working ok?

Web Project in R26 1.2

windows ll pro

chrome latest.

Thanks

I think you’re going wrong with having spaces in the property names.

It should be HasHeader and DefaultRowHeight.

1 Like

Hi Paul thanks for the response, it worked for the row height but still not with has header and width

Open an Issue with the information.
Maybe they are missing some properties.
Note: haven’t tested. I don’t have time right now. Sorry.

Only verbiage on the documentation link you posted mentions only Desktop

After restarting Xojo, when you add any new Windows to a desktop project, they will have a default width of 800 and height of 600.

Unless I missed it somewhere.

You are targeting Web correct?

I was able to test the following:

Height=283
Width=345
HasHeader=False
DefaultRowHeight=42

Height and DefaultRowHeight work correctly.
Width and HasHeader not working.

Please open an Issue so @Ricardo_Cruz can take a look and check if he can fix it or someone else needs to fix it.

raised as issue #81561

2 Likes