Wish CustomViews on ScrollView.Panels

klaus

Expert
Licensed User
Longtime User
Hi Erel,
Currently, when loading a layout with a CustomView, compiled as a library, onto a ScrollView.Panel it raises an error.
To make it work it's necessary to have a Panel in the layout file and add the CustomView onto this Panel and then load the 'panel layout' onto the ScrollView.Panel.
Attached a small test program, the two library files are included in the Files folder.

Would it be possible to add this in the future, without the intermediate Panel ?

Best regards.
 

Attachments

  • ComboBoxLib.zip
    26.1 KB · Views: 203

klaus

Expert
Licensed User
Longtime User
The problem is 'of course' in my code.
You put me in the right direction when you asked for the code in DesignerCreateView !
In DesignerCreateView I look for the Top and Left properties of the parent object and with a ScrollView.Panel the Layout values are not available. For the moment I stay with the need to use an intermediate panel.

Anyway, below the test project where I get the error.
 

Attachments

  • ClsComboBox.zip
    17.6 KB · Views: 191
Top