Bug? Custom View

LucaMs

Expert
Licensed User
Longtime User
I am no more able to create custom views (more precisely, I would be able to do it, it's the IDE that does not love me :p).

I create a new project, create an "empty" custom view class, try to add this custom view to a (first) new layout but the CV is not available.
 

Attachments

  • FHEditText.zip
    6.9 KB · Views: 180

LucaMs

Expert
Licensed User
Longtime User
Tried a few times, now a new CV named... CV works, I can add a CV Custom View to a layout :eek:
 

klaus

Expert
Licensed User
Longtime User
I don't understand what you did?
I just loaded your project and it works as expected!

Adding in the Designer:
upload_2018-2-8_13-6-11.png


Adding in the code:
upload_2018-2-8_13-5-14.png
 

LucaMs

Expert
Licensed User
Longtime User
I don't see the "sub menu" (the list of the CVs available) of "CustomView menu item.
 

LucaMs

Expert
Licensed User
Longtime User
More info:

1) I tried to clean the project;
2) animated gif - I did what Klaus did: I downloaded my own project, I opened it and that's what I see
 

LucaMs

Expert
Licensed User
Longtime User
Found some very strange thing.

Created a new project; created a Custom view, named CV.

Right mouse button on CV in the Modules window, "File Explorer", my user folder was shown, with Documents folder selected.
Same action (right mouse...) on Main Activity, the project folder was opened.
 

LucaMs

Expert
Licensed User
Longtime User
Found some very strange thing.

Created a new project; created a Custom view, named CV.

Right mouse button on CV in the Modules window, "File Explorer", my user folder was shown, with Documents folder selected.
Same action (right mouse...) on Main Activity, the project folder was opened.
Probably this does not affect (but I think is is wrong), since downloading my own project and "right mouse.... (see the previous post) the right folder is opened (but still I cannot add the CV).
 

LucaMs

Expert
Licensed User
Longtime User
Updated .Net Framework (I don't know if I needed - forgot to check the version).
Uninstalled e reinstalled B4A; now the problem seems to be solved.

(I also changed the b4a folder name; I have always used names like: "B4A 6.0", "B4A 6.5"... "B4A 7.80" never gave me problems, except this one. Now the folder name is "B4A780").
 

Star-Dust

Expert
Licensed User
It is probably your computer that is old
 
Top