[Gambas-user] WebTree shows "Class name hidden by local declaration" on compiling

Safiur Rahman isafiur at gmail.com
Sun Apr 24 11:39:19 CEST 2022

Hi Benoît

When I use both collection and WebTree_Data in a webform, I get a
message "Class name hidden by local declaration: Key" on compiling.

Private sColl As Collection

Public Sub WebTree1_Data(Key As String, Column As Integer, Data As WebTreeData)

  If Column = 1 Then
    Data.Html = sColl[Key]


(Attached a project to reproduce it)

Safiur Rahman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webtree.tar.xz
Type: application/x-xz
Size: 12672 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220424/c4627978/attachment.xz>

More information about the User mailing list