custom view

tremara1

Active Member
Licensed User
Longtime User
Anybody else used the custom view in the designer?..I tried it and found in my case I had some probs.....
I initially tried a date time picker library in the custom view.....then tried the calendar class via custom view but in the drop down for custom type the date time pickers were the only options even when I deselected the library. I tried adding a second custom view but the type options were the the same as the other view.
Issues........
Custom view had no context menu
Could not remove custom view
Custom Type drop down does not seem to update.
I have included the test project there is no code. Just the design.
I am using V2.71.
 

Attachments

  • custom.zip
    13.1 KB · Views: 390
Last edited:

tremara1

Active Member
Licensed User
Longtime User
Thanks...

thanks
Does that solve the no right click context menu in the abstract designer
also cannot remove custom view in the abstract designer?

Trev
 

yckhor

Member
Licensed User
Longtime User
Hi Erel,
I need help with customview. I had added it into a panel (parent) via designer. But I can't right click on the view to generate Dim declaration in code. I need to add panels (that contains label & imageview) into the list at run time. Appreciate if you could advice anything that I missed. FYI, I am on 2.7

Edit: By the way, I can't change the CustomType as the dropbox is empty.

Erel, found this http://www.b4x.com/forum/basic4andr...-custom-view-designer-support.html#post167920 but can't figure out the

Using custom views

1. Add the class or library to your project. is there a lib that I should be adding?
2. In the designer add a CustomView:

Sorry, newbie here
 
Last edited:

yckhor

Member
Licensed User
Longtime User
Hi Klaus,
Yes, I did and I had created a class module.

But, I am rethinking what I am trying to achieve here, I could be working on the wrong thing.
Please help me out, let me explain what I am trying to do. I am trying to create Google Now styled cards that contains information that I will pull from database and fill up. It is a structured data e.g. appointment that contains date & time, venue, description, participants, etc. and I need a way to retrieve details when user click on the card. I was thinking to combine scroll view with panel (card) to be added during activity_create. Should I use custom view instead? or just create an array of panels and add into scroll view and track the panels using a unique reference in Tag?

Thanks!
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…