AW: Widget performance
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 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 **
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 **
RE: Listbox header OSX
Hi Miyako, Thanks for your answer. As I understand correctly the only way to get rid of the lines is by changing system appearances in OSX. Gr, Piotr Miyako wrote : "Hello, the Header of a listbox takes after the appearance of a standard menu bar. on Windows 10, the menu bar happens to be white and has no borders and so does the Header. but you can configure system appearances (themes) and that will have an effect on Headers too. as for borders on Mac, you should be able to see that the borders of the Listbox itself can be hidden, in which case the borders of the Header on the sides are also gone. the lines above and below the Header are thinner than what you can define as a line in 4D, I would assume that it originates with the system." > -Oorspronkelijk bericht- > Van: Piotr Chabot Stadhouders [mailto:p.stadhoud...@timeff.com] > Verzonden: vrijdag 25 augustus 2017 9:56 > Aan: 4d_tech@lists.4d.com > Onderwerp: Listbox header OSX > > Hi, > > 4D v16, OSX > > When I set the border line style of a listbox to none OSX still shows a line > above the header. On windows this line disappears as expected. > Does this make sense? Does anybody know how to get rid of the line above > the listbox header on OSX? > > 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 **