On Fri, 19 Oct 2012, abbat wrote: > > Hi all, > > Is it possible to have a spinbox into a gridview cell? > > Thanks
No that's not possible, AFAIK, but you can get quite close to it visually. And figuring this out is really straightforward... You know: The IDE is written in Gambas. You observe: In the control properties panel there is a GridView in which certain controls appear and assist you in editing a control's properties, like a TextBox (for .Text of TextArea), ComboBox (for .ReadOnly of TextBox), SpinBox (for .Max of SpinBox), ... You (should) conclude: It is possible and the IDE contains the code. More specifically, you will find it in the code for that property panel, which is app/src/gambas3/.src/Editor/Form/FProperty.class. Basically, you take a hidden SpinBox, move it over the GridView cell, resize it so that it perfectly covers that cell and then show it. Regards, Tobi ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user