This looks like a lot of extra work for something that ControlArrays could do easily and on the designer
Anyway, tryed to adapt the Dextop article to web and I got an error when seting the controls name.
It “works” if I comment the line with the error:
Var nControl As New WebButton
'nControl.Name = cInitialName + idxNumber.ToString
But obviously on the sugested test:
ControlPressedName.Text = tControl.name
Nothing happens because the control name is blank…
Ok, looking at the docs, The name cant be changed nor the Locks with code
So, this is also not a good replacement
You can set the locks before embedding a control into the view:
c.LockLeft = True
c.LockRight = True
c.LockTop = True
c.LockBottom = True
Self.AddControl(c)
PS: The idea of this topic was to paste a link to your top priority ticket for the bug bash. I’m more than happy to help and discuss other things, but please create new threads for different topics
6 Likes
Thanks
WebControls cant have a name when created dinamically
https://tracker.xojo.com/xojoinc/xojo/-/issues/69680
1 Like
Remember to nominate it for the Bug Bash event!
My nominations aren’t being evaluated because nobody will review the Include function names ticket and that was my first nomination. Just a pinch salty about that.
5 Likes
I’ve just seen @Chay_Wesley has nominated it for you @Tim_Parnell , and it’s already in the Bug Bash list.
Thank you Chay!
4 Likes
WEB2 BUG ImageViewer Pressed event fires twice on Touch devices
https://tracker.xojo.com/xojoinc/xojo/-/issues/69766
1 Like
I found another one too
Webcombobox with AddSeparator does not work properly
https://tracker.xojo.com/xojoinc/xojo/-/issues/69765
1 Like
If anybody sees a bug that hasn’t been nominated yet, and you want to see it fixed ASAP, remember you can nominate bugs created by another person.
For example:
2 Likes
DerkJ
(DerkJ)
August 17, 2022, 9:57am
53
https://tracker.xojo.com/xojoinc/xojo/-/issues/69781
Pretty serious issue with Request headers not being parse correctly when the url ends with “?”
@Ricardo_Cruz
1 Like