You could create your custom dropdown menu by using one single project form and 
some code.

The dropdown will display this form. No overhead. Have a look at the type ahead 
component I published a while ago, you could adapt the concept I use there to 
build your own dropdown menu.

-----Ursprüngliche Nachricht-----
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Piotr Chabot 
Stadhouders via 4D_Tech
Gesendet: Samstag, 26. August 2017 09:11
An: 4d_tech@lists.4d.com
Cc: Piotr Chabot Stadhouders <p.stadhoud...@timeff.com>
Betreff: RE: Widget performance

Thanks Miyako and Jody,

The thing I most worry about is the performance overhead of subforms.
I would suspect a subform is "heavier" than a simple field or button for 
example.

Can someone tell me what the subform performance overhead is?
After all, when inserting 100 widget I am in fact inserting 100 subforms.

Gr,

Piotr



> -----Oorspronkelijk bericht-----
> Van: Piotr Chabot Stadhouders [mailto:p.stadhoud...@timeff.com]
> Verzonden: vrijdag 25 augustus 2017 9:40
> Aan: 4d_tech@lists.4d.com
> Onderwerp: Widget performance
> 
> Hi,
> 
> 4D v16, Windows 10
> 
> Despite all advice saying to use standard 4D objects, I am on the 
> verge of creating my own dropdown menu.
> We have a multi-platform application and want to have its own unique 
> L&F
> 
> I think I can create a dropdown as a widget, but what I am worried 
> about is performance As a test I have created a form with 100 Date 
> entry Widgets on it Opening the form compiled on a quite fast Windows 
> laptop took about 2 seconds.
> 
> I am not saying that I am going to create forms with 100 dropdowns on 
> it, but it worries me.
> Does anybody else have experience with the use of a lot of widgets on 
> a form?
> 
> Gr,
> 
> Piotr
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to