[Gambas-user] SpinBox into a GridView Cell
abbat
abbat.81 at ...787...
Sun Oct 21 14:19:47 CEST 2012
Ok, I'm trying to do such way.
And I have a next question.
Is there any way to know possition of GriView.Cell or row...
I need it, because my form is not static.
Thank you
Tobias Boege-2 wrote:
>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
View this message in context: http://old.nabble.com/SpinBox-into-a-GridView-Cell-tp34576830p34583265.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list