2011/5/20 j h <clangb...@yahoo.com>:
> I used to do some programing on spectrum and amiga and now want to write some 
> simple apps with gambas.My problem is i am tottaly baffled by this new type 
> of programing.  The documentation and examples do not explain the very basics 
> well enough for me at all.
> For example a simple program has a window with a Valuebox, a button and a 
> slider.   How do i program it so when i press the button the value of the 
> slider is displayed in the valuebox? If anyone can carefull explain how, not 
> just write the code, it would really help me get going!
> Thanks
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


Public Sub Button1_Click()

  ValueBox.Value = Slider1.Value

End
-- 
Fabien Bodard

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to